Fix indexing a push constant array member
authorMarcin Kańtoch <marcin.kantoch@amd.com>
Fri, 13 Sep 2019 14:42:54 +0000 (16:42 +0200)
committerMarcin Kańtoch <marcin.kantoch@amd.com>
Fri, 13 Sep 2019 15:37:26 +0000 (17:37 +0200)
commit30b013b2ba0dfd5eabd3f7a0412135a1c8be8038
treee1324a5bd1769331607d91ec89ac57c678f29288
parent99676722c2c3169c989666f15c70de4624215a45
Fix indexing a push constant array member

gl_VertexIndex is used to index a push constant array member.
Vulkan spec says: Any member of a push constant block that is
declared as an array must only be accessed with dynamically
uniform indices. But gl_VertexIndex is not dynamically uniform.

Changed the test to use dynamically uniform indexing.

Affects:
dEQP-VK.spirv_assembly.instruction.spirv1p4.entrypoint.vert_pc_entry_point

Components: Vulkan

VK-GL-CTS issue: 2000

Change-Id: I767aacfe0fde27e083f7b4a82f808cb99fb31d16
external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/entrypoint/vert_pc_entry_point.amber