vktSpvAsmInstructionTests: Add array strides to OpCopyMemory tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 09:38:56 +0000 (01:38 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Jan 2016 09:38:56 +0000 (01:38 -0800)
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp

index 2429709..cd17618 100644 (file)
@@ -558,6 +558,7 @@ tcu::TestCaseGroup* createOpCopyMemoryGroup (tcu::TestContext& testCtx)
                "OpName %id             \"gl_GlobalInvocationID\"\n"
 
                "OpDecorate %id BuiltIn GlobalInvocationId\n"
+               "OpDecorate %vec4arr ArrayStride 16\n"
 
                + string(s_InputOutputBufferTraits) + string(s_CommonTypes) +
 
@@ -617,6 +618,7 @@ tcu::TestCaseGroup* createOpCopyMemoryGroup (tcu::TestContext& testCtx)
                "OpName %id             \"gl_GlobalInvocationID\"\n"
 
                "OpDecorate %id BuiltIn GlobalInvocationId\n"
+               "OpDecorate %f32arr100 ArrayStride 4\n"
 
                + string(s_InputOutputBufferTraits) + string(s_CommonTypes) +