Test constant and dynamically uniform subgroup shuffle deltas
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 26 Nov 2021 11:01:19 +0000 (12:01 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 7 Jan 2022 21:13:35 +0000 (21:13 +0000)
commit157c91d3a63843c132964a052ff3c65d75de47bd
tree5b42f6553a290a710226ce052d8db2e5be491b1a
parent64da44624514ca6cc7e6365961e70d91ddb2448e
Test constant and dynamically uniform subgroup shuffle deltas

Add new tests where the second argument to subgroupSuffleUp/Down/Xor is
not fully dynamic but also constant and dynamically uniform, in order to
trigger and test existing compiler optimizations.

In addition, this commit fixes several validation errors in many of the
subgroup tests.

New tests:
dEQP-VK.subgroups.shuffle.*_constant
dEQP-VK.subgroups.shuffle.*_dynamically_uniform

Affected tests:
dEQP-VK.subgroups.*

Components: Vulkan
VK-GL-CTS issue: 3342

Change-Id: I938624ae8b9713262c754dda0112cba0e3f37754
15 files changed:
android/cts/master/vk-master-2021-03-01/subgroups.txt
android/cts/master/vk-master/subgroups.txt
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsArithmeticTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsBallotBroadcastTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsBallotTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsBasicTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsClusteredTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsPartitionedTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsQuadTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsShuffleTests.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.cpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTestsUtils.hpp
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsVoteTests.cpp
external/vulkancts/modules/vulkan/vktTestCase.cpp
external/vulkancts/mustpass/master/vk-default/subgroups.txt