| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 278 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| %43 = 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" | |
| OpName %main_local_invocation_index_Input "main_local_invocation_index_Input" | |
| OpName %main_inner "main_inner" | |
| OpName %idx "idx" | |
| OpName %tint_store_and_preserve_padding "tint_store_and_preserve_padding" | |
| OpName %target_indices "target_indices" | |
| OpName %value_param "value_param" | |
| OpName %tint_store_and_preserve_padding_0 "tint_store_and_preserve_padding" | |
| OpName %target_indices_0 "target_indices" | |
| OpName %value_param_0 "value_param" | |
| OpName %tint_store_and_preserve_padding_1 "tint_store_and_preserve_padding" | |
| OpName %target_indices_1 "target_indices" | |
| OpName %value_param_1 "value_param" | |
| OpName %tint_store_and_preserve_padding_2 "tint_store_and_preserve_padding" | |
| OpName %target_indices_2 "target_indices" | |
| OpName %value_param_2 "value_param" | |
| OpName %main "main" | |
| 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 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 | |
| %_ptr_Input_uint = OpTypePointer Input %uint | |
| %main_local_invocation_index_Input = OpVariable %_ptr_Input_uint Input | |
| %void = OpTypeVoid | |
| %34 = 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 | |
| %float_0 = OpConstant %float 0 | |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int | |
| %int_0 = OpConstant %int 0 | |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint | |
| %_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float | |
| %uint_3 = OpConstant %uint 3 | |
| %67 = OpConstantNull %v2float | |
| %_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int | |
| %uint_4 = OpConstant %uint 4 | |
| %75 = OpConstantNull %v2int | |
| %_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint | |
| %uint_5 = OpConstant %uint 5 | |
| %83 = OpConstantNull %v2uint | |
| %_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float | |
| %uint_6 = OpConstant %uint 6 | |
| %91 = OpConstantNull %v3float | |
| %_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int | |
| %uint_7 = OpConstant %uint 7 | |
| %99 = OpConstantNull %v3int | |
| %_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint | |
| %uint_8 = OpConstant %uint 8 | |
| %107 = OpConstantNull %v3uint | |
| %_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float | |
| %uint_9 = OpConstant %uint 9 | |
| %115 = OpConstantNull %v4float | |
| %_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int | |
| %uint_10 = OpConstant %uint 10 | |
| %123 = OpConstantNull %v4int | |
| %_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint | |
| %uint_11 = OpConstant %uint 11 | |
| %131 = OpConstantNull %v4uint | |
| %_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float | |
| %uint_12 = OpConstant %uint 12 | |
| %139 = OpConstantNull %mat2v2float | |
| %_arr_uint_uint_1 = OpTypeArray %uint %uint_1 | |
| %148 = OpConstantNull %mat2v3float | |
| %_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float | |
| %uint_14 = OpConstant %uint 14 | |
| %156 = OpConstantNull %mat2v4float | |
| %_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float | |
| %uint_15 = OpConstant %uint 15 | |
| %164 = OpConstantNull %mat3v2float | |
| %172 = OpConstantNull %mat3v3float | |
| %_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float | |
| %uint_17 = OpConstant %uint 17 | |
| %180 = OpConstantNull %mat3v4float | |
| %_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float | |
| %uint_18 = OpConstant %uint 18 | |
| %188 = OpConstantNull %mat4v2float | |
| %196 = OpConstantNull %mat4v3float | |
| %_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float | |
| %uint_20 = OpConstant %uint 20 | |
| %204 = OpConstantNull %mat4v4float | |
| %_arr_v3float_uint_2_0 = OpTypeArray %v3float %uint_2 | |
| %212 = OpConstantNull %_arr_v3float_uint_2_0 | |
| %216 = OpTypeFunction %void %_arr_uint_uint_1 %mat2v3float | |
| %uint_13 = OpConstant %uint 13 | |
| %226 = OpTypeFunction %void %_arr_uint_uint_1 %mat3v3float | |
| %uint_16 = OpConstant %uint 16 | |
| %238 = OpTypeFunction %void %_arr_uint_uint_1 %mat4v3float | |
| %uint_19 = OpConstant %uint 19 | |
| %252 = OpTypeFunction %void %_arr_uint_uint_1 %_arr_v3float_uint_2_0 | |
| %_ptr_Function__arr_v3float_uint_2_0 = OpTypePointer Function %_arr_v3float_uint_2_0 | |
| %bool = OpTypeBool | |
| %uint_21 = OpConstant %uint 21 | |
| %_ptr_Function_v3float = OpTypePointer Function %v3float | |
| %274 = OpTypeFunction %void | |
| %main_inner = OpFunction %void None %34 | |
| %idx = OpFunctionParameter %uint | |
| %35 = OpLabel | |
| %36 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %39 = OpArrayLength %uint %sb 0 | |
| %40 = OpISub %uint %39 %uint_1 | |
| %42 = OpExtInst %uint %43 UMin %idx %40 | |
| %44 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %42 %uint_0 | |
| OpStore %44 %float_0 None | |
| %47 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %48 = OpArrayLength %uint %sb 0 | |
| %49 = OpISub %uint %48 %uint_1 | |
| %50 = OpExtInst %uint %43 UMin %idx %49 | |
| %51 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %50 %uint_1 | |
| OpStore %51 %int_0 None | |
| %54 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %55 = OpArrayLength %uint %sb 0 | |
| %56 = OpISub %uint %55 %uint_1 | |
| %57 = OpExtInst %uint %43 UMin %idx %56 | |
| %58 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %57 %uint_2 | |
| OpStore %58 %uint_0 None | |
| %60 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %61 = OpArrayLength %uint %sb 0 | |
| %62 = OpISub %uint %61 %uint_1 | |
| %63 = OpExtInst %uint %43 UMin %idx %62 | |
| %64 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %63 %uint_3 | |
| OpStore %64 %67 None | |
| %68 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %69 = OpArrayLength %uint %sb 0 | |
| %70 = OpISub %uint %69 %uint_1 | |
| %71 = OpExtInst %uint %43 UMin %idx %70 | |
| %72 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %71 %uint_4 | |
| OpStore %72 %75 None | |
| %76 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %77 = OpArrayLength %uint %sb 0 | |
| %78 = OpISub %uint %77 %uint_1 | |
| %79 = OpExtInst %uint %43 UMin %idx %78 | |
| %80 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %79 %uint_5 | |
| OpStore %80 %83 None | |
| %84 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %85 = OpArrayLength %uint %sb 0 | |
| %86 = OpISub %uint %85 %uint_1 | |
| %87 = OpExtInst %uint %43 UMin %idx %86 | |
| %88 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %87 %uint_6 | |
| OpStore %88 %91 None | |
| %92 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %93 = OpArrayLength %uint %sb 0 | |
| %94 = OpISub %uint %93 %uint_1 | |
| %95 = OpExtInst %uint %43 UMin %idx %94 | |
| %96 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %95 %uint_7 | |
| OpStore %96 %99 None | |
| %100 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %101 = OpArrayLength %uint %sb 0 | |
| %102 = OpISub %uint %101 %uint_1 | |
| %103 = OpExtInst %uint %43 UMin %idx %102 | |
| %104 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %103 %uint_8 | |
| OpStore %104 %107 None | |
| %108 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %109 = OpArrayLength %uint %sb 0 | |
| %110 = OpISub %uint %109 %uint_1 | |
| %111 = OpExtInst %uint %43 UMin %idx %110 | |
| %112 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %111 %uint_9 | |
| OpStore %112 %115 None | |
| %116 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %117 = OpArrayLength %uint %sb 0 | |
| %118 = OpISub %uint %117 %uint_1 | |
| %119 = OpExtInst %uint %43 UMin %idx %118 | |
| %120 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %119 %uint_10 | |
| OpStore %120 %123 None | |
| %124 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %125 = OpArrayLength %uint %sb 0 | |
| %126 = OpISub %uint %125 %uint_1 | |
| %127 = OpExtInst %uint %43 UMin %idx %126 | |
| %128 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %127 %uint_11 | |
| OpStore %128 %131 None | |
| %132 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %133 = OpArrayLength %uint %sb 0 | |
| %134 = OpISub %uint %133 %uint_1 | |
| %135 = OpExtInst %uint %43 UMin %idx %134 | |
| %136 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %135 %uint_12 | |
| OpStore %136 %139 None | |
| %140 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %141 = OpArrayLength %uint %sb 0 | |
| %142 = OpISub %uint %141 %uint_1 | |
| %143 = OpExtInst %uint %43 UMin %idx %142 | |
| %145 = OpCompositeConstruct %_arr_uint_uint_1 %143 | |
| %146 = OpFunctionCall %void %tint_store_and_preserve_padding %145 %148 | |
| %149 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %150 = OpArrayLength %uint %sb 0 | |
| %151 = OpISub %uint %150 %uint_1 | |
| %152 = OpExtInst %uint %43 UMin %idx %151 | |
| %153 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %152 %uint_14 | |
| OpStore %153 %156 None | |
| %157 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %158 = OpArrayLength %uint %sb 0 | |
| %159 = OpISub %uint %158 %uint_1 | |
| %160 = OpExtInst %uint %43 UMin %idx %159 | |
| %161 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %160 %uint_15 | |
| OpStore %161 %164 None | |
| %165 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %166 = OpArrayLength %uint %sb 0 | |
| %167 = OpISub %uint %166 %uint_1 | |
| %168 = OpExtInst %uint %43 UMin %idx %167 | |
| %169 = OpCompositeConstruct %_arr_uint_uint_1 %168 | |
| %170 = OpFunctionCall %void %tint_store_and_preserve_padding_0 %169 %172 | |
| %173 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %174 = OpArrayLength %uint %sb 0 | |
| %175 = OpISub %uint %174 %uint_1 | |
| %176 = OpExtInst %uint %43 UMin %idx %175 | |
| %177 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %176 %uint_17 | |
| OpStore %177 %180 None | |
| %181 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %182 = OpArrayLength %uint %sb 0 | |
| %183 = OpISub %uint %182 %uint_1 | |
| %184 = OpExtInst %uint %43 UMin %idx %183 | |
| %185 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %184 %uint_18 | |
| OpStore %185 %188 None | |
| %189 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %190 = OpArrayLength %uint %sb 0 | |
| %191 = OpISub %uint %190 %uint_1 | |
| %192 = OpExtInst %uint %43 UMin %idx %191 | |
| %193 = OpCompositeConstruct %_arr_uint_uint_1 %192 | |
| %194 = OpFunctionCall %void %tint_store_and_preserve_padding_1 %193 %196 | |
| %197 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %198 = OpArrayLength %uint %sb 0 | |
| %199 = OpISub %uint %198 %uint_1 | |
| %200 = OpExtInst %uint %43 UMin %idx %199 | |
| %201 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %200 %uint_20 | |
| OpStore %201 %204 None | |
| %205 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 | |
| %206 = OpArrayLength %uint %sb 0 | |
| %207 = OpISub %uint %206 %uint_1 | |
| %208 = OpExtInst %uint %43 UMin %idx %207 | |
| %209 = OpCompositeConstruct %_arr_uint_uint_1 %208 | |
| %210 = OpFunctionCall %void %tint_store_and_preserve_padding_2 %209 %212 | |
| OpReturn | |
| OpFunctionEnd | |
| %tint_store_and_preserve_padding = OpFunction %void None %216 | |
| %target_indices = OpFunctionParameter %_arr_uint_uint_1 | |
| %value_param = OpFunctionParameter %mat2v3float | |
| %217 = OpLabel | |
| %218 = OpCompositeExtract %uint %target_indices 0 | |
| %219 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %218 %uint_13 %uint_0 | |
| %221 = OpCompositeExtract %v3float %value_param 0 | |
| OpStore %219 %221 None | |
| %222 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %218 %uint_13 %uint_1 | |
| %223 = OpCompositeExtract %v3float %value_param 1 | |
| OpStore %222 %223 None | |
| OpReturn | |
| OpFunctionEnd | |
| %tint_store_and_preserve_padding_0 = OpFunction %void None %226 | |
| %target_indices_0 = OpFunctionParameter %_arr_uint_uint_1 | |
| %value_param_0 = OpFunctionParameter %mat3v3float | |
| %227 = OpLabel | |
| %228 = OpCompositeExtract %uint %target_indices_0 0 | |
| %229 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %228 %uint_16 %uint_0 | |
| %231 = OpCompositeExtract %v3float %value_param_0 0 | |
| OpStore %229 %231 None | |
| %232 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %228 %uint_16 %uint_1 | |
| %233 = OpCompositeExtract %v3float %value_param_0 1 | |
| OpStore %232 %233 None | |
| %234 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %228 %uint_16 %uint_2 | |
| %235 = OpCompositeExtract %v3float %value_param_0 2 | |
| OpStore %234 %235 None | |
| OpReturn | |
| OpFunctionEnd | |
| %tint_store_and_preserve_padding_1 = OpFunction %void None %238 | |
| %target_indices_1 = OpFunctionParameter %_arr_uint_uint_1 | |
| %value_param_1 = OpFunctionParameter %mat4v3float | |
| %239 = OpLabel | |
| %240 = OpCompositeExtract %uint %target_indices_1 0 | |
| %241 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %240 %uint_19 %uint_0 | |
| %243 = OpCompositeExtract %v3float %value_param_1 0 | |
| OpStore %241 %243 None | |
| %244 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %240 %uint_19 %uint_1 | |
| %245 = OpCompositeExtract %v3float %value_param_1 1 | |
| OpStore %244 %245 None | |
| %246 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %240 %uint_19 %uint_2 | |
| %247 = OpCompositeExtract %v3float %value_param_1 2 | |
| OpStore %246 %247 None | |
| %248 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %240 %uint_19 %uint_3 | |
| %249 = OpCompositeExtract %v3float %value_param_1 3 | |
| OpStore %248 %249 None | |
| OpReturn | |
| OpFunctionEnd | |
| %tint_store_and_preserve_padding_2 = OpFunction %void None %252 | |
| %target_indices_2 = OpFunctionParameter %_arr_uint_uint_1 | |
| %value_param_2 = OpFunctionParameter %_arr_v3float_uint_2_0 | |
| %253 = OpLabel | |
| %254 = OpVariable %_ptr_Function__arr_v3float_uint_2_0 Function | |
| OpStore %254 %value_param_2 | |
| %256 = OpCompositeExtract %uint %target_indices_2 0 | |
| OpBranch %257 | |
| %257 = OpLabel | |
| OpBranch %260 | |
| %260 = OpLabel | |
| %262 = OpPhi %uint %uint_0 %257 %263 %259 | |
| OpLoopMerge %261 %259 None | |
| OpBranch %258 | |
| %258 = OpLabel | |
| %264 = OpUGreaterThanEqual %bool %262 %uint_2 | |
| OpSelectionMerge %266 None | |
| OpBranchConditional %264 %267 %266 | |
| %267 = OpLabel | |
| OpBranch %261 | |
| %266 = OpLabel | |
| %268 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %256 %uint_21 %262 | |
| %270 = OpAccessChain %_ptr_Function_v3float %254 %262 | |
| %272 = OpLoad %v3float %270 None | |
| OpStore %268 %272 None | |
| OpBranch %259 | |
| %259 = OpLabel | |
| %263 = OpIAdd %uint %262 %uint_1 | |
| OpBranch %260 | |
| %261 = OpLabel | |
| OpReturn | |
| OpFunctionEnd | |
| %main = OpFunction %void None %274 | |
| %275 = OpLabel | |
| %276 = OpLoad %uint %main_local_invocation_index_Input None | |
| %277 = OpFunctionCall %void %main_inner %276 | |
| OpReturn | |
| OpFunctionEnd |