| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 85 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %s_block_std140 "s_block_std140" |
| OpMemberName %s_block_std140 0 "inner" |
| OpName %S_std140 "S_std140" |
| OpMemberName %S_std140 0 "a" |
| OpMemberName %S_std140 1 "b" |
| OpMemberName %S_std140 2 "c" |
| OpMemberName %S_std140 3 "d" |
| OpMemberName %S_std140 4 "e" |
| OpMemberName %S_std140 5 "f" |
| OpMemberName %S_std140 6 "g" |
| OpMemberName %S_std140 7 "h" |
| OpMemberName %S_std140 8 "i" |
| OpMemberName %S_std140 9 "j_0" |
| OpMemberName %S_std140 10 "j_1" |
| OpMemberName %S_std140 11 "j_2" |
| OpMemberName %S_std140 12 "k" |
| OpName %Inner "Inner" |
| OpMemberName %Inner 0 "x" |
| OpMemberName %S_std140 13 "l" |
| OpName %s "s" |
| OpName %load_s_inner_j "load_s_inner_j" |
| OpName %main "main" |
| OpDecorate %s_block_std140 Block |
| OpMemberDecorate %s_block_std140 0 Offset 0 |
| OpMemberDecorate %S_std140 0 Offset 0 |
| OpMemberDecorate %S_std140 1 Offset 12 |
| OpMemberDecorate %S_std140 2 Offset 16 |
| OpMemberDecorate %S_std140 3 Offset 28 |
| OpMemberDecorate %S_std140 4 Offset 32 |
| OpMemberDecorate %S_std140 5 Offset 44 |
| OpMemberDecorate %S_std140 6 Offset 48 |
| OpMemberDecorate %S_std140 7 Offset 56 |
| OpMemberDecorate %S_std140 8 Offset 64 |
| OpMemberDecorate %S_std140 8 ColMajor |
| OpMemberDecorate %S_std140 8 MatrixStride 16 |
| OpMemberDecorate %S_std140 9 Offset 96 |
| OpMemberDecorate %S_std140 10 Offset 104 |
| OpMemberDecorate %S_std140 11 Offset 112 |
| OpMemberDecorate %S_std140 12 Offset 128 |
| OpMemberDecorate %Inner 0 Offset 0 |
| OpMemberDecorate %S_std140 13 Offset 144 |
| OpDecorate %_arr_Inner_uint_4 ArrayStride 16 |
| OpDecorate %s NonWritable |
| OpDecorate %s Binding 0 |
| OpDecorate %s DescriptorSet 0 |
| %int = OpTypeInt 32 1 |
| %v3int = OpTypeVector %int 3 |
| %uint = OpTypeInt 32 0 |
| %v3uint = OpTypeVector %uint 3 |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %v2int = OpTypeVector %int 2 |
| %mat2v3float = OpTypeMatrix %v3float 2 |
| %v2float = OpTypeVector %float 2 |
| %Inner = OpTypeStruct %int |
| %uint_4 = OpConstant %uint 4 |
| %_arr_Inner_uint_4 = OpTypeArray %Inner %uint_4 |
| %S_std140 = OpTypeStruct %v3int %int %v3uint %uint %v3float %float %v2int %v2int %mat2v3float %v2float %v2float %v2float %Inner %_arr_Inner_uint_4 |
| %s_block_std140 = OpTypeStruct %S_std140 |
| %_ptr_Uniform_s_block_std140 = OpTypePointer Uniform %s_block_std140 |
| %s = OpVariable %_ptr_Uniform_s_block_std140 Uniform |
| %mat3v2float = OpTypeMatrix %v2float 3 |
| %17 = OpTypeFunction %mat3v2float |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_Uniform_S_std140 = OpTypePointer Uniform %S_std140 |
| %uint_9 = OpConstant %uint 9 |
| %_ptr_Uniform_v2float = OpTypePointer Uniform %v2float |
| %uint_10 = OpConstant %uint 10 |
| %uint_11 = OpConstant %uint 11 |
| %void = OpTypeVoid |
| %39 = OpTypeFunction %void |
| %_ptr_Uniform_v3int = OpTypePointer Uniform %v3int |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_Uniform_int = OpTypePointer Uniform %int |
| %uint_2 = OpConstant %uint 2 |
| %_ptr_Uniform_v3uint = OpTypePointer Uniform %v3uint |
| %uint_3 = OpConstant %uint 3 |
| %_ptr_Uniform_uint = OpTypePointer Uniform %uint |
| %_ptr_Uniform_v3float = OpTypePointer Uniform %v3float |
| %uint_5 = OpConstant %uint 5 |
| %_ptr_Uniform_float = OpTypePointer Uniform %float |
| %uint_6 = OpConstant %uint 6 |
| %_ptr_Uniform_v2int = OpTypePointer Uniform %v2int |
| %uint_7 = OpConstant %uint 7 |
| %uint_8 = OpConstant %uint 8 |
| %_ptr_Uniform_mat2v3float = OpTypePointer Uniform %mat2v3float |
| %uint_12 = OpConstant %uint 12 |
| %_ptr_Uniform_Inner = OpTypePointer Uniform %Inner |
| %uint_13 = OpConstant %uint 13 |
| %_ptr_Uniform__arr_Inner_uint_4 = OpTypePointer Uniform %_arr_Inner_uint_4 |
| %load_s_inner_j = OpFunction %mat3v2float None %17 |
| %20 = OpLabel |
| %24 = OpAccessChain %_ptr_Uniform_S_std140 %s %uint_0 |
| %28 = OpAccessChain %_ptr_Uniform_v2float %24 %uint_9 |
| %29 = OpLoad %v2float %28 |
| %32 = OpAccessChain %_ptr_Uniform_v2float %24 %uint_10 |
| %33 = OpLoad %v2float %32 |
| %36 = OpAccessChain %_ptr_Uniform_v2float %24 %uint_11 |
| %37 = OpLoad %v2float %36 |
| %38 = OpCompositeConstruct %mat3v2float %29 %33 %37 |
| OpReturnValue %38 |
| OpFunctionEnd |
| %main = OpFunction %void None %39 |
| %42 = OpLabel |
| %44 = OpAccessChain %_ptr_Uniform_v3int %s %uint_0 %uint_0 |
| %45 = OpLoad %v3int %44 |
| %48 = OpAccessChain %_ptr_Uniform_int %s %uint_0 %uint_1 |
| %49 = OpLoad %int %48 |
| %52 = OpAccessChain %_ptr_Uniform_v3uint %s %uint_0 %uint_2 |
| %53 = OpLoad %v3uint %52 |
| %56 = OpAccessChain %_ptr_Uniform_uint %s %uint_0 %uint_3 |
| %57 = OpLoad %uint %56 |
| %59 = OpAccessChain %_ptr_Uniform_v3float %s %uint_0 %uint_4 |
| %60 = OpLoad %v3float %59 |
| %63 = OpAccessChain %_ptr_Uniform_float %s %uint_0 %uint_5 |
| %64 = OpLoad %float %63 |
| %67 = OpAccessChain %_ptr_Uniform_v2int %s %uint_0 %uint_6 |
| %68 = OpLoad %v2int %67 |
| %70 = OpAccessChain %_ptr_Uniform_v2int %s %uint_0 %uint_7 |
| %71 = OpLoad %v2int %70 |
| %74 = OpAccessChain %_ptr_Uniform_mat2v3float %s %uint_0 %uint_8 |
| %75 = OpLoad %mat2v3float %74 |
| %76 = OpFunctionCall %mat3v2float %load_s_inner_j |
| %79 = OpAccessChain %_ptr_Uniform_Inner %s %uint_0 %uint_12 |
| %80 = OpLoad %Inner %79 |
| %83 = OpAccessChain %_ptr_Uniform__arr_Inner_uint_4 %s %uint_0 %uint_13 |
| %84 = OpLoad %_arr_Inner_uint_4 %83 |
| OpReturn |
| OpFunctionEnd |