Ensure that compute shaders have a subgroup size that is uniform in command scope
authorAntto Mäkinen <antto.makinen@siru.fi>
Wed, 27 Oct 2021 08:33:35 +0000 (11:33 +0300)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Fri, 3 Dec 2021 05:03:15 +0000 (05:03 +0000)
commit9bdeac8cd1b5e1bb81ee694dfeda501802b10df0
tree9a436d9d31bc6fddc6bfbbc962f68796b03d70a7
parent7a7fea1f40e66ef5227a3ec2b7f225bf9c7c2a10
Ensure that compute shaders have a subgroup size that is uniform in command scope

If the pipeline was created with the VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT
flag the SubgroupSize may vary in the shader stage but it must be uniform with command scope.

VK-GL-CTS issue: 3036

New Tests:
dEQP-VK.subgroups.multiple_dispatches.uniform_subgroup_size

Components: Vulkan

Change-Id: I55a082af6e1b325be7b29c50d49bcb822d81c33e
AndroidGen.mk
android/cts/master/vk-master-2021-03-01/subgroups.txt
android/cts/master/vk-master/subgroups.txt
external/vulkancts/modules/vulkan/subgroups/CMakeLists.txt
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsTests.cpp
external/vulkancts/mustpass/master/vk-default/subgroups.txt