blob: b2216a4a043d5009da4817e058317a73b70b1b88 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 293
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
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 "scalar_f16"
OpMemberName %Inner 4 "vec2_f32"
OpMemberName %Inner 5 "vec2_i32"
OpMemberName %Inner 6 "vec2_u32"
OpMemberName %Inner 7 "vec2_f16"
OpMemberName %Inner 8 "vec3_f32"
OpMemberName %Inner 9 "vec3_i32"
OpMemberName %Inner 10 "vec3_u32"
OpMemberName %Inner 11 "vec3_f16"
OpMemberName %Inner 12 "vec4_f32"
OpMemberName %Inner 13 "vec4_i32"
OpMemberName %Inner 14 "vec4_u32"
OpMemberName %Inner 15 "vec4_f16"
OpMemberName %Inner 16 "mat2x2_f32"
OpMemberName %Inner 17 "mat2x3_f32"
OpMemberName %Inner 18 "mat2x4_f32"
OpMemberName %Inner 19 "mat3x2_f32"
OpMemberName %Inner 20 "mat3x3_f32"
OpMemberName %Inner 21 "mat3x4_f32"
OpMemberName %Inner 22 "mat4x2_f32"
OpMemberName %Inner 23 "mat4x3_f32"
OpMemberName %Inner 24 "mat4x4_f32"
OpMemberName %Inner 25 "mat2x2_f16"
OpMemberName %Inner 26 "mat2x3_f16"
OpMemberName %Inner 27 "mat2x4_f16"
OpMemberName %Inner 28 "mat3x2_f16"
OpMemberName %Inner 29 "mat3x3_f16"
OpMemberName %Inner 30 "mat3x4_f16"
OpMemberName %Inner 31 "mat4x2_f16"
OpMemberName %Inner 32 "mat4x3_f16"
OpMemberName %Inner 33 "mat4x4_f16"
OpMemberName %Inner 34 "arr2_vec3_f32"
OpMemberName %Inner 35 "arr2_mat4x2_f16"
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 %tint_store_and_preserve_padding_3 "tint_store_and_preserve_padding"
OpName %target_indices_3 "target_indices"
OpName %value_param_3 "value_param"
OpName %tint_store_and_preserve_padding_4 "tint_store_and_preserve_padding"
OpName %target_indices_4 "target_indices"
OpName %value_param_4 "value_param"
OpName %tint_store_and_preserve_padding_5 "tint_store_and_preserve_padding"
OpName %target_indices_5 "target_indices"
OpName %value_param_5 "value_param"
OpName %main "main"
OpMemberDecorate %Inner 0 Offset 0
OpMemberDecorate %Inner 1 Offset 4
OpMemberDecorate %Inner 2 Offset 8
OpMemberDecorate %Inner 3 Offset 12
OpMemberDecorate %Inner 4 Offset 16
OpMemberDecorate %Inner 5 Offset 24
OpMemberDecorate %Inner 6 Offset 32
OpMemberDecorate %Inner 7 Offset 40
OpMemberDecorate %Inner 8 Offset 48
OpMemberDecorate %Inner 9 Offset 64
OpMemberDecorate %Inner 10 Offset 80
OpMemberDecorate %Inner 11 Offset 96
OpMemberDecorate %Inner 12 Offset 112
OpMemberDecorate %Inner 13 Offset 128
OpMemberDecorate %Inner 14 Offset 144
OpMemberDecorate %Inner 15 Offset 160
OpMemberDecorate %Inner 16 Offset 168
OpMemberDecorate %Inner 16 ColMajor
OpMemberDecorate %Inner 16 MatrixStride 8
OpMemberDecorate %Inner 17 Offset 192
OpMemberDecorate %Inner 17 ColMajor
OpMemberDecorate %Inner 17 MatrixStride 16
OpMemberDecorate %Inner 18 Offset 224
OpMemberDecorate %Inner 18 ColMajor
OpMemberDecorate %Inner 18 MatrixStride 16
OpMemberDecorate %Inner 19 Offset 256
OpMemberDecorate %Inner 19 ColMajor
OpMemberDecorate %Inner 19 MatrixStride 8
OpMemberDecorate %Inner 20 Offset 288
OpMemberDecorate %Inner 20 ColMajor
OpMemberDecorate %Inner 20 MatrixStride 16
OpMemberDecorate %Inner 21 Offset 336
OpMemberDecorate %Inner 21 ColMajor
OpMemberDecorate %Inner 21 MatrixStride 16
OpMemberDecorate %Inner 22 Offset 384
OpMemberDecorate %Inner 22 ColMajor
OpMemberDecorate %Inner 22 MatrixStride 8
OpMemberDecorate %Inner 23 Offset 416
OpMemberDecorate %Inner 23 ColMajor
OpMemberDecorate %Inner 23 MatrixStride 16
OpMemberDecorate %Inner 24 Offset 480
OpMemberDecorate %Inner 24 ColMajor
OpMemberDecorate %Inner 24 MatrixStride 16
OpMemberDecorate %Inner 25 Offset 544
OpMemberDecorate %Inner 25 ColMajor
OpMemberDecorate %Inner 25 MatrixStride 4
OpMemberDecorate %Inner 26 Offset 552
OpMemberDecorate %Inner 26 ColMajor
OpMemberDecorate %Inner 26 MatrixStride 8
OpMemberDecorate %Inner 27 Offset 568
OpMemberDecorate %Inner 27 ColMajor
OpMemberDecorate %Inner 27 MatrixStride 8
OpMemberDecorate %Inner 28 Offset 584
OpMemberDecorate %Inner 28 ColMajor
OpMemberDecorate %Inner 28 MatrixStride 4
OpMemberDecorate %Inner 29 Offset 600
OpMemberDecorate %Inner 29 ColMajor
OpMemberDecorate %Inner 29 MatrixStride 8
OpMemberDecorate %Inner 30 Offset 624
OpMemberDecorate %Inner 30 ColMajor
OpMemberDecorate %Inner 30 MatrixStride 8
OpMemberDecorate %Inner 31 Offset 648
OpMemberDecorate %Inner 31 ColMajor
OpMemberDecorate %Inner 31 MatrixStride 4
OpMemberDecorate %Inner 32 Offset 664
OpMemberDecorate %Inner 32 ColMajor
OpMemberDecorate %Inner 32 MatrixStride 8
OpMemberDecorate %Inner 33 Offset 696
OpMemberDecorate %Inner 33 ColMajor
OpMemberDecorate %Inner 33 MatrixStride 8
OpDecorate %_arr_v3float_uint_2 ArrayStride 16
OpMemberDecorate %Inner 34 Offset 736
OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16
OpMemberDecorate %Inner 35 Offset 768
OpMemberDecorate %Inner 35 ColMajor
OpMemberDecorate %Inner 35 MatrixStride 4
OpDecorate %_runtimearr_Inner ArrayStride 800
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
%half = OpTypeFloat 16
%v2float = OpTypeVector %float 2
%v2int = OpTypeVector %int 2
%v2uint = OpTypeVector %uint 2
%v2half = OpTypeVector %half 2
%v3float = OpTypeVector %float 3
%v3int = OpTypeVector %int 3
%v3uint = OpTypeVector %uint 3
%v3half = OpTypeVector %half 3
%v4float = OpTypeVector %float 4
%v4int = OpTypeVector %int 4
%v4uint = OpTypeVector %uint 4
%v4half = OpTypeVector %half 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
%mat2v2half = OpTypeMatrix %v2half 2
%mat2v3half = OpTypeMatrix %v3half 2
%mat2v4half = OpTypeMatrix %v4half 2
%mat3v2half = OpTypeMatrix %v2half 3
%mat3v3half = OpTypeMatrix %v3half 3
%mat3v4half = OpTypeMatrix %v4half 3
%mat4v2half = OpTypeMatrix %v2half 4
%mat4v3half = OpTypeMatrix %v3half 4
%mat4v4half = OpTypeMatrix %v4half 4
%uint_2 = OpConstant %uint 2
%_arr_v3float_uint_2 = OpTypeArray %v3float %uint_2
%_arr_mat4v2half_uint_2 = OpTypeArray %mat4v2half %uint_2
%Inner = OpTypeStruct %float %int %uint %half %v2float %v2int %v2uint %v2half %v3float %v3int %v3uint %v3half %v4float %v4int %v4uint %v4half %mat2v2float %mat2v3float %mat2v4float %mat3v2float %mat3v3float %mat3v4float %mat4v2float %mat4v3float %mat4v4float %mat2v2half %mat2v3half %mat2v4half %mat3v2half %mat3v3half %mat3v4half %mat4v2half %mat4v3half %mat4v4half %_arr_v3float_uint_2 %_arr_mat4v2half_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
%48 = OpTypeFunction %void %uint
%_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float
%uint_0 = OpConstant %uint 0
%float_0 = OpConstant %float 0
%_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int
%uint_1 = OpConstant %uint 1
%int_0 = OpConstant %int 0
%_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint
%_ptr_StorageBuffer_half = OpTypePointer StorageBuffer %half
%uint_3 = OpConstant %uint 3
%half_0x0p_0 = OpConstant %half 0x0p+0
%_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float
%uint_4 = OpConstant %uint 4
%67 = OpConstantNull %v2float
%_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int
%uint_5 = OpConstant %uint 5
%71 = OpConstantNull %v2int
%_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint
%uint_6 = OpConstant %uint 6
%75 = OpConstantNull %v2uint
%_ptr_StorageBuffer_v2half = OpTypePointer StorageBuffer %v2half
%uint_7 = OpConstant %uint 7
%79 = OpConstantNull %v2half
%_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float
%uint_8 = OpConstant %uint 8
%83 = OpConstantNull %v3float
%_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int
%uint_9 = OpConstant %uint 9
%87 = OpConstantNull %v3int
%_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint
%uint_10 = OpConstant %uint 10
%91 = OpConstantNull %v3uint
%_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half
%uint_11 = OpConstant %uint 11
%95 = OpConstantNull %v3half
%_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float
%uint_12 = OpConstant %uint 12
%99 = OpConstantNull %v4float
%_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int
%uint_13 = OpConstant %uint 13
%103 = OpConstantNull %v4int
%_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint
%uint_14 = OpConstant %uint 14
%107 = OpConstantNull %v4uint
%_ptr_StorageBuffer_v4half = OpTypePointer StorageBuffer %v4half
%uint_15 = OpConstant %uint 15
%111 = OpConstantNull %v4half
%_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float
%uint_16 = OpConstant %uint 16
%115 = OpConstantNull %mat2v2float
%_arr_uint_uint_1 = OpTypeArray %uint %uint_1
%120 = OpConstantNull %mat2v3float
%_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float
%uint_18 = OpConstant %uint 18
%124 = OpConstantNull %mat2v4float
%_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float
%uint_19 = OpConstant %uint 19
%128 = OpConstantNull %mat3v2float
%132 = OpConstantNull %mat3v3float
%_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float
%uint_21 = OpConstant %uint 21
%136 = OpConstantNull %mat3v4float
%_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float
%uint_22 = OpConstant %uint 22
%140 = OpConstantNull %mat4v2float
%144 = OpConstantNull %mat4v3float
%_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float
%uint_24 = OpConstant %uint 24
%148 = OpConstantNull %mat4v4float
%_ptr_StorageBuffer_mat2v2half = OpTypePointer StorageBuffer %mat2v2half
%uint_25 = OpConstant %uint 25
%152 = OpConstantNull %mat2v2half
%156 = OpConstantNull %mat2v3half
%_ptr_StorageBuffer_mat2v4half = OpTypePointer StorageBuffer %mat2v4half
%uint_27 = OpConstant %uint 27
%160 = OpConstantNull %mat2v4half
%_ptr_StorageBuffer_mat3v2half = OpTypePointer StorageBuffer %mat3v2half
%uint_28 = OpConstant %uint 28
%164 = OpConstantNull %mat3v2half
%168 = OpConstantNull %mat3v3half
%_ptr_StorageBuffer_mat3v4half = OpTypePointer StorageBuffer %mat3v4half
%uint_30 = OpConstant %uint 30
%172 = OpConstantNull %mat3v4half
%_ptr_StorageBuffer_mat4v2half = OpTypePointer StorageBuffer %mat4v2half
%uint_31 = OpConstant %uint 31
%176 = OpConstantNull %mat4v2half
%180 = OpConstantNull %mat4v3half
%_ptr_StorageBuffer_mat4v4half = OpTypePointer StorageBuffer %mat4v4half
%uint_33 = OpConstant %uint 33
%184 = OpConstantNull %mat4v4half
%188 = OpConstantNull %_arr_v3float_uint_2
%_ptr_StorageBuffer__arr_mat4v2half_uint_2 = OpTypePointer StorageBuffer %_arr_mat4v2half_uint_2
%uint_35 = OpConstant %uint 35
%192 = OpConstantNull %_arr_mat4v2half_uint_2
%195 = OpTypeFunction %void %_arr_uint_uint_1 %mat2v3float
%uint_17 = OpConstant %uint 17
%205 = OpTypeFunction %void %_arr_uint_uint_1 %mat3v3float
%uint_20 = OpConstant %uint 20
%217 = OpTypeFunction %void %_arr_uint_uint_1 %mat4v3float
%uint_23 = OpConstant %uint 23
%231 = OpTypeFunction %void %_arr_uint_uint_1 %mat2v3half
%uint_26 = OpConstant %uint 26
%241 = OpTypeFunction %void %_arr_uint_uint_1 %mat3v3half
%uint_29 = OpConstant %uint 29
%253 = OpTypeFunction %void %_arr_uint_uint_1 %mat4v3half
%uint_32 = OpConstant %uint 32
%267 = 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_34 = OpConstant %uint 34
%_ptr_Function_v3float = OpTypePointer Function %v3float
%289 = OpTypeFunction %void
%main_inner = OpFunction %void None %48
%idx = OpFunctionParameter %uint
%49 = OpLabel
%50 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %idx %uint_0
OpStore %50 %float_0 None
%54 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %idx %uint_1
OpStore %54 %int_0 None
%58 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %idx %uint_2
OpStore %58 %uint_0 None
%60 = OpAccessChain %_ptr_StorageBuffer_half %sb %uint_0 %idx %uint_3
OpStore %60 %half_0x0p_0 None
%64 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %idx %uint_4
OpStore %64 %67 None
%68 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %idx %uint_5
OpStore %68 %71 None
%72 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %idx %uint_6
OpStore %72 %75 None
%76 = OpAccessChain %_ptr_StorageBuffer_v2half %sb %uint_0 %idx %uint_7
OpStore %76 %79 None
%80 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %idx %uint_8
OpStore %80 %83 None
%84 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %idx %uint_9
OpStore %84 %87 None
%88 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %idx %uint_10
OpStore %88 %91 None
%92 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %idx %uint_11
OpStore %92 %95 None
%96 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %idx %uint_12
OpStore %96 %99 None
%100 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %idx %uint_13
OpStore %100 %103 None
%104 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %idx %uint_14
OpStore %104 %107 None
%108 = OpAccessChain %_ptr_StorageBuffer_v4half %sb %uint_0 %idx %uint_15
OpStore %108 %111 None
%112 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %idx %uint_16
OpStore %112 %115 None
%117 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%118 = OpFunctionCall %void %tint_store_and_preserve_padding %117 %120
%121 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %idx %uint_18
OpStore %121 %124 None
%125 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %idx %uint_19
OpStore %125 %128 None
%129 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%130 = OpFunctionCall %void %tint_store_and_preserve_padding_0 %129 %132
%133 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %idx %uint_21
OpStore %133 %136 None
%137 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %idx %uint_22
OpStore %137 %140 None
%141 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%142 = OpFunctionCall %void %tint_store_and_preserve_padding_1 %141 %144
%145 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %idx %uint_24
OpStore %145 %148 None
%149 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %sb %uint_0 %idx %uint_25
OpStore %149 %152 None
%153 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%154 = OpFunctionCall %void %tint_store_and_preserve_padding_2 %153 %156
%157 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %sb %uint_0 %idx %uint_27
OpStore %157 %160 None
%161 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %sb %uint_0 %idx %uint_28
OpStore %161 %164 None
%165 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%166 = OpFunctionCall %void %tint_store_and_preserve_padding_3 %165 %168
%169 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %sb %uint_0 %idx %uint_30
OpStore %169 %172 None
%173 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %sb %uint_0 %idx %uint_31
OpStore %173 %176 None
%177 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%178 = OpFunctionCall %void %tint_store_and_preserve_padding_4 %177 %180
%181 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %sb %uint_0 %idx %uint_33
OpStore %181 %184 None
%185 = OpCompositeConstruct %_arr_uint_uint_1 %idx
%186 = OpFunctionCall %void %tint_store_and_preserve_padding_5 %185 %188
%189 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %sb %uint_0 %idx %uint_35
OpStore %189 %192 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding = OpFunction %void None %195
%target_indices = OpFunctionParameter %_arr_uint_uint_1
%value_param = OpFunctionParameter %mat2v3float
%196 = OpLabel
%197 = OpCompositeExtract %uint %target_indices 0
%198 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %197 %uint_17 %uint_0
%200 = OpCompositeExtract %v3float %value_param 0
OpStore %198 %200 None
%201 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %197 %uint_17 %uint_1
%202 = OpCompositeExtract %v3float %value_param 1
OpStore %201 %202 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_0 = OpFunction %void None %205
%target_indices_0 = OpFunctionParameter %_arr_uint_uint_1
%value_param_0 = OpFunctionParameter %mat3v3float
%206 = OpLabel
%207 = OpCompositeExtract %uint %target_indices_0 0
%208 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %207 %uint_20 %uint_0
%210 = OpCompositeExtract %v3float %value_param_0 0
OpStore %208 %210 None
%211 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %207 %uint_20 %uint_1
%212 = OpCompositeExtract %v3float %value_param_0 1
OpStore %211 %212 None
%213 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %207 %uint_20 %uint_2
%214 = OpCompositeExtract %v3float %value_param_0 2
OpStore %213 %214 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_1 = OpFunction %void None %217
%target_indices_1 = OpFunctionParameter %_arr_uint_uint_1
%value_param_1 = OpFunctionParameter %mat4v3float
%218 = OpLabel
%219 = OpCompositeExtract %uint %target_indices_1 0
%220 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %219 %uint_23 %uint_0
%222 = OpCompositeExtract %v3float %value_param_1 0
OpStore %220 %222 None
%223 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %219 %uint_23 %uint_1
%224 = OpCompositeExtract %v3float %value_param_1 1
OpStore %223 %224 None
%225 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %219 %uint_23 %uint_2
%226 = OpCompositeExtract %v3float %value_param_1 2
OpStore %225 %226 None
%227 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %219 %uint_23 %uint_3
%228 = OpCompositeExtract %v3float %value_param_1 3
OpStore %227 %228 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_2 = OpFunction %void None %231
%target_indices_2 = OpFunctionParameter %_arr_uint_uint_1
%value_param_2 = OpFunctionParameter %mat2v3half
%232 = OpLabel
%233 = OpCompositeExtract %uint %target_indices_2 0
%234 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %233 %uint_26 %uint_0
%236 = OpCompositeExtract %v3half %value_param_2 0
OpStore %234 %236 None
%237 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %233 %uint_26 %uint_1
%238 = OpCompositeExtract %v3half %value_param_2 1
OpStore %237 %238 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_3 = OpFunction %void None %241
%target_indices_3 = OpFunctionParameter %_arr_uint_uint_1
%value_param_3 = OpFunctionParameter %mat3v3half
%242 = OpLabel
%243 = OpCompositeExtract %uint %target_indices_3 0
%244 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %243 %uint_29 %uint_0
%246 = OpCompositeExtract %v3half %value_param_3 0
OpStore %244 %246 None
%247 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %243 %uint_29 %uint_1
%248 = OpCompositeExtract %v3half %value_param_3 1
OpStore %247 %248 None
%249 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %243 %uint_29 %uint_2
%250 = OpCompositeExtract %v3half %value_param_3 2
OpStore %249 %250 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_4 = OpFunction %void None %253
%target_indices_4 = OpFunctionParameter %_arr_uint_uint_1
%value_param_4 = OpFunctionParameter %mat4v3half
%254 = OpLabel
%255 = OpCompositeExtract %uint %target_indices_4 0
%256 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %255 %uint_32 %uint_0
%258 = OpCompositeExtract %v3half %value_param_4 0
OpStore %256 %258 None
%259 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %255 %uint_32 %uint_1
%260 = OpCompositeExtract %v3half %value_param_4 1
OpStore %259 %260 None
%261 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %255 %uint_32 %uint_2
%262 = OpCompositeExtract %v3half %value_param_4 2
OpStore %261 %262 None
%263 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %255 %uint_32 %uint_3
%264 = OpCompositeExtract %v3half %value_param_4 3
OpStore %263 %264 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_5 = OpFunction %void None %267
%target_indices_5 = OpFunctionParameter %_arr_uint_uint_1
%value_param_5 = OpFunctionParameter %_arr_v3float_uint_2
%268 = OpLabel
%269 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function
OpStore %269 %value_param_5
%271 = OpCompositeExtract %uint %target_indices_5 0
OpBranch %272
%272 = OpLabel
OpBranch %275
%275 = OpLabel
%277 = OpPhi %uint %uint_0 %272 %278 %274
OpLoopMerge %276 %274 None
OpBranch %273
%273 = OpLabel
%279 = OpUGreaterThanEqual %bool %277 %uint_2
OpSelectionMerge %281 None
OpBranchConditional %279 %282 %281
%282 = OpLabel
OpBranch %276
%281 = OpLabel
%283 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %271 %uint_34 %277
%285 = OpAccessChain %_ptr_Function_v3float %269 %277
%287 = OpLoad %v3float %285 None
OpStore %283 %287 None
OpBranch %274
%274 = OpLabel
%278 = OpIAdd %uint %277 %uint_1
OpBranch %275
%276 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %289
%290 = OpLabel
%291 = OpLoad %uint %main_local_invocation_index_Input None
%292 = OpFunctionCall %void %main_inner %291
OpReturn
OpFunctionEnd