blob: 4774b039ebdfade890399b3f2fa14d5685e13768 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 337
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main" %idx_1
OpExecutionMode %main LocalSize 1 1 1
OpName %idx_1 "idx_1"
OpName %S "S"
OpMemberName %S 0 "arr"
OpName %Inner "Inner"
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 %sb "sb"
OpName %s_block "s_block"
OpMemberName %s_block 0 "inner"
OpName %s "s"
OpName %tint_ftoi "tint_ftoi"
OpName %v "v"
OpName %main_inner "main_inner"
OpName %idx "idx"
OpName %main "main"
OpDecorate %idx_1 BuiltIn LocalInvocationIndex
OpDecorate %S Block
OpMemberDecorate %S 0 Offset 0
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
OpMemberDecorate %Inner 34 Offset 736
OpDecorate %_arr_v3float_uint_2 ArrayStride 16
OpMemberDecorate %Inner 35 Offset 768
OpMemberDecorate %Inner 35 ColMajor
OpMemberDecorate %Inner 35 MatrixStride 4
OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16
OpDecorate %_runtimearr_Inner ArrayStride 800
OpDecorate %sb NonWritable
OpDecorate %sb Binding 0
OpDecorate %sb DescriptorSet 0
OpDecorate %s_block Block
OpMemberDecorate %s_block 0 Offset 0
OpDecorate %s DescriptorSet 0
OpDecorate %s Binding 1
%uint = OpTypeInt 32 0
%_ptr_Input_uint = OpTypePointer Input %uint
%idx_1 = OpVariable %_ptr_Input_uint Input
%float = OpTypeFloat 32
%int = OpTypeInt 32 1
%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
%s_block = OpTypeStruct %int
%_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block
%s = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer
%48 = OpTypeFunction %int %float
%float_2_14748352e_09 = OpConstant %float 2.14748352e+09
%bool = OpTypeBool
%float_n2_14748365e_09 = OpConstant %float -2.14748365e+09
%int_n2147483648 = OpConstant %int -2147483648
%int_2147483647 = OpConstant %int 2147483647
%void = OpTypeVoid
%62 = OpTypeFunction %void %uint
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float
%uint_1 = OpConstant %uint 1
%_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int
%_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint
%uint_3 = OpConstant %uint 3
%_ptr_StorageBuffer_half = OpTypePointer StorageBuffer %half
%uint_4 = OpConstant %uint 4
%_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float
%uint_5 = OpConstant %uint 5
%_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int
%uint_6 = OpConstant %uint 6
%_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint
%uint_7 = OpConstant %uint 7
%_ptr_StorageBuffer_v2half = OpTypePointer StorageBuffer %v2half
%uint_8 = OpConstant %uint 8
%_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float
%uint_9 = OpConstant %uint 9
%_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int
%uint_10 = OpConstant %uint 10
%_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint
%uint_11 = OpConstant %uint 11
%_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half
%uint_12 = OpConstant %uint 12
%_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float
%uint_13 = OpConstant %uint 13
%_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int
%uint_14 = OpConstant %uint 14
%_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint
%uint_15 = OpConstant %uint 15
%_ptr_StorageBuffer_v4half = OpTypePointer StorageBuffer %v4half
%uint_16 = OpConstant %uint 16
%_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float
%uint_17 = OpConstant %uint 17
%_ptr_StorageBuffer_mat2v3float = OpTypePointer StorageBuffer %mat2v3float
%uint_18 = OpConstant %uint 18
%_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float
%uint_19 = OpConstant %uint 19
%_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float
%uint_20 = OpConstant %uint 20
%_ptr_StorageBuffer_mat3v3float = OpTypePointer StorageBuffer %mat3v3float
%uint_21 = OpConstant %uint 21
%_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float
%uint_22 = OpConstant %uint 22
%_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float
%uint_23 = OpConstant %uint 23
%_ptr_StorageBuffer_mat4v3float = OpTypePointer StorageBuffer %mat4v3float
%uint_24 = OpConstant %uint 24
%_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float
%uint_25 = OpConstant %uint 25
%_ptr_StorageBuffer_mat2v2half = OpTypePointer StorageBuffer %mat2v2half
%uint_26 = OpConstant %uint 26
%_ptr_StorageBuffer_mat2v3half = OpTypePointer StorageBuffer %mat2v3half
%uint_27 = OpConstant %uint 27
%_ptr_StorageBuffer_mat2v4half = OpTypePointer StorageBuffer %mat2v4half
%uint_28 = OpConstant %uint 28
%_ptr_StorageBuffer_mat3v2half = OpTypePointer StorageBuffer %mat3v2half
%uint_29 = OpConstant %uint 29
%_ptr_StorageBuffer_mat3v3half = OpTypePointer StorageBuffer %mat3v3half
%uint_30 = OpConstant %uint 30
%_ptr_StorageBuffer_mat3v4half = OpTypePointer StorageBuffer %mat3v4half
%uint_31 = OpConstant %uint 31
%_ptr_StorageBuffer_mat4v2half = OpTypePointer StorageBuffer %mat4v2half
%uint_32 = OpConstant %uint 32
%_ptr_StorageBuffer_mat4v3half = OpTypePointer StorageBuffer %mat4v3half
%uint_33 = OpConstant %uint 33
%_ptr_StorageBuffer_mat4v4half = OpTypePointer StorageBuffer %mat4v4half
%uint_34 = OpConstant %uint 34
%_ptr_StorageBuffer__arr_v3float_uint_2 = OpTypePointer StorageBuffer %_arr_v3float_uint_2
%uint_35 = OpConstant %uint 35
%_ptr_StorageBuffer__arr_mat4v2half_uint_2 = OpTypePointer StorageBuffer %_arr_mat4v2half_uint_2
%251 = OpConstantNull %int
%332 = OpTypeFunction %void
%tint_ftoi = OpFunction %int None %48
%v = OpFunctionParameter %float
%51 = OpLabel
%54 = OpFOrdLessThan %bool %v %float_2_14748352e_09
%58 = OpFOrdLessThan %bool %v %float_n2_14748365e_09
%60 = OpConvertFToS %int %v
%56 = OpSelect %int %58 %int_n2147483648 %60
%52 = OpSelect %int %54 %56 %int_2147483647
OpReturnValue %52
OpFunctionEnd
%main_inner = OpFunction %void None %62
%idx = OpFunctionParameter %uint
%66 = OpLabel
%69 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %idx %uint_0
%70 = OpLoad %float %69
%73 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %idx %uint_1
%74 = OpLoad %int %73
%76 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %idx %uint_2
%77 = OpLoad %uint %76
%80 = OpAccessChain %_ptr_StorageBuffer_half %sb %uint_0 %idx %uint_3
%81 = OpLoad %half %80
%84 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %idx %uint_4
%85 = OpLoad %v2float %84
%88 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %idx %uint_5
%89 = OpLoad %v2int %88
%92 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %idx %uint_6
%93 = OpLoad %v2uint %92
%96 = OpAccessChain %_ptr_StorageBuffer_v2half %sb %uint_0 %idx %uint_7
%97 = OpLoad %v2half %96
%100 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %idx %uint_8
%101 = OpLoad %v3float %100
%104 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %idx %uint_9
%105 = OpLoad %v3int %104
%108 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %idx %uint_10
%109 = OpLoad %v3uint %108
%112 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %idx %uint_11
%113 = OpLoad %v3half %112
%116 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %idx %uint_12
%117 = OpLoad %v4float %116
%120 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %idx %uint_13
%121 = OpLoad %v4int %120
%124 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %idx %uint_14
%125 = OpLoad %v4uint %124
%128 = OpAccessChain %_ptr_StorageBuffer_v4half %sb %uint_0 %idx %uint_15
%129 = OpLoad %v4half %128
%132 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %idx %uint_16
%133 = OpLoad %mat2v2float %132
%136 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %sb %uint_0 %idx %uint_17
%137 = OpLoad %mat2v3float %136
%140 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %idx %uint_18
%141 = OpLoad %mat2v4float %140
%144 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %idx %uint_19
%145 = OpLoad %mat3v2float %144
%148 = OpAccessChain %_ptr_StorageBuffer_mat3v3float %sb %uint_0 %idx %uint_20
%149 = OpLoad %mat3v3float %148
%152 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %idx %uint_21
%153 = OpLoad %mat3v4float %152
%156 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %idx %uint_22
%157 = OpLoad %mat4v2float %156
%160 = OpAccessChain %_ptr_StorageBuffer_mat4v3float %sb %uint_0 %idx %uint_23
%161 = OpLoad %mat4v3float %160
%164 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %idx %uint_24
%165 = OpLoad %mat4v4float %164
%168 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %sb %uint_0 %idx %uint_25
%169 = OpLoad %mat2v2half %168
%172 = OpAccessChain %_ptr_StorageBuffer_mat2v3half %sb %uint_0 %idx %uint_26
%173 = OpLoad %mat2v3half %172
%176 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %sb %uint_0 %idx %uint_27
%177 = OpLoad %mat2v4half %176
%180 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %sb %uint_0 %idx %uint_28
%181 = OpLoad %mat3v2half %180
%184 = OpAccessChain %_ptr_StorageBuffer_mat3v3half %sb %uint_0 %idx %uint_29
%185 = OpLoad %mat3v3half %184
%188 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %sb %uint_0 %idx %uint_30
%189 = OpLoad %mat3v4half %188
%192 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %sb %uint_0 %idx %uint_31
%193 = OpLoad %mat4v2half %192
%196 = OpAccessChain %_ptr_StorageBuffer_mat4v3half %sb %uint_0 %idx %uint_32
%197 = OpLoad %mat4v3half %196
%200 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %sb %uint_0 %idx %uint_33
%201 = OpLoad %mat4v4half %200
%204 = OpAccessChain %_ptr_StorageBuffer__arr_v3float_uint_2 %sb %uint_0 %idx %uint_34
%205 = OpLoad %_arr_v3float_uint_2 %204
%208 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %sb %uint_0 %idx %uint_35
%209 = OpLoad %_arr_mat4v2half_uint_2 %208
%210 = OpAccessChain %_ptr_StorageBuffer_int %s %uint_0
%211 = OpFunctionCall %int %tint_ftoi %70
%212 = OpIAdd %int %211 %74
%213 = OpBitcast %int %77
%214 = OpIAdd %int %212 %213
%215 = OpConvertFToS %int %81
%216 = OpIAdd %int %214 %215
%218 = OpCompositeExtract %float %85 0
%217 = OpFunctionCall %int %tint_ftoi %218
%219 = OpIAdd %int %216 %217
%220 = OpCompositeExtract %int %89 0
%221 = OpIAdd %int %219 %220
%223 = OpCompositeExtract %uint %93 0
%222 = OpBitcast %int %223
%224 = OpIAdd %int %221 %222
%226 = OpCompositeExtract %half %97 0
%225 = OpConvertFToS %int %226
%227 = OpIAdd %int %224 %225
%229 = OpCompositeExtract %float %101 1
%228 = OpFunctionCall %int %tint_ftoi %229
%230 = OpIAdd %int %227 %228
%231 = OpCompositeExtract %int %105 1
%232 = OpIAdd %int %230 %231
%234 = OpCompositeExtract %uint %109 1
%233 = OpBitcast %int %234
%235 = OpIAdd %int %232 %233
%237 = OpCompositeExtract %half %113 1
%236 = OpConvertFToS %int %237
%238 = OpIAdd %int %235 %236
%240 = OpCompositeExtract %float %117 2
%239 = OpFunctionCall %int %tint_ftoi %240
%241 = OpIAdd %int %238 %239
%242 = OpCompositeExtract %int %121 2
%243 = OpIAdd %int %241 %242
%245 = OpCompositeExtract %uint %125 2
%244 = OpBitcast %int %245
%246 = OpIAdd %int %243 %244
%248 = OpCompositeExtract %half %129 2
%247 = OpConvertFToS %int %248
%249 = OpIAdd %int %246 %247
%252 = OpCompositeExtract %v2float %133 0
%253 = OpCompositeExtract %float %252 0
%250 = OpFunctionCall %int %tint_ftoi %253
%254 = OpIAdd %int %249 %250
%256 = OpCompositeExtract %v3float %137 0
%257 = OpCompositeExtract %float %256 0
%255 = OpFunctionCall %int %tint_ftoi %257
%258 = OpIAdd %int %254 %255
%260 = OpCompositeExtract %v4float %141 0
%261 = OpCompositeExtract %float %260 0
%259 = OpFunctionCall %int %tint_ftoi %261
%262 = OpIAdd %int %258 %259
%264 = OpCompositeExtract %v2float %145 0
%265 = OpCompositeExtract %float %264 0
%263 = OpFunctionCall %int %tint_ftoi %265
%266 = OpIAdd %int %262 %263
%268 = OpCompositeExtract %v3float %149 0
%269 = OpCompositeExtract %float %268 0
%267 = OpFunctionCall %int %tint_ftoi %269
%270 = OpIAdd %int %266 %267
%272 = OpCompositeExtract %v4float %153 0
%273 = OpCompositeExtract %float %272 0
%271 = OpFunctionCall %int %tint_ftoi %273
%274 = OpIAdd %int %270 %271
%276 = OpCompositeExtract %v2float %157 0
%277 = OpCompositeExtract %float %276 0
%275 = OpFunctionCall %int %tint_ftoi %277
%278 = OpIAdd %int %274 %275
%280 = OpCompositeExtract %v3float %161 0
%281 = OpCompositeExtract %float %280 0
%279 = OpFunctionCall %int %tint_ftoi %281
%282 = OpIAdd %int %278 %279
%284 = OpCompositeExtract %v4float %165 0
%285 = OpCompositeExtract %float %284 0
%283 = OpFunctionCall %int %tint_ftoi %285
%286 = OpIAdd %int %282 %283
%288 = OpCompositeExtract %v2half %169 0
%289 = OpCompositeExtract %half %288 0
%287 = OpConvertFToS %int %289
%290 = OpIAdd %int %286 %287
%292 = OpCompositeExtract %v3half %173 0
%293 = OpCompositeExtract %half %292 0
%291 = OpConvertFToS %int %293
%294 = OpIAdd %int %290 %291
%296 = OpCompositeExtract %v4half %177 0
%297 = OpCompositeExtract %half %296 0
%295 = OpConvertFToS %int %297
%298 = OpIAdd %int %294 %295
%300 = OpCompositeExtract %v2half %181 0
%301 = OpCompositeExtract %half %300 0
%299 = OpConvertFToS %int %301
%302 = OpIAdd %int %298 %299
%304 = OpCompositeExtract %v3half %185 0
%305 = OpCompositeExtract %half %304 0
%303 = OpConvertFToS %int %305
%306 = OpIAdd %int %302 %303
%308 = OpCompositeExtract %v4half %189 0
%309 = OpCompositeExtract %half %308 0
%307 = OpConvertFToS %int %309
%310 = OpIAdd %int %306 %307
%312 = OpCompositeExtract %v2half %193 0
%313 = OpCompositeExtract %half %312 0
%311 = OpConvertFToS %int %313
%314 = OpIAdd %int %310 %311
%316 = OpCompositeExtract %v3half %197 0
%317 = OpCompositeExtract %half %316 0
%315 = OpConvertFToS %int %317
%318 = OpIAdd %int %314 %315
%320 = OpCompositeExtract %v4half %201 0
%321 = OpCompositeExtract %half %320 0
%319 = OpConvertFToS %int %321
%322 = OpIAdd %int %318 %319
%324 = OpCompositeExtract %mat4v2half %209 0
%325 = OpCompositeExtract %v2half %324 0
%326 = OpCompositeExtract %half %325 0
%323 = OpConvertFToS %int %326
%327 = OpIAdd %int %322 %323
%329 = OpCompositeExtract %v3float %205 0
%330 = OpCompositeExtract %float %329 0
%328 = OpFunctionCall %int %tint_ftoi %330
%331 = OpIAdd %int %327 %328
OpStore %210 %331
OpReturn
OpFunctionEnd
%main = OpFunction %void None %332
%334 = OpLabel
%336 = OpLoad %uint %idx_1
%335 = OpFunctionCall %void %main_inner %336
OpReturn
OpFunctionEnd