Fix OpCopyObject from U32 to S32
authorAndrey Tuganov <andreyt@google.com>
Tue, 28 Nov 2017 23:28:18 +0000 (18:28 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 6 Dec 2017 13:10:27 +0000 (08:10 -0500)
commitd410e0b9152936b3f3a3f29c606aa2ce79b1007e
treea123e35e1ad3d4b17834b59c41b8a26e0138f5fd
parentb5cd0ad3079ea00f0d4b243280430a36594eaae4
Fix OpCopyObject from U32 to S32

Conversion from U32 to S32 can use neither OpCopyObject (different types),
nor OpSConvert (same bit width). Changed to OpBitcast.

Affects:

dEQP-VK.spirv_assembly.instruction.compute.indexing

Components: Vulkan

VK-GL-CTS issue: 874

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