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
"OpMemberDecorate %SSBO_in 0 Offset 0\n"
"OpDecorate %SSBO_in BufferBlock\n"
"OpDecorate %ssbo_in DescriptorSet 0\n"
- "OpDecorate %ssbo_in Binding 0\n";
+ "OpDecorate %ssbo_in Binding 0\n"
+ "OpDecorate %ssbo_in NonWritable\n";
const string inputDefinitionsTemplate =
"%SSBO_in = OpTypeStruct %type_float_arr_2\n"