| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 379 |
| ; Schema: 0 |
| OpCapability Shader |
| %46 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" %main_local_invocation_index_Input |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %Inner_tint_explicit_layout 0 "scalar_f32" |
| OpMemberName %Inner_tint_explicit_layout 1 "scalar_i32" |
| OpMemberName %Inner_tint_explicit_layout 2 "scalar_u32" |
| OpMemberName %Inner_tint_explicit_layout 3 "vec2_f32" |
| OpMemberName %Inner_tint_explicit_layout 4 "vec2_i32" |
| OpMemberName %Inner_tint_explicit_layout 5 "vec2_u32" |
| OpMemberName %Inner_tint_explicit_layout 6 "vec3_f32" |
| OpMemberName %Inner_tint_explicit_layout 7 "vec3_i32" |
| OpMemberName %Inner_tint_explicit_layout 8 "vec3_u32" |
| OpMemberName %Inner_tint_explicit_layout 9 "vec4_f32" |
| OpMemberName %Inner_tint_explicit_layout 10 "vec4_i32" |
| OpMemberName %Inner_tint_explicit_layout 11 "vec4_u32" |
| OpMemberName %Inner_tint_explicit_layout 12 "mat2x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 13 "mat2x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 14 "mat2x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 15 "mat3x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 16 "mat3x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 17 "mat3x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 18 "mat4x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 19 "mat4x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 20 "mat4x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 21 "arr2_vec3_f32" |
| OpName %Inner_tint_explicit_layout "Inner_tint_explicit_layout" |
| OpMemberName %S_tint_explicit_layout 0 "arr" |
| OpName %S_tint_explicit_layout "S_tint_explicit_layout" |
| OpName %sb "sb" |
| OpMemberName %s_block 0 "inner" |
| OpName %s_block "s_block" |
| OpName %main_local_invocation_index_Input "main_local_invocation_index_Input" |
| OpName %main_inner "main_inner" |
| OpName %idx "idx" |
| OpName %scalar_f32 "scalar_f32" |
| OpName %scalar_i32 "scalar_i32" |
| OpName %scalar_u32 "scalar_u32" |
| OpName %vec2_f32 "vec2_f32" |
| OpName %vec2_i32 "vec2_i32" |
| OpName %vec2_u32 "vec2_u32" |
| OpName %vec3_f32 "vec3_f32" |
| OpName %vec3_i32 "vec3_i32" |
| OpName %vec3_u32 "vec3_u32" |
| OpName %vec4_f32 "vec4_f32" |
| OpName %vec4_i32 "vec4_i32" |
| OpName %vec4_u32 "vec4_u32" |
| OpName %mat2x2_f32 "mat2x2_f32" |
| OpName %mat2x3_f32 "mat2x3_f32" |
| OpName %mat2x4_f32 "mat2x4_f32" |
| OpName %mat3x2_f32 "mat3x2_f32" |
| OpName %mat3x3_f32 "mat3x3_f32" |
| OpName %mat3x4_f32 "mat3x4_f32" |
| OpName %mat4x2_f32 "mat4x2_f32" |
| OpName %mat4x3_f32 "mat4x3_f32" |
| OpName %mat4x4_f32 "mat4x4_f32" |
| OpName %arr2_vec3_f32 "arr2_vec3_f32" |
| OpName %tint_f32_to_i32 "tint_f32_to_i32" |
| OpName %value "value" |
| OpName %main "main" |
| OpName %tint_convert_explicit_layout "tint_convert_explicit_layout" |
| OpName %tint_source "tint_source" |
| OpMemberDecorate %Inner_tint_explicit_layout 0 Offset 0 |
| OpMemberDecorate %Inner_tint_explicit_layout 1 Offset 4 |
| OpMemberDecorate %Inner_tint_explicit_layout 2 Offset 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 3 Offset 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 4 Offset 24 |
| OpMemberDecorate %Inner_tint_explicit_layout 5 Offset 32 |
| OpMemberDecorate %Inner_tint_explicit_layout 6 Offset 48 |
| OpMemberDecorate %Inner_tint_explicit_layout 7 Offset 64 |
| OpMemberDecorate %Inner_tint_explicit_layout 8 Offset 80 |
| OpMemberDecorate %Inner_tint_explicit_layout 9 Offset 96 |
| OpMemberDecorate %Inner_tint_explicit_layout 10 Offset 112 |
| OpMemberDecorate %Inner_tint_explicit_layout 11 Offset 128 |
| OpMemberDecorate %Inner_tint_explicit_layout 12 Offset 144 |
| OpMemberDecorate %Inner_tint_explicit_layout 12 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 12 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 13 Offset 160 |
| OpMemberDecorate %Inner_tint_explicit_layout 13 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 13 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 14 Offset 192 |
| OpMemberDecorate %Inner_tint_explicit_layout 14 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 14 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 15 Offset 224 |
| OpMemberDecorate %Inner_tint_explicit_layout 15 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 15 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 16 Offset 256 |
| OpMemberDecorate %Inner_tint_explicit_layout 16 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 16 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 17 Offset 304 |
| OpMemberDecorate %Inner_tint_explicit_layout 17 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 17 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 18 Offset 352 |
| OpMemberDecorate %Inner_tint_explicit_layout 18 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 18 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 19 Offset 384 |
| OpMemberDecorate %Inner_tint_explicit_layout 19 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 19 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 20 Offset 448 |
| OpMemberDecorate %Inner_tint_explicit_layout 20 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 20 MatrixStride 16 |
| OpDecorate %_arr_v3float_uint_2 ArrayStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 21 Offset 512 |
| OpDecorate %_runtimearr_Inner_tint_explicit_layout ArrayStride 544 |
| OpMemberDecorate %S_tint_explicit_layout 0 Offset 0 |
| OpDecorate %S_tint_explicit_layout Block |
| OpDecorate %sb DescriptorSet 0 |
| OpDecorate %sb Binding 0 |
| OpDecorate %sb NonWritable |
| OpMemberDecorate %s_block 0 Offset 0 |
| OpDecorate %s_block Block |
| OpDecorate %29 DescriptorSet 0 |
| OpDecorate %29 Binding 1 |
| OpDecorate %29 Coherent |
| OpDecorate %main_local_invocation_index_Input BuiltIn LocalInvocationIndex |
| %float = OpTypeFloat 32 |
| %int = OpTypeInt 32 1 |
| %uint = OpTypeInt 32 0 |
| %v2float = OpTypeVector %float 2 |
| %v2int = OpTypeVector %int 2 |
| %v2uint = OpTypeVector %uint 2 |
| %v3float = OpTypeVector %float 3 |
| %v3int = OpTypeVector %int 3 |
| %v3uint = OpTypeVector %uint 3 |
| %v4float = OpTypeVector %float 4 |
| %v4int = OpTypeVector %int 4 |
| %v4uint = OpTypeVector %uint 4 |
| %mat2v2float = OpTypeMatrix %v2float 2 |
| %mat2v3float = OpTypeMatrix %v3float 2 |
| %mat2v4float = OpTypeMatrix %v4float 2 |
| %mat3v2float = OpTypeMatrix %v2float 3 |
| %mat3v3float = OpTypeMatrix %v3float 3 |
| %mat3v4float = OpTypeMatrix %v4float 3 |
| %mat4v2float = OpTypeMatrix %v2float 4 |
| %mat4v3float = OpTypeMatrix %v3float 4 |
| %mat4v4float = OpTypeMatrix %v4float 4 |
| %uint_2 = OpConstant %uint 2 |
| %_arr_v3float_uint_2 = OpTypeArray %v3float %uint_2 |
| %Inner_tint_explicit_layout = OpTypeStruct %float %int %uint %v2float %v2int %v2uint %v3float %v3int %v3uint %v4float %v4int %v4uint %mat2v2float %mat2v3float %mat2v4float %mat3v2float %mat3v3float %mat3v4float %mat4v2float %mat4v3float %mat4v4float %_arr_v3float_uint_2 |
| %_runtimearr_Inner_tint_explicit_layout = OpTypeRuntimeArray %Inner_tint_explicit_layout |
| %S_tint_explicit_layout = OpTypeStruct %_runtimearr_Inner_tint_explicit_layout |
| %_ptr_StorageBuffer_S_tint_explicit_layout = OpTypePointer StorageBuffer %S_tint_explicit_layout |
| %sb = OpVariable %_ptr_StorageBuffer_S_tint_explicit_layout StorageBuffer |
| %s_block = OpTypeStruct %int |
| %_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block |
| %29 = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer |
| %_ptr_Input_uint = OpTypePointer Input %uint |
| %main_local_invocation_index_Input = OpVariable %_ptr_Input_uint Input |
| %void = OpTypeVoid |
| %37 = OpTypeFunction %void %uint |
| %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout = OpTypePointer StorageBuffer %_runtimearr_Inner_tint_explicit_layout |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint |
| %_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float |
| %uint_3 = OpConstant %uint 3 |
| %_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int |
| %uint_4 = OpConstant %uint 4 |
| %_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint |
| %uint_5 = OpConstant %uint 5 |
| %_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float |
| %uint_6 = OpConstant %uint 6 |
| %_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int |
| %uint_7 = OpConstant %uint 7 |
| %_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint |
| %uint_8 = OpConstant %uint 8 |
| %_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float |
| %uint_9 = OpConstant %uint 9 |
| %_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int |
| %uint_10 = OpConstant %uint 10 |
| %_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint |
| %uint_11 = OpConstant %uint 11 |
| %_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float |
| %uint_12 = OpConstant %uint 12 |
| %_ptr_StorageBuffer_mat2v3float = OpTypePointer StorageBuffer %mat2v3float |
| %uint_13 = OpConstant %uint 13 |
| %_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float |
| %uint_14 = OpConstant %uint 14 |
| %_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float |
| %uint_15 = OpConstant %uint 15 |
| %_ptr_StorageBuffer_mat3v3float = OpTypePointer StorageBuffer %mat3v3float |
| %uint_16 = OpConstant %uint 16 |
| %_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float |
| %uint_17 = OpConstant %uint 17 |
| %_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float |
| %uint_18 = OpConstant %uint 18 |
| %_ptr_StorageBuffer_mat4v3float = OpTypePointer StorageBuffer %mat4v3float |
| %uint_19 = OpConstant %uint 19 |
| %_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float |
| %uint_20 = OpConstant %uint 20 |
| %_ptr_StorageBuffer__arr_v3float_uint_2 = OpTypePointer StorageBuffer %_arr_v3float_uint_2 |
| %uint_21 = OpConstant %uint 21 |
| %_arr_v3float_uint_2_0 = OpTypeArray %v3float %uint_2 |
| %_ptr_StorageBuffer_int_0 = OpTypePointer StorageBuffer %int |
| %344 = OpTypeFunction %int %float |
| %float_n2_14748365e_09 = OpConstant %float -2.14748365e+09 |
| %float_2_14748352e_09 = OpConstant %float 2.14748352e+09 |
| %351 = OpTypeFunction %void |
| %356 = OpTypeFunction %_arr_v3float_uint_2_0 %_arr_v3float_uint_2 |
| %_ptr_Function__arr_v3float_uint_2 = OpTypePointer Function %_arr_v3float_uint_2 |
| %_ptr_Function__arr_v3float_uint_2_0 = OpTypePointer Function %_arr_v3float_uint_2_0 |
| %362 = OpConstantNull %_arr_v3float_uint_2_0 |
| %bool = OpTypeBool |
| %_ptr_Function_v3float = OpTypePointer Function %v3float |
| %main_inner = OpFunction %void None %37 |
| %idx = OpFunctionParameter %uint |
| %38 = OpLabel |
| %39 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %42 = OpArrayLength %uint %sb 0 |
| %43 = OpISub %uint %42 %uint_1 |
| %45 = OpExtInst %uint %46 UMin %idx %43 |
| %47 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %45 %uint_0 |
| %scalar_f32 = OpLoad %float %47 None |
| %50 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %51 = OpArrayLength %uint %sb 0 |
| %52 = OpISub %uint %51 %uint_1 |
| %53 = OpExtInst %uint %46 UMin %idx %52 |
| %54 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %53 %uint_1 |
| %scalar_i32 = OpLoad %int %54 None |
| %57 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %58 = OpArrayLength %uint %sb 0 |
| %59 = OpISub %uint %58 %uint_1 |
| %60 = OpExtInst %uint %46 UMin %idx %59 |
| %61 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %60 %uint_2 |
| %scalar_u32 = OpLoad %uint %61 None |
| %64 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %65 = OpArrayLength %uint %sb 0 |
| %66 = OpISub %uint %65 %uint_1 |
| %67 = OpExtInst %uint %46 UMin %idx %66 |
| %68 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %67 %uint_3 |
| %vec2_f32 = OpLoad %v2float %68 None |
| %72 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %73 = OpArrayLength %uint %sb 0 |
| %74 = OpISub %uint %73 %uint_1 |
| %75 = OpExtInst %uint %46 UMin %idx %74 |
| %76 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %75 %uint_4 |
| %vec2_i32 = OpLoad %v2int %76 None |
| %80 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %81 = OpArrayLength %uint %sb 0 |
| %82 = OpISub %uint %81 %uint_1 |
| %83 = OpExtInst %uint %46 UMin %idx %82 |
| %84 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %83 %uint_5 |
| %vec2_u32 = OpLoad %v2uint %84 None |
| %88 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %89 = OpArrayLength %uint %sb 0 |
| %90 = OpISub %uint %89 %uint_1 |
| %91 = OpExtInst %uint %46 UMin %idx %90 |
| %92 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %91 %uint_6 |
| %vec3_f32 = OpLoad %v3float %92 None |
| %96 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %97 = OpArrayLength %uint %sb 0 |
| %98 = OpISub %uint %97 %uint_1 |
| %99 = OpExtInst %uint %46 UMin %idx %98 |
| %100 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %99 %uint_7 |
| %vec3_i32 = OpLoad %v3int %100 None |
| %104 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %105 = OpArrayLength %uint %sb 0 |
| %106 = OpISub %uint %105 %uint_1 |
| %107 = OpExtInst %uint %46 UMin %idx %106 |
| %108 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %107 %uint_8 |
| %vec3_u32 = OpLoad %v3uint %108 None |
| %112 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %113 = OpArrayLength %uint %sb 0 |
| %114 = OpISub %uint %113 %uint_1 |
| %115 = OpExtInst %uint %46 UMin %idx %114 |
| %116 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %115 %uint_9 |
| %vec4_f32 = OpLoad %v4float %116 None |
| %120 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %121 = OpArrayLength %uint %sb 0 |
| %122 = OpISub %uint %121 %uint_1 |
| %123 = OpExtInst %uint %46 UMin %idx %122 |
| %124 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %123 %uint_10 |
| %vec4_i32 = OpLoad %v4int %124 None |
| %128 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %129 = OpArrayLength %uint %sb 0 |
| %130 = OpISub %uint %129 %uint_1 |
| %131 = OpExtInst %uint %46 UMin %idx %130 |
| %132 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %131 %uint_11 |
| %vec4_u32 = OpLoad %v4uint %132 None |
| %136 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %137 = OpArrayLength %uint %sb 0 |
| %138 = OpISub %uint %137 %uint_1 |
| %139 = OpExtInst %uint %46 UMin %idx %138 |
| %140 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %139 %uint_12 |
| %mat2x2_f32 = OpLoad %mat2v2float %140 None |
| %144 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %145 = OpArrayLength %uint %sb 0 |
| %146 = OpISub %uint %145 %uint_1 |
| %147 = OpExtInst %uint %46 UMin %idx %146 |
| %148 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %sb %uint_0 %147 %uint_13 |
| %mat2x3_f32 = OpLoad %mat2v3float %148 None |
| %152 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %153 = OpArrayLength %uint %sb 0 |
| %154 = OpISub %uint %153 %uint_1 |
| %155 = OpExtInst %uint %46 UMin %idx %154 |
| %156 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %155 %uint_14 |
| %mat2x4_f32 = OpLoad %mat2v4float %156 None |
| %160 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %161 = OpArrayLength %uint %sb 0 |
| %162 = OpISub %uint %161 %uint_1 |
| %163 = OpExtInst %uint %46 UMin %idx %162 |
| %164 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %163 %uint_15 |
| %mat3x2_f32 = OpLoad %mat3v2float %164 None |
| %168 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %169 = OpArrayLength %uint %sb 0 |
| %170 = OpISub %uint %169 %uint_1 |
| %171 = OpExtInst %uint %46 UMin %idx %170 |
| %172 = OpAccessChain %_ptr_StorageBuffer_mat3v3float %sb %uint_0 %171 %uint_16 |
| %mat3x3_f32 = OpLoad %mat3v3float %172 None |
| %176 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %177 = OpArrayLength %uint %sb 0 |
| %178 = OpISub %uint %177 %uint_1 |
| %179 = OpExtInst %uint %46 UMin %idx %178 |
| %180 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %179 %uint_17 |
| %mat3x4_f32 = OpLoad %mat3v4float %180 None |
| %184 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %185 = OpArrayLength %uint %sb 0 |
| %186 = OpISub %uint %185 %uint_1 |
| %187 = OpExtInst %uint %46 UMin %idx %186 |
| %188 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %187 %uint_18 |
| %mat4x2_f32 = OpLoad %mat4v2float %188 None |
| %192 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %193 = OpArrayLength %uint %sb 0 |
| %194 = OpISub %uint %193 %uint_1 |
| %195 = OpExtInst %uint %46 UMin %idx %194 |
| %196 = OpAccessChain %_ptr_StorageBuffer_mat4v3float %sb %uint_0 %195 %uint_19 |
| %mat4x3_f32 = OpLoad %mat4v3float %196 None |
| %200 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %201 = OpArrayLength %uint %sb 0 |
| %202 = OpISub %uint %201 %uint_1 |
| %203 = OpExtInst %uint %46 UMin %idx %202 |
| %204 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %203 %uint_20 |
| %mat4x4_f32 = OpLoad %mat4v4float %204 None |
| %208 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %209 = OpArrayLength %uint %sb 0 |
| %210 = OpISub %uint %209 %uint_1 |
| %211 = OpExtInst %uint %46 UMin %idx %210 |
| %212 = OpAccessChain %_ptr_StorageBuffer__arr_v3float_uint_2 %sb %uint_0 %211 %uint_21 |
| %215 = OpLoad %_arr_v3float_uint_2 %212 None |
| %arr2_vec3_f32 = OpFunctionCall %_arr_v3float_uint_2_0 %tint_convert_explicit_layout %215 |
| %219 = OpFunctionCall %int %tint_f32_to_i32 %scalar_f32 |
| %221 = OpBitcast %uint %219 |
| %222 = OpBitcast %uint %scalar_i32 |
| %223 = OpIAdd %uint %221 %222 |
| %224 = OpBitcast %int %223 |
| %225 = OpBitcast %int %scalar_u32 |
| %226 = OpBitcast %uint %224 |
| %227 = OpBitcast %uint %225 |
| %228 = OpIAdd %uint %226 %227 |
| %229 = OpBitcast %int %228 |
| %230 = OpCompositeExtract %float %vec2_f32 0 |
| %231 = OpFunctionCall %int %tint_f32_to_i32 %230 |
| %232 = OpBitcast %uint %229 |
| %233 = OpBitcast %uint %231 |
| %234 = OpIAdd %uint %232 %233 |
| %235 = OpBitcast %int %234 |
| %236 = OpCompositeExtract %int %vec2_i32 0 |
| %237 = OpBitcast %uint %235 |
| %238 = OpBitcast %uint %236 |
| %239 = OpIAdd %uint %237 %238 |
| %240 = OpBitcast %int %239 |
| %241 = OpCompositeExtract %uint %vec2_u32 0 |
| %242 = OpBitcast %int %241 |
| %243 = OpBitcast %uint %240 |
| %244 = OpBitcast %uint %242 |
| %245 = OpIAdd %uint %243 %244 |
| %246 = OpBitcast %int %245 |
| %247 = OpCompositeExtract %float %vec3_f32 1 |
| %248 = OpFunctionCall %int %tint_f32_to_i32 %247 |
| %249 = OpBitcast %uint %246 |
| %250 = OpBitcast %uint %248 |
| %251 = OpIAdd %uint %249 %250 |
| %252 = OpBitcast %int %251 |
| %253 = OpCompositeExtract %int %vec3_i32 1 |
| %254 = OpBitcast %uint %252 |
| %255 = OpBitcast %uint %253 |
| %256 = OpIAdd %uint %254 %255 |
| %257 = OpBitcast %int %256 |
| %258 = OpCompositeExtract %uint %vec3_u32 1 |
| %259 = OpBitcast %int %258 |
| %260 = OpBitcast %uint %257 |
| %261 = OpBitcast %uint %259 |
| %262 = OpIAdd %uint %260 %261 |
| %263 = OpBitcast %int %262 |
| %264 = OpCompositeExtract %float %vec4_f32 2 |
| %265 = OpFunctionCall %int %tint_f32_to_i32 %264 |
| %266 = OpBitcast %uint %263 |
| %267 = OpBitcast %uint %265 |
| %268 = OpIAdd %uint %266 %267 |
| %269 = OpBitcast %int %268 |
| %270 = OpCompositeExtract %int %vec4_i32 2 |
| %271 = OpBitcast %uint %269 |
| %272 = OpBitcast %uint %270 |
| %273 = OpIAdd %uint %271 %272 |
| %274 = OpBitcast %int %273 |
| %275 = OpCompositeExtract %uint %vec4_u32 2 |
| %276 = OpBitcast %int %275 |
| %277 = OpBitcast %uint %274 |
| %278 = OpBitcast %uint %276 |
| %279 = OpIAdd %uint %277 %278 |
| %280 = OpBitcast %int %279 |
| %281 = OpCompositeExtract %float %mat2x2_f32 0 0 |
| %282 = OpFunctionCall %int %tint_f32_to_i32 %281 |
| %283 = OpBitcast %uint %280 |
| %284 = OpBitcast %uint %282 |
| %285 = OpIAdd %uint %283 %284 |
| %286 = OpBitcast %int %285 |
| %287 = OpCompositeExtract %float %mat2x3_f32 0 0 |
| %288 = OpFunctionCall %int %tint_f32_to_i32 %287 |
| %289 = OpBitcast %uint %286 |
| %290 = OpBitcast %uint %288 |
| %291 = OpIAdd %uint %289 %290 |
| %292 = OpBitcast %int %291 |
| %293 = OpCompositeExtract %float %mat2x4_f32 0 0 |
| %294 = OpFunctionCall %int %tint_f32_to_i32 %293 |
| %295 = OpBitcast %uint %292 |
| %296 = OpBitcast %uint %294 |
| %297 = OpIAdd %uint %295 %296 |
| %298 = OpBitcast %int %297 |
| %299 = OpCompositeExtract %float %mat3x2_f32 0 0 |
| %300 = OpFunctionCall %int %tint_f32_to_i32 %299 |
| %301 = OpBitcast %uint %298 |
| %302 = OpBitcast %uint %300 |
| %303 = OpIAdd %uint %301 %302 |
| %304 = OpBitcast %int %303 |
| %305 = OpCompositeExtract %float %mat3x3_f32 0 0 |
| %306 = OpFunctionCall %int %tint_f32_to_i32 %305 |
| %307 = OpBitcast %uint %304 |
| %308 = OpBitcast %uint %306 |
| %309 = OpIAdd %uint %307 %308 |
| %310 = OpBitcast %int %309 |
| %311 = OpCompositeExtract %float %mat3x4_f32 0 0 |
| %312 = OpFunctionCall %int %tint_f32_to_i32 %311 |
| %313 = OpBitcast %uint %310 |
| %314 = OpBitcast %uint %312 |
| %315 = OpIAdd %uint %313 %314 |
| %316 = OpBitcast %int %315 |
| %317 = OpCompositeExtract %float %mat4x2_f32 0 0 |
| %318 = OpFunctionCall %int %tint_f32_to_i32 %317 |
| %319 = OpBitcast %uint %316 |
| %320 = OpBitcast %uint %318 |
| %321 = OpIAdd %uint %319 %320 |
| %322 = OpBitcast %int %321 |
| %323 = OpCompositeExtract %float %mat4x3_f32 0 0 |
| %324 = OpFunctionCall %int %tint_f32_to_i32 %323 |
| %325 = OpBitcast %uint %322 |
| %326 = OpBitcast %uint %324 |
| %327 = OpIAdd %uint %325 %326 |
| %328 = OpBitcast %int %327 |
| %329 = OpCompositeExtract %float %mat4x4_f32 0 0 |
| %330 = OpFunctionCall %int %tint_f32_to_i32 %329 |
| %331 = OpBitcast %uint %328 |
| %332 = OpBitcast %uint %330 |
| %333 = OpIAdd %uint %331 %332 |
| %334 = OpBitcast %int %333 |
| %335 = OpCompositeExtract %float %arr2_vec3_f32 0 0 |
| %336 = OpFunctionCall %int %tint_f32_to_i32 %335 |
| %337 = OpBitcast %uint %334 |
| %338 = OpBitcast %uint %336 |
| %339 = OpIAdd %uint %337 %338 |
| %340 = OpBitcast %int %339 |
| %341 = OpAccessChain %_ptr_StorageBuffer_int_0 %29 %uint_0 |
| OpStore %341 %340 None |
| OpReturn |
| OpFunctionEnd |
| %tint_f32_to_i32 = OpFunction %int None %344 |
| %value = OpFunctionParameter %float |
| %345 = OpLabel |
| %346 = OpExtInst %float %46 NClamp %value %float_n2_14748365e_09 %float_2_14748352e_09 |
| %349 = OpConvertFToS %int %346 |
| OpReturnValue %349 |
| OpFunctionEnd |
| %main = OpFunction %void None %351 |
| %352 = OpLabel |
| %353 = OpLoad %uint %main_local_invocation_index_Input None |
| %354 = OpFunctionCall %void %main_inner %353 |
| OpReturn |
| OpFunctionEnd |
| %tint_convert_explicit_layout = OpFunction %_arr_v3float_uint_2_0 None %356 |
| %tint_source = OpFunctionParameter %_arr_v3float_uint_2 |
| %357 = OpLabel |
| %358 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function |
| %360 = OpVariable %_ptr_Function__arr_v3float_uint_2_0 Function %362 |
| OpStore %358 %tint_source |
| OpBranch %363 |
| %363 = OpLabel |
| OpBranch %366 |
| %366 = OpLabel |
| %368 = OpPhi %uint %uint_0 %363 %369 %365 |
| OpLoopMerge %367 %365 None |
| OpBranch %364 |
| %364 = OpLabel |
| %371 = OpUGreaterThanEqual %bool %368 %uint_2 |
| OpSelectionMerge %373 None |
| OpBranchConditional %371 %374 %373 |
| %374 = OpLabel |
| OpBranch %367 |
| %373 = OpLabel |
| %375 = OpAccessChain %_ptr_Function_v3float %358 %368 |
| %377 = OpLoad %v3float %375 None |
| %378 = OpAccessChain %_ptr_Function_v3float %360 %368 |
| OpStore %378 %377 None |
| OpBranch %365 |
| %365 = OpLabel |
| %369 = OpIAdd %uint %368 %uint_1 |
| OpBranch %366 |
| %367 = OpLabel |
| %370 = OpLoad %_arr_v3float_uint_2_0 %360 None |
| OpReturnValue %370 |
| OpFunctionEnd |