Fixed double type declarations and invalid OpUConvert usage.
authorAri Suonpaa <ari.suonpaa@siru.fi>
Fri, 13 Oct 2017 11:59:43 +0000 (14:59 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 8 Nov 2017 08:47:52 +0000 (03:47 -0500)
commit99a8a98164bccb3cc6427ea8548acc9e52e2fdc9
treeaaa10cb47e38c45cf1ea80a1782eb88bad99fb34
parentca85fdbae6b9cbf7bfa0c4be24c8de7faa8007dd
Fixed double type declarations and invalid OpUConvert usage.

Fixed access chain indexing test by removing double declarations
of the same integer type. Also replaced OpUConvert instruction
with OpCopyObject when the conversion would result into the
same bit width as the original.

Affects: dEQP-VK.spirv_assembly.instruction.*.indexing.*

VK-GL-CTS issue: 702

Change-Id: I91a9de22976b109ae988391d5cb7e4388bda4adf
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmIndexingTests.cpp