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:28:48 +0000 (16:28 +0000)
commitbbd6e1b5cd5880327d6119fc1e15e154e224e63d
tree3e06c0b5cf1cfefca11b82dd5e502722478466b3
parentbeab02c612dd54cecd980c6396954bbb7653853a
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
(cherry picked from commit 72cf9dc888972c4dc8ed95358f0f56c6a40e072e)
external/vulkancts/modules/vulkan/fragment_ops/vktFragmentOperationsEarlyFragmentTests.cpp