Fix subgroup shuffle tests to do testing
authorGraeme Leese <gleese@broadcom.com>
Thu, 29 Nov 2018 18:22:33 +0000 (18:22 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 12 Dec 2018 16:35:19 +0000 (11:35 -0500)
commit0945eb383a9bef6dbe67b2f349808c404771384c
tree6b2ae8d5730e9f57dca7a42f66b940468d5cc5c5
parent89400f26da37f864f909a060414daa7970f46801
Fix subgroup shuffle tests to do testing

Modify the subgroup shuffle tests to modify the indices so that they're
in range, rather than just rejecting all the values that were out of
range. In my testing of the old method, every test was skipped so the
tests always passed.

Components: Vulkan
VK-GL-CTS issue: 1490
Affects: dEQP-VK.subgroups.shuffle.*

Change-Id: I51d4511aef60c37f39c634be9dbeaff9aca4717e
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsShuffleTests.cpp