| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 28 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %Uniforms 0 "i" |
| OpMemberName %Uniforms 1 "j" |
| OpName %Uniforms "Uniforms" |
| OpMemberName %tint_symbol_1 0 "tint_symbol" |
| OpName %tint_symbol_1 "tint_symbol_1" |
| OpName %m1 "m1" |
| OpName %main "main" |
| OpMemberDecorate %Uniforms 0 Offset 0 |
| OpMemberDecorate %Uniforms 1 Offset 4 |
| OpMemberDecorate %tint_symbol_1 0 Offset 0 |
| OpDecorate %tint_symbol_1 Block |
| OpDecorate %1 DescriptorSet 1 |
| OpDecorate %1 Binding 4 |
| OpDecorate %1 NonWritable |
| %uint = OpTypeInt 32 0 |
| %Uniforms = OpTypeStruct %uint %uint |
| %tint_symbol_1 = OpTypeStruct %Uniforms |
| %_ptr_Uniform_tint_symbol_1 = OpTypePointer Uniform %tint_symbol_1 |
| %1 = OpVariable %_ptr_Uniform_tint_symbol_1 Uniform |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %mat2v4float = OpTypeMatrix %v4float 2 |
| %_ptr_Private_mat2v4float = OpTypePointer Private %mat2v4float |
| %11 = OpConstantNull %mat2v4float |
| %m1 = OpVariable %_ptr_Private_mat2v4float Private %11 |
| %void = OpTypeVoid |
| %14 = OpTypeFunction %void |
| %_ptr_Uniform_uint = OpTypePointer Uniform %uint |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_Private_v4float = OpTypePointer Private %v4float |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_Private_float = OpTypePointer Private %float |
| %float_1 = OpConstant %float 1 |
| %main = OpFunction %void None %14 |
| %15 = OpLabel |
| %16 = OpAccessChain %_ptr_Uniform_uint %1 %uint_0 %uint_0 |
| %19 = OpLoad %uint %16 None |
| %20 = OpAccessChain %_ptr_Private_v4float %m1 %19 |
| %22 = OpAccessChain %_ptr_Uniform_uint %1 %uint_0 %uint_1 |
| %24 = OpLoad %uint %22 None |
| %25 = OpAccessChain %_ptr_Private_float %20 %24 |
| OpStore %25 %float_1 None |
| OpReturn |
| OpFunctionEnd |