Fix variable declaring location in SPIR-V assembly.
authorLei Zhang <antiagainst@google.com>
Wed, 30 Nov 2016 23:10:36 +0000 (18:10 -0500)
committerPyry Haulos <phaulos@google.com>
Fri, 2 Dec 2016 18:57:47 +0000 (13:57 -0500)
commit587fa4457b452d234e9d5a534a52a52ab687d8d7
treebb14155513fe1731ed3273a0c5808c97d5d4016f
parent46abca75bab000788fcc6289adfd3e668203d20f
Fix variable declaring location in SPIR-V assembly.

The spec validation rules require that all OpVariable instructions
in a function must be as the first instructions in the first block.

Change-Id: If054bd7882eaf5ffc00899fbdef9a9b71d544019
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp