X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=external%2Fvulkancts%2Fmodules%2Fvulkan%2Fspirv_assembly%2FvktSpvAsmInstructionTests.cpp;h=4a51a461307a4d66db4b6e9a7c0c520e74c841bc;hb=41062fca347a87cd66baf3288052ed823dd7603e;hp=dc6f16d7e98666ec3eaeb77ff0fd644efb120a00;hpb=65b5f9fa73907278d436e1b9db60de21f6ec5b74;p=platform%2Fupstream%2FVK-GL-CTS.git diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp index dc6f16d..4a51a46 100644 --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp @@ -8654,6 +8654,7 @@ const string specializeInBoundsShaderTemplate (const NumberType type, const Asse "%zero = OpConstant %u32 0\n" "%main = OpFunction %void None %voidf\n" "%label = OpLabel\n" + "%struct_v = OpVariable %struct_p Function\n" "%idval = OpLoad %uvec3 %id\n" "%x = OpCompositeExtract %u32 %idval 0\n" // Create the input/output type @@ -8668,7 +8669,6 @@ const string specializeInBoundsShaderTemplate (const NumberType type, const Asse // Insert the value "%comp_obj = OpCompositeInsert %struct_t %inval %struct ${insertIndexes}\n" // Store the object - "%struct_v = OpVariable %struct_p Function\n" " OpStore %struct_v %comp_obj\n" // Get deepest possible composite pointer "%inner_ptr = OpInBoundsAccessChain %composite_p %struct_v${accessChainIndexes}\n"