Remove multiple Offset decorations
authorAlexander Galazin <alexander.galazin@arm.com>
Tue, 18 Dec 2018 13:55:42 +0000 (14:55 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 18 Dec 2018 15:22:28 +0000 (10:22 -0500)
Fixes unintentional duplication of the Offset decoration
for the first struct member

Components: Vulkan

Affects: dEQP-VK.spirv_assembly.instruction.compute.opcopymemory.struct

Change-Id: Id13a8f15a72d7dd32d13fb52a494d57349cea289

external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp

index eb90780..0b87568 100644 (file)
@@ -2145,7 +2145,7 @@ tcu::TestCaseGroup* createOpCopyMemoryGroup (tcu::TestContext& testCtx)
                "OpName %id             \"gl_GlobalInvocationID\"\n"
 
                "OpDecorate %id BuiltIn GlobalInvocationId\n"
-               "OpMemberDecorate %buf 0 Offset 0\n"
+               //"OpMemberDecorate %buf 0 Offset 0\n"  - exists in getComputeAsmInputOutputBufferTraits
                "OpMemberDecorate %buf 1 Offset 16\n"
                "OpMemberDecorate %buf 2 Offset 32\n"
                "OpMemberDecorate %buf 3 Offset 48\n"