| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 25 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %f "f" |
| OpMemberName %S 0 "m" |
| OpMemberName %S 1 "n" |
| OpName %S "S" |
| OpName %a "a" |
| OpName %unused_entry_point "unused_entry_point" |
| OpMemberDecorate %S 0 Offset 0 |
| OpMemberDecorate %S 1 Offset 16 |
| OpMemberDecorate %S 1 ColMajor |
| OpMemberDecorate %S 1 MatrixStride 16 |
| %float = OpTypeFloat 32 |
| %3 = OpTypeFunction %float |
| %int = OpTypeInt 32 1 |
| %v4float = OpTypeVector %float 4 |
| %mat4v4float = OpTypeMatrix %v4float 4 |
| %S = OpTypeStruct %int %mat4v4float |
| %_ptr_Function_S = OpTypePointer Function %S |
| %11 = OpConstantNull %S |
| %_ptr_Function_v4float = OpTypePointer Function %v4float |
| %uint = OpTypeInt 32 0 |
| %uint_1 = OpConstant %uint 1 |
| %int_2 = OpConstant %int 2 |
| %_ptr_Function_float = OpTypePointer Function %float |
| %int_1 = OpConstant %int 1 |
| %void = OpTypeVoid |
| %23 = OpTypeFunction %void |
| %f = OpFunction %float None %3 |
| %4 = OpLabel |
| %a = OpVariable %_ptr_Function_S Function |
| OpStore %a %11 |
| %12 = OpAccessChain %_ptr_Function_v4float %a %uint_1 %int_2 |
| %17 = OpAccessChain %_ptr_Function_float %12 %int_1 |
| %20 = OpLoad %float %17 None |
| OpReturnValue %20 |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %23 |
| %24 = OpLabel |
| OpReturn |
| OpFunctionEnd |