| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 60 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %s_block "s_block" |
| OpMemberName %s_block 0 "inner" |
| OpName %S "S" |
| OpMemberName %S 0 "a" |
| OpMemberName %S 1 "b" |
| OpMemberName %S 2 "c" |
| OpMemberName %S 3 "d" |
| OpMemberName %S 4 "e" |
| OpMemberName %S 5 "f" |
| OpMemberName %S 6 "g" |
| OpMemberName %S 7 "h" |
| OpMemberName %S 8 "i" |
| OpName %Inner "Inner" |
| OpMemberName %Inner 0 "x" |
| OpMemberName %S 9 "j" |
| OpName %s "s" |
| OpName %main "main" |
| OpDecorate %s_block Block |
| OpMemberDecorate %s_block 0 Offset 0 |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 12 |
| OpMemberDecorate %S 2 Offset 16 |
| OpMemberDecorate %S 3 Offset 28 |
| OpMemberDecorate %S 4 Offset 32 |
| OpMemberDecorate %S 5 Offset 44 |
| OpMemberDecorate %S 6 Offset 48 |
| OpMemberDecorate %S 6 ColMajor |
| OpMemberDecorate %S 6 MatrixStride 16 |
| OpMemberDecorate %S 7 Offset 80 |
| OpMemberDecorate %S 7 ColMajor |
| OpMemberDecorate %S 7 MatrixStride 8 |
| OpMemberDecorate %S 8 Offset 104 |
| OpMemberDecorate %Inner 0 Offset 0 |
| OpMemberDecorate %S 9 Offset 108 |
| OpDecorate %_arr_Inner_uint_4 ArrayStride 4 |
| 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 |
| %mat2v3float = OpTypeMatrix %v3float 2 |
| %v2float = OpTypeVector %float 2 |
| %mat3v2float = OpTypeMatrix %v2float 3 |
| %Inner = OpTypeStruct %int |
| %uint_4 = OpConstant %uint 4 |
| %_arr_Inner_uint_4 = OpTypeArray %Inner %uint_4 |
| %S = OpTypeStruct %v3int %int %v3uint %uint %v3float %float %mat2v3float %mat3v2float %Inner %_arr_Inner_uint_4 |
| %s_block = OpTypeStruct %S |
| %_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block |
| %s = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int |
| %uint_2 = OpConstant %uint 2 |
| %_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint |
| %uint_3 = OpConstant %uint 3 |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint |
| %_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float |
| %uint_5 = OpConstant %uint 5 |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float |
| %uint_6 = OpConstant %uint 6 |
| %_ptr_StorageBuffer_mat2v3float = OpTypePointer StorageBuffer %mat2v3float |
| %uint_7 = OpConstant %uint 7 |
| %_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float |
| %uint_8 = OpConstant %uint 8 |
| %_ptr_StorageBuffer_Inner = OpTypePointer StorageBuffer %Inner |
| %uint_9 = OpConstant %uint 9 |
| %_ptr_StorageBuffer__arr_Inner_uint_4 = OpTypePointer StorageBuffer %_arr_Inner_uint_4 |
| %main = OpFunction %void None %17 |
| %20 = OpLabel |
| %23 = OpAccessChain %_ptr_StorageBuffer_v3int %s %uint_0 %uint_0 |
| %24 = OpLoad %v3int %23 |
| %27 = OpAccessChain %_ptr_StorageBuffer_int %s %uint_0 %uint_1 |
| %28 = OpLoad %int %27 |
| %31 = OpAccessChain %_ptr_StorageBuffer_v3uint %s %uint_0 %uint_2 |
| %32 = OpLoad %v3uint %31 |
| %35 = OpAccessChain %_ptr_StorageBuffer_uint %s %uint_0 %uint_3 |
| %36 = OpLoad %uint %35 |
| %38 = OpAccessChain %_ptr_StorageBuffer_v3float %s %uint_0 %uint_4 |
| %39 = OpLoad %v3float %38 |
| %42 = OpAccessChain %_ptr_StorageBuffer_float %s %uint_0 %uint_5 |
| %43 = OpLoad %float %42 |
| %46 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %s %uint_0 %uint_6 |
| %47 = OpLoad %mat2v3float %46 |
| %50 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %s %uint_0 %uint_7 |
| %51 = OpLoad %mat3v2float %50 |
| %54 = OpAccessChain %_ptr_StorageBuffer_Inner %s %uint_0 %uint_8 |
| %55 = OpLoad %Inner %54 |
| %58 = OpAccessChain %_ptr_StorageBuffer__arr_Inner_uint_4 %s %uint_0 %uint_9 |
| %59 = OpLoad %_arr_Inner_uint_4 %58 |
| OpReturn |
| OpFunctionEnd |