Fix uniform subgroup size test
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 8 Feb 2022 15:20:26 +0000 (16:20 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 17 Feb 2022 22:17:04 +0000 (22:17 +0000)
commit828c3fcbb780291801dfd9604740f9948f2a7d75
tree928c6448a9df256296249da5a9bb9a916eff12c0
parenta573d1592a1a8f2a861a293aede2c46e3090fa59
Fix uniform subgroup size test

The uniform subgroup size test was requiring the subgroup size to be
uniform across several vkCmdDispatch calls, which is not required by the
spec. Furthermore, both dispatch calls were using different local sizes
in the shader.

In addition, these changes add a missing barrier from compute to host.

Components: Vulkan
VK-GL-CTS issue: 3505

Affected tests:
dEQP-VK.subgroups.multiple_dispatches.uniform_subgroup_size

Change-Id: Icea2479da1793f0b24f6fb8a4dd60d477ef8a775
external/vulkancts/modules/vulkan/subgroups/vktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp