Fix resource buffers used for the Op?Convert graphics tests
authorPiers Daniell <pdaniell@nvidia.com>
Fri, 6 Apr 2018 17:16:47 +0000 (11:16 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 11 Apr 2018 08:46:42 +0000 (04:46 -0400)
commit675b1b064d93ccaed20cfb192be14a1c63ce1700
tree7a5cb235409b4e6008517479fc7583af2291f2aa
parent031d4716b57542ddc377cda4faa73074e67d9036
Fix resource buffers used for the Op?Convert graphics tests

I didn't catch this when reviewing CL 2240. The "graphics"
variants of the OpUConvert/OpSConvert/OpFConvert tests are
writing the shader results to a UBO instead of an SSBO. UBOs
are read-only and writing to one has undefined results.

This CL simply changes the resources to use SSBOs rather than
UBOs, which follows the same template of most of the other
dEQP-VK.spirv_assembly.instruction.graphics.* tests.

Affects:

dEQP-VK.spirv_assembly.instruction.graphics.sconvert.*
dEQP-VK.spirv_assembly.instruction.graphics.uconvert.*
dEQP-VK.spirv_assembly.instruction.graphics.fconvert.*

Change-Id: Iab4014e6ca5e1482f74ff6d8bec7f04793b0e69d
Components: Vulkan
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp