Place OpVariable at the beginning of the block
authorAlexander Galazin <alexander.galazin@arm.com>
Mon, 15 Oct 2018 10:21:02 +0000 (12:21 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Tue, 16 Oct 2018 10:33:48 +0000 (12:33 +0200)
commit85d8d86258ff6dcb99964ca4584057c31796829d
tree0580f963c7f1022c3ece4aa678bb0126df3423b6
parenta4b3d09ad5a0122af1256c8096cb637cf5487871
Place OpVariable at the beginning of the block

SPIR-V requires that all OpVariable instructions in a function
must be in the first block in the function.

VK-GL-CTS issue: 1382

Components: Vulkan

Affects:
dEQP-VK.spirv_assembly.instruction.*.float16.*
dEQP-VK.spirv_assembly.instruction.*.float_controls.*

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