mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-08 01:00:11 +00:00
vk: Avoid query log spam if no program is loaded
This commit is contained in:
parent
92f821aeb1
commit
b327e329d6
1 changed files with 3 additions and 2 deletions
|
@ -2322,9 +2322,10 @@ void VKGSRender::begin_conditional_rendering(const std::vector<rsx::reports::occ
|
||||||
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, dst_stage,
|
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, dst_stage,
|
||||||
VK_ACCESS_SHADER_WRITE_BIT, dst_access);
|
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);
|
rsx::thread::begin_conditional_rendering(sources);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue