1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-02-01 04:51:49 +01:00

vk: Avoid query log spam if no program is loaded

This commit is contained in:
kd-11 2020-03-31 19:31:51 +03:00 committed by kd-11
parent 92f821aeb1
commit b327e329d6

View File

@ -2322,9 +2322,10 @@ void VKGSRender::begin_conditional_rendering(const std::vector<rsx::reports::occ
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, dst_stage,
VK_ACCESS_SHADER_WRITE_BIT, dst_access);
}
else
else if (m_program)
{
rsx_log.error("Dubious query data pushed to cond render!, Please report to developers(q.pending=%d)", sources.front()->pending);
// This can sometimes happen when shaders are compiling, only log if there is a program hit
rsx_log.warning("Dubious query data pushed to cond render!, Please report to developers(q.pending=%d)", sources.front()->pending);
}
rsx::thread::begin_conditional_rendering(sources);