| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 277 |
| ; 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 0 "scalar_f32" |
| OpMemberName %Inner 1 "scalar_i32" |
| OpMemberName %Inner 2 "scalar_u32" |
| OpMemberName %Inner 3 "vec2_f32" |
| OpMemberName %Inner 4 "vec2_i32" |
| OpMemberName %Inner 5 "vec2_u32" |
| OpMemberName %Inner 6 "vec3_f32" |
| OpMemberName %Inner 7 "vec3_i32" |
| OpMemberName %Inner 8 "vec3_u32" |
| OpMemberName %Inner 9 "vec4_f32" |
| OpMemberName %Inner 10 "vec4_i32" |
| OpMemberName %Inner 11 "vec4_u32" |
| OpMemberName %Inner 12 "mat2x2_f32" |
| OpMemberName %Inner 13 "mat2x3_f32" |
| OpMemberName %Inner 14 "mat2x4_f32" |
| OpMemberName %Inner 15 "mat3x2_f32" |
| OpMemberName %Inner 16 "mat3x3_f32" |
| OpMemberName %Inner 17 "mat3x4_f32" |
| OpMemberName %Inner 18 "mat4x2_f32" |
| OpMemberName %Inner 19 "mat4x3_f32" |
| OpMemberName %Inner 20 "mat4x4_f32" |
| OpMemberName %Inner 21 "arr2_vec3_f32" |
| OpName %Inner "Inner" |
| OpMemberName %S 0 "arr" |
| OpName %S "S" |
| 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 0 Offset 0 |
| OpMemberDecorate %Inner 1 Offset 4 |
| OpMemberDecorate %Inner 2 Offset 8 |
| OpMemberDecorate %Inner 3 Offset 16 |
| OpMemberDecorate %Inner 4 Offset 24 |
| OpMemberDecorate %Inner 5 Offset 32 |
| OpMemberDecorate %Inner 6 Offset 48 |
| OpMemberDecorate %Inner 7 Offset 64 |
| OpMemberDecorate %Inner 8 Offset 80 |
| OpMemberDecorate %Inner 9 Offset 96 |
| OpMemberDecorate %Inner 10 Offset 112 |
| OpMemberDecorate %Inner 11 Offset 128 |
| OpMemberDecorate %Inner 12 Offset 144 |
| OpMemberDecorate %Inner 12 ColMajor |
| OpMemberDecorate %Inner 12 MatrixStride 8 |
| OpMemberDecorate %Inner 13 Offset 160 |
| OpMemberDecorate %Inner 13 ColMajor |
| OpMemberDecorate %Inner 13 MatrixStride 16 |
| OpMemberDecorate %Inner 14 Offset 192 |
| OpMemberDecorate %Inner 14 ColMajor |
| OpMemberDecorate %Inner 14 MatrixStride 16 |
| OpMemberDecorate %Inner 15 Offset 224 |
| OpMemberDecorate %Inner 15 ColMajor |
| OpMemberDecorate %Inner 15 MatrixStride 8 |
| OpMemberDecorate %Inner 16 Offset 256 |
| OpMemberDecorate %Inner 16 ColMajor |
| OpMemberDecorate %Inner 16 MatrixStride 16 |
| OpMemberDecorate %Inner 17 Offset 304 |
| OpMemberDecorate %Inner 17 ColMajor |
| OpMemberDecorate %Inner 17 MatrixStride 16 |
| OpMemberDecorate %Inner 18 Offset 352 |
| OpMemberDecorate %Inner 18 ColMajor |
| OpMemberDecorate %Inner 18 MatrixStride 8 |
| OpMemberDecorate %Inner 19 Offset 384 |
| OpMemberDecorate %Inner 19 ColMajor |
| OpMemberDecorate %Inner 19 MatrixStride 16 |
| OpMemberDecorate %Inner 20 Offset 448 |
| OpMemberDecorate %Inner 20 ColMajor |
| OpMemberDecorate %Inner 20 MatrixStride 16 |
| OpDecorate %_arr_v3float_uint_2 ArrayStride 16 |
| OpMemberDecorate %Inner 21 Offset 512 |
| OpDecorate %_runtimearr_Inner ArrayStride 544 |
| OpMemberDecorate %S 0 Offset 0 |
| OpDecorate %S Block |
| OpDecorate %sb DescriptorSet 0 |
| OpDecorate %sb Binding 0 |
| OpDecorate %sb Coherent |
| OpDecorate %main_local_invocation_index_Input BuiltIn LocalInvocationIndex |
| OpDecorate %_arr_uint_uint_1 ArrayStride 4 |
| %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 = 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 = OpTypeRuntimeArray %Inner |
| %S = OpTypeStruct %_runtimearr_Inner |
| %_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S |
| %sb = OpVariable %_ptr_StorageBuffer_S 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 = OpTypePointer StorageBuffer %_runtimearr_Inner |
| %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 |
| %212 = OpConstantNull %_arr_v3float_uint_2 |
| %215 = OpTypeFunction %void %_arr_uint_uint_1 %mat2v3float |
| %uint_13 = OpConstant %uint 13 |
| %225 = OpTypeFunction %void %_arr_uint_uint_1 %mat3v3float |
| %uint_16 = OpConstant %uint 16 |
| %237 = OpTypeFunction %void %_arr_uint_uint_1 %mat4v3float |
| %uint_19 = OpConstant %uint 19 |
| %251 = OpTypeFunction %void %_arr_uint_uint_1 %_arr_v3float_uint_2 |
| %_ptr_Function__arr_v3float_uint_2 = OpTypePointer Function %_arr_v3float_uint_2 |
| %bool = OpTypeBool |
| %uint_21 = OpConstant %uint 21 |
| %_ptr_Function_v3float = OpTypePointer Function %v3float |
| %273 = OpTypeFunction %void |
| %main_inner = OpFunction %void None %34 |
| %idx = OpFunctionParameter %uint |
| %35 = OpLabel |
| %36 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %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 %215 |
| %target_indices = OpFunctionParameter %_arr_uint_uint_1 |
| %value_param = OpFunctionParameter %mat2v3float |
| %216 = OpLabel |
| %217 = OpCompositeExtract %uint %target_indices 0 |
| %218 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %217 %uint_13 %uint_0 |
| %220 = OpCompositeExtract %v3float %value_param 0 |
| OpStore %218 %220 None |
| %221 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %217 %uint_13 %uint_1 |
| %222 = OpCompositeExtract %v3float %value_param 1 |
| OpStore %221 %222 None |
| OpReturn |
| OpFunctionEnd |
| %tint_store_and_preserve_padding_0 = OpFunction %void None %225 |
| %target_indices_0 = OpFunctionParameter %_arr_uint_uint_1 |
| %value_param_0 = OpFunctionParameter %mat3v3float |
| %226 = OpLabel |
| %227 = OpCompositeExtract %uint %target_indices_0 0 |
| %228 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %227 %uint_16 %uint_0 |
| %230 = OpCompositeExtract %v3float %value_param_0 0 |
| OpStore %228 %230 None |
| %231 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %227 %uint_16 %uint_1 |
| %232 = OpCompositeExtract %v3float %value_param_0 1 |
| OpStore %231 %232 None |
| %233 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %227 %uint_16 %uint_2 |
| %234 = OpCompositeExtract %v3float %value_param_0 2 |
| OpStore %233 %234 None |
| OpReturn |
| OpFunctionEnd |
| %tint_store_and_preserve_padding_1 = OpFunction %void None %237 |
| %target_indices_1 = OpFunctionParameter %_arr_uint_uint_1 |
| %value_param_1 = OpFunctionParameter %mat4v3float |
| %238 = OpLabel |
| %239 = OpCompositeExtract %uint %target_indices_1 0 |
| %240 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %239 %uint_19 %uint_0 |
| %242 = OpCompositeExtract %v3float %value_param_1 0 |
| OpStore %240 %242 None |
| %243 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %239 %uint_19 %uint_1 |
| %244 = OpCompositeExtract %v3float %value_param_1 1 |
| OpStore %243 %244 None |
| %245 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %239 %uint_19 %uint_2 |
| %246 = OpCompositeExtract %v3float %value_param_1 2 |
| OpStore %245 %246 None |
| %247 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %239 %uint_19 %uint_3 |
| %248 = OpCompositeExtract %v3float %value_param_1 3 |
| OpStore %247 %248 None |
| OpReturn |
| OpFunctionEnd |
| %tint_store_and_preserve_padding_2 = OpFunction %void None %251 |
| %target_indices_2 = OpFunctionParameter %_arr_uint_uint_1 |
| %value_param_2 = OpFunctionParameter %_arr_v3float_uint_2 |
| %252 = OpLabel |
| %253 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function |
| OpStore %253 %value_param_2 |
| %255 = OpCompositeExtract %uint %target_indices_2 0 |
| OpBranch %256 |
| %256 = OpLabel |
| OpBranch %259 |
| %259 = OpLabel |
| %261 = OpPhi %uint %uint_0 %256 %262 %258 |
| OpLoopMerge %260 %258 None |
| OpBranch %257 |
| %257 = OpLabel |
| %263 = OpUGreaterThanEqual %bool %261 %uint_2 |
| OpSelectionMerge %265 None |
| OpBranchConditional %263 %266 %265 |
| %266 = OpLabel |
| OpBranch %260 |
| %265 = OpLabel |
| %267 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %255 %uint_21 %261 |
| %269 = OpAccessChain %_ptr_Function_v3float %253 %261 |
| %271 = OpLoad %v3float %269 None |
| OpStore %267 %271 None |
| OpBranch %258 |
| %258 = OpLabel |
| %262 = OpIAdd %uint %261 %uint_1 |
| OpBranch %259 |
| %260 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %273 |
| %274 = OpLabel |
| %275 = OpLoad %uint %main_local_invocation_index_Input None |
| %276 = OpFunctionCall %void %main_inner %275 |
| OpReturn |
| OpFunctionEnd |