Allow sample counting after multisample coverage
authorSÅ‚awomir Cygan <slawomir.cygan@intel.com>
Fri, 17 Jun 2022 13:41:40 +0000 (15:41 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 7 Jul 2022 20:21:46 +0000 (20:21 +0000)
commite6b0d698b28bfaed649279c84848c1e77f07a98b
treea1b97b82ba88fa6073aec71228a742e10e23a1e3
parent738f0d881ffb6d28b2110a39041fed002164aa74
Allow sample counting after multisample coverage

Vulkan specification was modified to allow counting samples
after mutlisample coverage and fragment shading.

The test uses a fragment shader that kills all pixels with
"gl_SampleMask[0] = 0x0" and than verifies the occlusion query results.

This change allows for 0 samples to be counted by a query in case
of `early_fragment_tests` mode being used. The QualityWarning is emitted
in this case.

Components: Vulkan

Vulkan Issue: 3085
VK-GL-CTS Issue: 3778

Affects: dEQP-VK.fragment_operations.early_fragment.sample_*

Change-Id: I86cf17b2d8849a9d543e8447569ac808928c30e6
external/vulkancts/modules/vulkan/fragment_ops/vktFragmentOperationsEarlyFragmentTests.cpp