1; SPIR-V 2; Version: 1.0 3; Generator: Khronos Glslang Reference Front End; 7 4; Bound: 21 5; Schema: 0 6 OpCapability Shader 7 %1 = OpExtInstImport "GLSL.std.450" 8 OpMemoryModel Logical GLSL450 9 OpEntryPoint GLCompute %main "main" 10 OpExecutionMode %main LocalSize 1 1 1 11 OpSource GLSL 450 12 OpName %main "main" 13 OpName %SSBORow "SSBORow" 14 OpMemberName %SSBORow 0 "v" 15 OpMemberName %SSBORow 1 "row_major0" 16 OpName %_ "" 17 OpMemberDecorate %SSBORow 0 Offset 0 18 OpMemberDecorate %SSBORow 1 RowMajor 19 OpMemberDecorate %SSBORow 1 Offset 16 20 OpMemberDecorate %SSBORow 1 MatrixStride 16 21 OpDecorate %SSBORow BufferBlock 22 OpDecorate %_ DescriptorSet 0 23 OpDecorate %_ Binding 0 24 %void = OpTypeVoid 25 %3 = OpTypeFunction %void 26 %float = OpTypeFloat 32 27 %v4float = OpTypeVector %float 4 28%mat4v4float = OpTypeMatrix %v4float 4 29 %SSBORow = OpTypeStruct %float %mat4v4float 30%_ptr_Uniform_SSBORow = OpTypePointer Uniform %SSBORow 31 %_ = OpVariable %_ptr_Uniform_SSBORow Uniform 32 %int = OpTypeInt 32 1 33 %int_0 = OpConstant %int 0 34 %int_1 = OpConstant %int 1 35 %uint = OpTypeInt 32 0 36 %uint_2 = OpConstant %uint 2 37%_ptr_Uniform_float = OpTypePointer Uniform %float 38%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 39 %main = OpFunction %void None %3 40 %5 = OpLabel 41 %row_ptr = OpAccessChain %_ptr_Uniform_v4float %_ %int_1 %int_1 42 %vec = OpLoad %v4float %row_ptr 43 %float_val = OpCompositeExtract %float %vec 2 44 45 %20 = OpAccessChain %_ptr_Uniform_float %_ %int_0 46 OpStore %20 %float_val 47 OpReturn 48 OpFunctionEnd 49