turnip: 3d copy/clear/... ops should not be counted by occlusion query
r3d_ops
could be used by clear/copy/blit/gmem-store/resolve and therefor they are being counted by occlusion query.
Which per spec is incorrect - only Draw
commands should be counted towards occlusion query.
- There are no tests for this in VK CTS.
- Blob doesn't comply with the spec here.
Since there could be only one active occlusion query at a time and since secondary command buffer knows whether occlusion query could be active - we could implement pause and resume of occlusion query.
Failing tests in GL CTS with Zink:
dEQP-GLES3.functional.occlusion_query.depth_clear
dEQP-GLES3.functional.occlusion_query.depth_clear_stencil_clear
dEQP-GLES3.functional.occlusion_query.scissor_depth_clear_stencil_clear
dEQP-GLES3.functional.occlusion_query.scissor_stencil_clear
dEQP-GLES3.functional.occlusion_query.stencil_clear