Select SPIR-V for the robustness' compute shaders
authorTony Zlatinski <tzlatinski@nvidia.com>
Tue, 1 Dec 2020 23:54:21 +0000 (17:54 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 7 Dec 2020 13:43:11 +0000 (08:43 -0500)
commit9f0afc24c74fa608e1993f7ec342053949f152d8
treeb4baedfdf20b9cd8422e7a0c3306c2404d7e20e0
parent0f25191c03f324762437615d961bad978b9d5e15
Select SPIR-V for the robustness' compute shaders

Use SPIR-V v1.3 instead of SPIR-V v1.4 ShaderBuildOptions
for the compute shaders of the robustness tests using 64-bit formats.
Apparently, SPIR-V v1.4 is not required for those shaders.
Otherwise, the SPIR-V validation fails on Vulkan v1.1 devices
such as Android.
For tests that do not require/test 64-bit formats,
fall back to using SPIR-V v1.0.

Components: Vulkan

VK-GL-CTS issue: 2679

Affects:
dEQP-VK.robustness.*.comp

Change-Id: I6054682e7dbc4460595a8264338a04ee36f9e3d1
external/vulkancts/modules/vulkan/robustness/vktRobustnessExtsTests.cpp