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 16:00:40 +0000 (11:00 -0500)
commitf8ace5ee5d212b5de84e778bbb5c693c5bb826bb
treef29b311d8227c02eab9dd72b00856aac3feab780
parentda8680744328ce5dc061d8047acf4f1a28587559
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
(cherry picked from commit 9f0afc24c74fa608e1993f7ec342053949f152d8)
external/vulkancts/modules/vulkan/robustness/vktRobustnessExtsTests.cpp