Fix validation failure in float_controls
authorPiotr Byszewski <piotr.byszewski@mobica.com>
Thu, 17 Jan 2019 12:37:07 +0000 (13:37 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 18 Jan 2019 08:52:52 +0000 (03:52 -0500)
commit53cfa7b2eceac6b386e4ca5aa36b992c533f37c5
tree652a79888c246241e0d8db811e4b94f2b8e31199
parent00869a5bc141e758808dab6cd81789f7093a610b
Fix validation failure in float_controls

Half of float_controls tests read operation arguments from
SSBO (other half generates them in the code). Whent vertex
stage is tested this SSBO must be decorated as NonWritable.
This change resolves this issue by applying NonWritable
decoration to input SSBO for all tested stages.
Operation output is always saved in fragment stage and to
separate SSBO.

Components: Vulkan

VK-GL-CTS issue: 1543

Affects:
dEQP-VK.spirv_assembly.instruction.compute.float_controls.*
dEQP-VK.spirv_assembly.instruction.graphics.float_controls.*

Change-Id: Iaed891d7b45b2a5f02ce1443dc13a40e24fa2086
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp