Verify results in ballot bitcount tests
authorGraeme Leese <gleese@broadcom.com>
Fri, 17 Jan 2020 12:06:15 +0000 (12:06 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 9 Mar 2020 11:23:01 +0000 (07:23 -0400)
commitd0002627f85d06c2ee7a2ebb63e0f840632f98f7
tree8cb53f0b3f6af28e7e70466a11c8488b74253b4f
parent2e2bd4625148e6e494f4460eb1cfd789c57b02f9
Verify results in ballot bitcount tests

The old code only checked whether or not the results of these operations
were zero. The non-zero results were never checked for correctness. Add
checks that these results are actually correct.

Components: Vulkan
VK-GL-CTS issue: 2192
Affects: dEQP-VK.subgroups.ballot_other.*bitcount*

Change-Id: Icec4f558f556bc126b95bd925455620c5d8815f7
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsBallotOtherTests.cpp