blob: 36644f01d3fdf8cc42888f4ab97fdfcce9783d8f [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 314
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpMemberName %S 0 "scalar_f32"
OpMemberName %S 1 "scalar_i32"
OpMemberName %S 2 "scalar_u32"
OpMemberName %S 3 "scalar_f16"
OpMemberName %S 4 "vec2_f32"
OpMemberName %S 5 "vec2_i32"
OpMemberName %S 6 "vec2_u32"
OpMemberName %S 7 "vec2_f16"
OpMemberName %S 8 "vec3_f32"
OpMemberName %S 9 "vec3_i32"
OpMemberName %S 10 "vec3_u32"
OpMemberName %S 11 "vec3_f16"
OpMemberName %S 12 "vec4_f32"
OpMemberName %S 13 "vec4_i32"
OpMemberName %S 14 "vec4_u32"
OpMemberName %S 15 "vec4_f16"
OpMemberName %S 16 "mat2x2_f32"
OpMemberName %S 17 "mat2x3_f32"
OpMemberName %S 18 "mat2x4_f32"
OpMemberName %S 19 "mat3x2_f32"
OpMemberName %S 20 "mat3x3_f32"
OpMemberName %S 21 "mat3x4_f32"
OpMemberName %S 22 "mat4x2_f32"
OpMemberName %S 23 "mat4x3_f32"
OpMemberName %S 24 "mat4x4_f32"
OpMemberName %S 25 "mat2x2_f16"
OpMemberName %S 26 "mat2x3_f16"
OpMemberName %S 27 "mat2x4_f16"
OpMemberName %S 28 "mat3x2_f16"
OpMemberName %S 29 "mat3x3_f16"
OpMemberName %S 30 "mat3x4_f16"
OpMemberName %S 31 "mat4x2_f16"
OpMemberName %S 32 "mat4x3_f16"
OpMemberName %S 33 "mat4x4_f16"
OpMemberName %S 34 "arr2_vec3_f32"
OpMemberName %S 35 "arr2_mat4x2_f16"
OpMemberName %Inner 0 "scalar_i32"
OpMemberName %Inner 1 "scalar_f32"
OpMemberName %Inner 2 "scalar_f16"
OpName %Inner "Inner"
OpMemberName %S 36 "struct_inner"
OpMemberName %S 37 "array_struct_inner"
OpName %S "S"
OpMemberName %sb_block 0 "inner"
OpName %sb_block "sb_block"
OpName %main "main"
OpName %tint_store_and_preserve_padding "tint_store_and_preserve_padding"
OpName %value_param "value_param"
OpName %tint_store_and_preserve_padding_0 "tint_store_and_preserve_padding"
OpName %value_param_0 "value_param"
OpName %tint_store_and_preserve_padding_1 "tint_store_and_preserve_padding"
OpName %value_param_1 "value_param"
OpName %tint_store_and_preserve_padding_2 "tint_store_and_preserve_padding"
OpName %value_param_2 "value_param"
OpName %tint_store_and_preserve_padding_3 "tint_store_and_preserve_padding"
OpName %value_param_3 "value_param"
OpName %tint_store_and_preserve_padding_4 "tint_store_and_preserve_padding"
OpName %value_param_4 "value_param"
OpName %tint_store_and_preserve_padding_5 "tint_store_and_preserve_padding"
OpName %value_param_5 "value_param"
OpName %tint_store_and_preserve_padding_6 "tint_store_and_preserve_padding"
OpName %value_param_6 "value_param"
OpName %tint_store_and_preserve_padding_7 "tint_store_and_preserve_padding"
OpName %target_indices "target_indices"
OpName %value_param_7 "value_param"
OpName %tint_store_and_preserve_padding_8 "tint_store_and_preserve_padding"
OpName %value_param_8 "value_param"
OpMemberDecorate %S 0 Offset 0
OpMemberDecorate %S 1 Offset 4
OpMemberDecorate %S 2 Offset 8
OpMemberDecorate %S 3 Offset 12
OpMemberDecorate %S 4 Offset 16
OpMemberDecorate %S 5 Offset 24
OpMemberDecorate %S 6 Offset 32
OpMemberDecorate %S 7 Offset 40
OpMemberDecorate %S 8 Offset 48
OpMemberDecorate %S 9 Offset 64
OpMemberDecorate %S 10 Offset 80
OpMemberDecorate %S 11 Offset 96
OpMemberDecorate %S 12 Offset 112
OpMemberDecorate %S 13 Offset 128
OpMemberDecorate %S 14 Offset 144
OpMemberDecorate %S 15 Offset 160
OpMemberDecorate %S 16 Offset 168
OpMemberDecorate %S 16 ColMajor
OpMemberDecorate %S 16 MatrixStride 8
OpMemberDecorate %S 17 Offset 192
OpMemberDecorate %S 17 ColMajor
OpMemberDecorate %S 17 MatrixStride 16
OpMemberDecorate %S 18 Offset 224
OpMemberDecorate %S 18 ColMajor
OpMemberDecorate %S 18 MatrixStride 16
OpMemberDecorate %S 19 Offset 256
OpMemberDecorate %S 19 ColMajor
OpMemberDecorate %S 19 MatrixStride 8
OpMemberDecorate %S 20 Offset 288
OpMemberDecorate %S 20 ColMajor
OpMemberDecorate %S 20 MatrixStride 16
OpMemberDecorate %S 21 Offset 336
OpMemberDecorate %S 21 ColMajor
OpMemberDecorate %S 21 MatrixStride 16
OpMemberDecorate %S 22 Offset 384
OpMemberDecorate %S 22 ColMajor
OpMemberDecorate %S 22 MatrixStride 8
OpMemberDecorate %S 23 Offset 416
OpMemberDecorate %S 23 ColMajor
OpMemberDecorate %S 23 MatrixStride 16
OpMemberDecorate %S 24 Offset 480
OpMemberDecorate %S 24 ColMajor
OpMemberDecorate %S 24 MatrixStride 16
OpMemberDecorate %S 25 Offset 544
OpMemberDecorate %S 25 ColMajor
OpMemberDecorate %S 25 MatrixStride 4
OpMemberDecorate %S 26 Offset 552
OpMemberDecorate %S 26 ColMajor
OpMemberDecorate %S 26 MatrixStride 8
OpMemberDecorate %S 27 Offset 568
OpMemberDecorate %S 27 ColMajor
OpMemberDecorate %S 27 MatrixStride 8
OpMemberDecorate %S 28 Offset 584
OpMemberDecorate %S 28 ColMajor
OpMemberDecorate %S 28 MatrixStride 4
OpMemberDecorate %S 29 Offset 600
OpMemberDecorate %S 29 ColMajor
OpMemberDecorate %S 29 MatrixStride 8
OpMemberDecorate %S 30 Offset 624
OpMemberDecorate %S 30 ColMajor
OpMemberDecorate %S 30 MatrixStride 8
OpMemberDecorate %S 31 Offset 648
OpMemberDecorate %S 31 ColMajor
OpMemberDecorate %S 31 MatrixStride 4
OpMemberDecorate %S 32 Offset 664
OpMemberDecorate %S 32 ColMajor
OpMemberDecorate %S 32 MatrixStride 8
OpMemberDecorate %S 33 Offset 696
OpMemberDecorate %S 33 ColMajor
OpMemberDecorate %S 33 MatrixStride 8
OpDecorate %_arr_v3float_uint_2 ArrayStride 16
OpMemberDecorate %S 34 Offset 736
OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16
OpMemberDecorate %S 35 Offset 768
OpMemberDecorate %S 35 ColMajor
OpMemberDecorate %S 35 MatrixStride 4
OpMemberDecorate %Inner 0 Offset 0
OpMemberDecorate %Inner 1 Offset 4
OpMemberDecorate %Inner 2 Offset 8
OpMemberDecorate %S 36 Offset 800
OpDecorate %_arr_Inner_uint_4 ArrayStride 12
OpMemberDecorate %S 37 Offset 812
OpMemberDecorate %sb_block 0 Offset 0
OpDecorate %sb_block Block
OpDecorate %1 DescriptorSet 0
OpDecorate %1 Binding 0
OpDecorate %1 Coherent
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 %int %float %half
%uint_4 = OpConstant %uint 4
%_arr_Inner_uint_4 = OpTypeArray %Inner %uint_4
%S = 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 %Inner %_arr_Inner_uint_4
%sb_block = OpTypeStruct %S
%_ptr_StorageBuffer_sb_block = OpTypePointer StorageBuffer %sb_block
%1 = OpVariable %_ptr_StorageBuffer_sb_block StorageBuffer
%void = OpTypeVoid
%47 = OpTypeFunction %void
%_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
%65 = OpConstantNull %v2float
%_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int
%uint_5 = OpConstant %uint 5
%69 = OpConstantNull %v2int
%_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint
%uint_6 = OpConstant %uint 6
%73 = OpConstantNull %v2uint
%_ptr_StorageBuffer_v2half = OpTypePointer StorageBuffer %v2half
%uint_7 = OpConstant %uint 7
%77 = OpConstantNull %v2half
%_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float
%uint_8 = OpConstant %uint 8
%81 = OpConstantNull %v3float
%_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int
%uint_9 = OpConstant %uint 9
%85 = OpConstantNull %v3int
%_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint
%uint_10 = OpConstant %uint 10
%89 = OpConstantNull %v3uint
%_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half
%uint_11 = OpConstant %uint 11
%93 = OpConstantNull %v3half
%_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float
%uint_12 = OpConstant %uint 12
%97 = OpConstantNull %v4float
%_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int
%uint_13 = OpConstant %uint 13
%101 = OpConstantNull %v4int
%_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint
%uint_14 = OpConstant %uint 14
%105 = OpConstantNull %v4uint
%_ptr_StorageBuffer_v4half = OpTypePointer StorageBuffer %v4half
%uint_15 = OpConstant %uint 15
%109 = OpConstantNull %v4half
%_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float
%uint_16 = OpConstant %uint 16
%113 = OpConstantNull %mat2v2float
%116 = OpConstantNull %mat2v3float
%_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float
%uint_18 = OpConstant %uint 18
%120 = OpConstantNull %mat2v4float
%_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float
%uint_19 = OpConstant %uint 19
%124 = OpConstantNull %mat3v2float
%127 = OpConstantNull %mat3v3float
%_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float
%uint_21 = OpConstant %uint 21
%131 = OpConstantNull %mat3v4float
%_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float
%uint_22 = OpConstant %uint 22
%135 = OpConstantNull %mat4v2float
%138 = OpConstantNull %mat4v3float
%_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float
%uint_24 = OpConstant %uint 24
%142 = OpConstantNull %mat4v4float
%_ptr_StorageBuffer_mat2v2half = OpTypePointer StorageBuffer %mat2v2half
%uint_25 = OpConstant %uint 25
%146 = OpConstantNull %mat2v2half
%149 = OpConstantNull %mat2v3half
%_ptr_StorageBuffer_mat2v4half = OpTypePointer StorageBuffer %mat2v4half
%uint_27 = OpConstant %uint 27
%153 = OpConstantNull %mat2v4half
%_ptr_StorageBuffer_mat3v2half = OpTypePointer StorageBuffer %mat3v2half
%uint_28 = OpConstant %uint 28
%157 = OpConstantNull %mat3v2half
%160 = OpConstantNull %mat3v3half
%_ptr_StorageBuffer_mat3v4half = OpTypePointer StorageBuffer %mat3v4half
%uint_30 = OpConstant %uint 30
%164 = OpConstantNull %mat3v4half
%_ptr_StorageBuffer_mat4v2half = OpTypePointer StorageBuffer %mat4v2half
%uint_31 = OpConstant %uint 31
%168 = OpConstantNull %mat4v2half
%171 = OpConstantNull %mat4v3half
%_ptr_StorageBuffer_mat4v4half = OpTypePointer StorageBuffer %mat4v4half
%uint_33 = OpConstant %uint 33
%175 = OpConstantNull %mat4v4half
%178 = OpConstantNull %_arr_v3float_uint_2
%_ptr_StorageBuffer__arr_mat4v2half_uint_2 = OpTypePointer StorageBuffer %_arr_mat4v2half_uint_2
%uint_35 = OpConstant %uint 35
%182 = OpConstantNull %_arr_mat4v2half_uint_2
%185 = OpConstantNull %Inner
%188 = OpConstantNull %_arr_Inner_uint_4
%190 = OpTypeFunction %void %mat2v3float
%uint_17 = OpConstant %uint 17
%198 = OpTypeFunction %void %mat3v3float
%uint_20 = OpConstant %uint 20
%208 = OpTypeFunction %void %mat4v3float
%uint_23 = OpConstant %uint 23
%220 = OpTypeFunction %void %mat2v3half
%uint_26 = OpConstant %uint 26
%228 = OpTypeFunction %void %mat3v3half
%uint_29 = OpConstant %uint 29
%238 = OpTypeFunction %void %mat4v3half
%uint_32 = OpConstant %uint 32
%250 = OpTypeFunction %void %_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
%271 = OpTypeFunction %void %Inner
%uint_36 = OpConstant %uint 36
%_arr_uint_uint_1 = OpTypeArray %uint %uint_1
%284 = OpTypeFunction %void %_arr_uint_uint_1 %Inner
%uint_37 = OpConstant %uint 37
%295 = OpTypeFunction %void %_arr_Inner_uint_4
%_ptr_Function__arr_Inner_uint_4 = OpTypePointer Function %_arr_Inner_uint_4
%_ptr_Function_Inner = OpTypePointer Function %Inner
%main = OpFunction %void None %47
%48 = OpLabel
%49 = OpAccessChain %_ptr_StorageBuffer_float %1 %uint_0 %uint_0
OpStore %49 %float_0 None
%53 = OpAccessChain %_ptr_StorageBuffer_int %1 %uint_0 %uint_1
OpStore %53 %int_0 None
%57 = OpAccessChain %_ptr_StorageBuffer_uint %1 %uint_0 %uint_2
OpStore %57 %uint_0 None
%59 = OpAccessChain %_ptr_StorageBuffer_half %1 %uint_0 %uint_3
OpStore %59 %half_0x0p_0 None
%63 = OpAccessChain %_ptr_StorageBuffer_v2float %1 %uint_0 %uint_4
OpStore %63 %65 None
%66 = OpAccessChain %_ptr_StorageBuffer_v2int %1 %uint_0 %uint_5
OpStore %66 %69 None
%70 = OpAccessChain %_ptr_StorageBuffer_v2uint %1 %uint_0 %uint_6
OpStore %70 %73 None
%74 = OpAccessChain %_ptr_StorageBuffer_v2half %1 %uint_0 %uint_7
OpStore %74 %77 None
%78 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_8
OpStore %78 %81 None
%82 = OpAccessChain %_ptr_StorageBuffer_v3int %1 %uint_0 %uint_9
OpStore %82 %85 None
%86 = OpAccessChain %_ptr_StorageBuffer_v3uint %1 %uint_0 %uint_10
OpStore %86 %89 None
%90 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_11
OpStore %90 %93 None
%94 = OpAccessChain %_ptr_StorageBuffer_v4float %1 %uint_0 %uint_12
OpStore %94 %97 None
%98 = OpAccessChain %_ptr_StorageBuffer_v4int %1 %uint_0 %uint_13
OpStore %98 %101 None
%102 = OpAccessChain %_ptr_StorageBuffer_v4uint %1 %uint_0 %uint_14
OpStore %102 %105 None
%106 = OpAccessChain %_ptr_StorageBuffer_v4half %1 %uint_0 %uint_15
OpStore %106 %109 None
%110 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %1 %uint_0 %uint_16
OpStore %110 %113 None
%114 = OpFunctionCall %void %tint_store_and_preserve_padding %116
%117 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %1 %uint_0 %uint_18
OpStore %117 %120 None
%121 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %1 %uint_0 %uint_19
OpStore %121 %124 None
%125 = OpFunctionCall %void %tint_store_and_preserve_padding_0 %127
%128 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %1 %uint_0 %uint_21
OpStore %128 %131 None
%132 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %1 %uint_0 %uint_22
OpStore %132 %135 None
%136 = OpFunctionCall %void %tint_store_and_preserve_padding_1 %138
%139 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %1 %uint_0 %uint_24
OpStore %139 %142 None
%143 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %1 %uint_0 %uint_25
OpStore %143 %146 None
%147 = OpFunctionCall %void %tint_store_and_preserve_padding_2 %149
%150 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %1 %uint_0 %uint_27
OpStore %150 %153 None
%154 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %1 %uint_0 %uint_28
OpStore %154 %157 None
%158 = OpFunctionCall %void %tint_store_and_preserve_padding_3 %160
%161 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %1 %uint_0 %uint_30
OpStore %161 %164 None
%165 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %1 %uint_0 %uint_31
OpStore %165 %168 None
%169 = OpFunctionCall %void %tint_store_and_preserve_padding_4 %171
%172 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %1 %uint_0 %uint_33
OpStore %172 %175 None
%176 = OpFunctionCall %void %tint_store_and_preserve_padding_5 %178
%179 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %1 %uint_0 %uint_35
OpStore %179 %182 None
%183 = OpFunctionCall %void %tint_store_and_preserve_padding_6 %185
%186 = OpFunctionCall %void %tint_store_and_preserve_padding_8 %188
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding = OpFunction %void None %190
%value_param = OpFunctionParameter %mat2v3float
%191 = OpLabel
%192 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_17 %uint_0
%194 = OpCompositeExtract %v3float %value_param 0
OpStore %192 %194 None
%195 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_17 %uint_1
%196 = OpCompositeExtract %v3float %value_param 1
OpStore %195 %196 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_0 = OpFunction %void None %198
%value_param_0 = OpFunctionParameter %mat3v3float
%199 = OpLabel
%200 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_20 %uint_0
%202 = OpCompositeExtract %v3float %value_param_0 0
OpStore %200 %202 None
%203 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_20 %uint_1
%204 = OpCompositeExtract %v3float %value_param_0 1
OpStore %203 %204 None
%205 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_20 %uint_2
%206 = OpCompositeExtract %v3float %value_param_0 2
OpStore %205 %206 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_1 = OpFunction %void None %208
%value_param_1 = OpFunctionParameter %mat4v3float
%209 = OpLabel
%210 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_23 %uint_0
%212 = OpCompositeExtract %v3float %value_param_1 0
OpStore %210 %212 None
%213 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_23 %uint_1
%214 = OpCompositeExtract %v3float %value_param_1 1
OpStore %213 %214 None
%215 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_23 %uint_2
%216 = OpCompositeExtract %v3float %value_param_1 2
OpStore %215 %216 None
%217 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_23 %uint_3
%218 = OpCompositeExtract %v3float %value_param_1 3
OpStore %217 %218 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_2 = OpFunction %void None %220
%value_param_2 = OpFunctionParameter %mat2v3half
%221 = OpLabel
%222 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_26 %uint_0
%224 = OpCompositeExtract %v3half %value_param_2 0
OpStore %222 %224 None
%225 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_26 %uint_1
%226 = OpCompositeExtract %v3half %value_param_2 1
OpStore %225 %226 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_3 = OpFunction %void None %228
%value_param_3 = OpFunctionParameter %mat3v3half
%229 = OpLabel
%230 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_29 %uint_0
%232 = OpCompositeExtract %v3half %value_param_3 0
OpStore %230 %232 None
%233 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_29 %uint_1
%234 = OpCompositeExtract %v3half %value_param_3 1
OpStore %233 %234 None
%235 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_29 %uint_2
%236 = OpCompositeExtract %v3half %value_param_3 2
OpStore %235 %236 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_4 = OpFunction %void None %238
%value_param_4 = OpFunctionParameter %mat4v3half
%239 = OpLabel
%240 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_32 %uint_0
%242 = OpCompositeExtract %v3half %value_param_4 0
OpStore %240 %242 None
%243 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_32 %uint_1
%244 = OpCompositeExtract %v3half %value_param_4 1
OpStore %243 %244 None
%245 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_32 %uint_2
%246 = OpCompositeExtract %v3half %value_param_4 2
OpStore %245 %246 None
%247 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_32 %uint_3
%248 = OpCompositeExtract %v3half %value_param_4 3
OpStore %247 %248 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_5 = OpFunction %void None %250
%value_param_5 = OpFunctionParameter %_arr_v3float_uint_2
%251 = OpLabel
%252 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function
OpStore %252 %value_param_5
OpBranch %254
%254 = OpLabel
OpBranch %257
%257 = OpLabel
%259 = OpPhi %uint %uint_0 %254 %260 %256
OpLoopMerge %258 %256 None
OpBranch %255
%255 = OpLabel
%261 = OpUGreaterThanEqual %bool %259 %uint_2
OpSelectionMerge %263 None
OpBranchConditional %261 %264 %263
%264 = OpLabel
OpBranch %258
%263 = OpLabel
%265 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_34 %259
%267 = OpAccessChain %_ptr_Function_v3float %252 %259
%269 = OpLoad %v3float %267 None
OpStore %265 %269 None
OpBranch %256
%256 = OpLabel
%260 = OpIAdd %uint %259 %uint_1
OpBranch %257
%258 = OpLabel
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_6 = OpFunction %void None %271
%value_param_6 = OpFunctionParameter %Inner
%272 = OpLabel
%273 = OpAccessChain %_ptr_StorageBuffer_int %1 %uint_0 %uint_36 %uint_0
%275 = OpCompositeExtract %int %value_param_6 0
OpStore %273 %275 None
%276 = OpAccessChain %_ptr_StorageBuffer_float %1 %uint_0 %uint_36 %uint_1
%277 = OpCompositeExtract %float %value_param_6 1
OpStore %276 %277 None
%278 = OpAccessChain %_ptr_StorageBuffer_half %1 %uint_0 %uint_36 %uint_2
%279 = OpCompositeExtract %half %value_param_6 2
OpStore %278 %279 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_7 = OpFunction %void None %284
%target_indices = OpFunctionParameter %_arr_uint_uint_1
%value_param_7 = OpFunctionParameter %Inner
%285 = OpLabel
%286 = OpCompositeExtract %uint %target_indices 0
%287 = OpAccessChain %_ptr_StorageBuffer_int %1 %uint_0 %uint_37 %286 %uint_0
%289 = OpCompositeExtract %int %value_param_7 0
OpStore %287 %289 None
%290 = OpAccessChain %_ptr_StorageBuffer_float %1 %uint_0 %uint_37 %286 %uint_1
%291 = OpCompositeExtract %float %value_param_7 1
OpStore %290 %291 None
%292 = OpAccessChain %_ptr_StorageBuffer_half %1 %uint_0 %uint_37 %286 %uint_2
%293 = OpCompositeExtract %half %value_param_7 2
OpStore %292 %293 None
OpReturn
OpFunctionEnd
%tint_store_and_preserve_padding_8 = OpFunction %void None %295
%value_param_8 = OpFunctionParameter %_arr_Inner_uint_4
%296 = OpLabel
%297 = OpVariable %_ptr_Function__arr_Inner_uint_4 Function
OpStore %297 %value_param_8
OpBranch %299
%299 = OpLabel
OpBranch %302
%302 = OpLabel
%304 = OpPhi %uint %uint_0 %299 %305 %301
OpLoopMerge %303 %301 None
OpBranch %300
%300 = OpLabel
%306 = OpUGreaterThanEqual %bool %304 %uint_4
OpSelectionMerge %307 None
OpBranchConditional %306 %308 %307
%308 = OpLabel
OpBranch %303
%307 = OpLabel
%309 = OpAccessChain %_ptr_Function_Inner %297 %304
%311 = OpLoad %Inner %309 None
%312 = OpCompositeConstruct %_arr_uint_uint_1 %304
%313 = OpFunctionCall %void %tint_store_and_preserve_padding_7 %312 %311
OpBranch %301
%301 = OpLabel
%305 = OpIAdd %uint %304 %uint_1
OpBranch %302
%303 = OpLabel
OpReturn
OpFunctionEnd