Fix invocation count verification
authorJames Fitzpatrick <james.fitzpatrick@imgtec.com>
Wed, 3 Nov 2021 14:31:50 +0000 (14:31 +0000)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 5 Nov 2021 16:18:46 +0000 (16:18 +0000)
commit72cf9dc888972c4dc8ed95358f0f56c6a40e072e
tree8a8d48405d0d702e286188facf798731d8a1bce0
parent4ccaf89dcc81620b088c25229d86376a7d714503
Fix invocation count verification

The shaders in these tests track the number of invocations executed and
verify that against the expected number of invocations for the test.

The spec only guarentees that each fragment is executed at least once.
So an implementation is free to execute each fragment multiple times
if required (for example, an implementation might required a shader to
be run at sample rate).

Change this verification to only check against the minmum number of
invocations.

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

Components: Vulkan

VK-GL-CTS issue: 3278

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