blob: 7aee25a60317f47445f986c75f3261ad8125e99e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 327
; 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"
OpMemberName %s_block 0 "inner"
OpName %s_block "s_block"
OpName %main_local_invocation_index_Input "main_local_invocation_index_Input"
OpName %main_inner "main_inner"
OpName %idx "idx"
OpName %scalar_f32 "scalar_f32"
OpName %scalar_i32 "scalar_i32"
OpName %scalar_u32 "scalar_u32"
OpName %scalar_f16 "scalar_f16"
OpName %vec2_f32 "vec2_f32"
OpName %vec2_i32 "vec2_i32"
OpName %vec2_u32 "vec2_u32"
OpName %vec2_f16 "vec2_f16"
OpName %vec3_f32 "vec3_f32"
OpName %vec3_i32 "vec3_i32"
OpName %vec3_u32 "vec3_u32"
OpName %vec3_f16 "vec3_f16"
OpName %vec4_f32 "vec4_f32"
OpName %vec4_i32 "vec4_i32"
OpName %vec4_u32 "vec4_u32"
OpName %vec4_f16 "vec4_f16"
OpName %mat2x2_f32 "mat2x2_f32"
OpName %mat2x3_f32 "mat2x3_f32"
OpName %mat2x4_f32 "mat2x4_f32"
OpName %mat3x2_f32 "mat3x2_f32"
OpName %mat3x3_f32 "mat3x3_f32"
OpName %mat3x4_f32 "mat3x4_f32"
OpName %mat4x2_f32 "mat4x2_f32"
OpName %mat4x3_f32 "mat4x3_f32"
OpName %mat4x4_f32 "mat4x4_f32"
OpName %mat2x2_f16 "mat2x2_f16"
OpName %mat2x3_f16 "mat2x3_f16"
OpName %mat2x4_f16 "mat2x4_f16"
OpName %mat3x2_f16 "mat3x2_f16"
OpName %mat3x3_f16 "mat3x3_f16"
OpName %mat3x4_f16 "mat3x4_f16"
OpName %mat4x2_f16 "mat4x2_f16"
OpName %mat4x3_f16 "mat4x3_f16"
OpName %mat4x4_f16 "mat4x4_f16"
OpName %arr2_vec3_f32 "arr2_vec3_f32"
OpName %arr2_mat4x2_f16 "arr2_mat4x2_f16"
OpName %tint_f32_to_i32 "tint_f32_to_i32"
OpName %value "value"
OpName %tint_f16_to_i32 "tint_f16_to_i32"
OpName %value_0 "value"
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 NonWritable
OpMemberDecorate %s_block 0 Offset 0
OpDecorate %s_block Block
OpDecorate %43 DescriptorSet 0
OpDecorate %43 Binding 1
OpDecorate %43 Coherent
OpDecorate %main_local_invocation_index_Input BuiltIn LocalInvocationIndex
%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
%s_block = OpTypeStruct %int
%_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block
%43 = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer
%_ptr_Input_uint = OpTypePointer Input %uint
%main_local_invocation_index_Input = OpVariable %_ptr_Input_uint Input
%void = OpTypeVoid
%51 = OpTypeFunction %void %uint
%_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float
%uint_0 = OpConstant %uint 0
%_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int
%uint_1 = OpConstant %uint 1
%_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint
%_ptr_StorageBuffer_half = OpTypePointer StorageBuffer %half
%uint_3 = OpConstant %uint 3
%_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float
%uint_4 = OpConstant %uint 4
%_ptr_StorageBuffer_v2int = OpTypePointer StorageBuffer %v2int
%uint_5 = OpConstant %uint 5
%_ptr_StorageBuffer_v2uint = OpTypePointer StorageBuffer %v2uint
%uint_6 = OpConstant %uint 6
%_ptr_StorageBuffer_v2half = OpTypePointer StorageBuffer %v2half
%uint_7 = OpConstant %uint 7
%_ptr_StorageBuffer_v3float = OpTypePointer StorageBuffer %v3float
%uint_8 = OpConstant %uint 8
%_ptr_StorageBuffer_v3int = OpTypePointer StorageBuffer %v3int
%uint_9 = OpConstant %uint 9
%_ptr_StorageBuffer_v3uint = OpTypePointer StorageBuffer %v3uint
%uint_10 = OpConstant %uint 10
%_ptr_StorageBuffer_v3half = OpTypePointer StorageBuffer %v3half
%uint_11 = OpConstant %uint 11
%_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float
%uint_12 = OpConstant %uint 12
%_ptr_StorageBuffer_v4int = OpTypePointer StorageBuffer %v4int
%uint_13 = OpConstant %uint 13
%_ptr_StorageBuffer_v4uint = OpTypePointer StorageBuffer %v4uint
%uint_14 = OpConstant %uint 14
%_ptr_StorageBuffer_v4half = OpTypePointer StorageBuffer %v4half
%uint_15 = OpConstant %uint 15
%_ptr_StorageBuffer_mat2v2float = OpTypePointer StorageBuffer %mat2v2float
%uint_16 = OpConstant %uint 16
%_ptr_StorageBuffer_mat2v3float = OpTypePointer StorageBuffer %mat2v3float
%uint_17 = OpConstant %uint 17
%_ptr_StorageBuffer_mat2v4float = OpTypePointer StorageBuffer %mat2v4float
%uint_18 = OpConstant %uint 18
%_ptr_StorageBuffer_mat3v2float = OpTypePointer StorageBuffer %mat3v2float
%uint_19 = OpConstant %uint 19
%_ptr_StorageBuffer_mat3v3float = OpTypePointer StorageBuffer %mat3v3float
%uint_20 = OpConstant %uint 20
%_ptr_StorageBuffer_mat3v4float = OpTypePointer StorageBuffer %mat3v4float
%uint_21 = OpConstant %uint 21
%_ptr_StorageBuffer_mat4v2float = OpTypePointer StorageBuffer %mat4v2float
%uint_22 = OpConstant %uint 22
%_ptr_StorageBuffer_mat4v3float = OpTypePointer StorageBuffer %mat4v3float
%uint_23 = OpConstant %uint 23
%_ptr_StorageBuffer_mat4v4float = OpTypePointer StorageBuffer %mat4v4float
%uint_24 = OpConstant %uint 24
%_ptr_StorageBuffer_mat2v2half = OpTypePointer StorageBuffer %mat2v2half
%uint_25 = OpConstant %uint 25
%_ptr_StorageBuffer_mat2v3half = OpTypePointer StorageBuffer %mat2v3half
%uint_26 = OpConstant %uint 26
%_ptr_StorageBuffer_mat2v4half = OpTypePointer StorageBuffer %mat2v4half
%uint_27 = OpConstant %uint 27
%_ptr_StorageBuffer_mat3v2half = OpTypePointer StorageBuffer %mat3v2half
%uint_28 = OpConstant %uint 28
%_ptr_StorageBuffer_mat3v3half = OpTypePointer StorageBuffer %mat3v3half
%uint_29 = OpConstant %uint 29
%_ptr_StorageBuffer_mat3v4half = OpTypePointer StorageBuffer %mat3v4half
%uint_30 = OpConstant %uint 30
%_ptr_StorageBuffer_mat4v2half = OpTypePointer StorageBuffer %mat4v2half
%uint_31 = OpConstant %uint 31
%_ptr_StorageBuffer_mat4v3half = OpTypePointer StorageBuffer %mat4v3half
%uint_32 = OpConstant %uint 32
%_ptr_StorageBuffer_mat4v4half = OpTypePointer StorageBuffer %mat4v4half
%uint_33 = OpConstant %uint 33
%_ptr_StorageBuffer__arr_v3float_uint_2 = OpTypePointer StorageBuffer %_arr_v3float_uint_2
%uint_34 = OpConstant %uint 34
%_ptr_StorageBuffer__arr_mat4v2half_uint_2 = OpTypePointer StorageBuffer %_arr_mat4v2half_uint_2
%uint_35 = OpConstant %uint 35
%_ptr_StorageBuffer_int_0 = OpTypePointer StorageBuffer %int
%300 = OpTypeFunction %int %float
%float_n2_14748365e_09 = OpConstant %float -2.14748365e+09
%bool = OpTypeBool
%int_n2147483648 = OpConstant %int -2147483648
%float_2_14748352e_09 = OpConstant %float 2.14748352e+09
%int_2147483647 = OpConstant %int 2147483647
%313 = OpTypeFunction %int %half
%half_n0x1_ffcp_15 = OpConstant %half -0x1.ffcp+15
%half_0x1_ffcp_15 = OpConstant %half 0x1.ffcp+15
%323 = OpTypeFunction %void
%main_inner = OpFunction %void None %51
%idx = OpFunctionParameter %uint
%52 = OpLabel
%53 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %idx %uint_0
%scalar_f32 = OpLoad %float %53 None
%57 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %idx %uint_1
%scalar_i32 = OpLoad %int %57 None
%61 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %idx %uint_2
%scalar_u32 = OpLoad %uint %61 None
%64 = OpAccessChain %_ptr_StorageBuffer_half %sb %uint_0 %idx %uint_3
%scalar_f16 = OpLoad %half %64 None
%68 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %idx %uint_4
%vec2_f32 = OpLoad %v2float %68 None
%72 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %idx %uint_5
%vec2_i32 = OpLoad %v2int %72 None
%76 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %idx %uint_6
%vec2_u32 = OpLoad %v2uint %76 None
%80 = OpAccessChain %_ptr_StorageBuffer_v2half %sb %uint_0 %idx %uint_7
%vec2_f16 = OpLoad %v2half %80 None
%84 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %idx %uint_8
%vec3_f32 = OpLoad %v3float %84 None
%88 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %idx %uint_9
%vec3_i32 = OpLoad %v3int %88 None
%92 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %idx %uint_10
%vec3_u32 = OpLoad %v3uint %92 None
%96 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %idx %uint_11
%vec3_f16 = OpLoad %v3half %96 None
%100 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %idx %uint_12
%vec4_f32 = OpLoad %v4float %100 None
%104 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %idx %uint_13
%vec4_i32 = OpLoad %v4int %104 None
%108 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %idx %uint_14
%vec4_u32 = OpLoad %v4uint %108 None
%112 = OpAccessChain %_ptr_StorageBuffer_v4half %sb %uint_0 %idx %uint_15
%vec4_f16 = OpLoad %v4half %112 None
%116 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %idx %uint_16
%mat2x2_f32 = OpLoad %mat2v2float %116 None
%120 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %sb %uint_0 %idx %uint_17
%mat2x3_f32 = OpLoad %mat2v3float %120 None
%124 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %idx %uint_18
%mat2x4_f32 = OpLoad %mat2v4float %124 None
%128 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %idx %uint_19
%mat3x2_f32 = OpLoad %mat3v2float %128 None
%132 = OpAccessChain %_ptr_StorageBuffer_mat3v3float %sb %uint_0 %idx %uint_20
%mat3x3_f32 = OpLoad %mat3v3float %132 None
%136 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %idx %uint_21
%mat3x4_f32 = OpLoad %mat3v4float %136 None
%140 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %idx %uint_22
%mat4x2_f32 = OpLoad %mat4v2float %140 None
%144 = OpAccessChain %_ptr_StorageBuffer_mat4v3float %sb %uint_0 %idx %uint_23
%mat4x3_f32 = OpLoad %mat4v3float %144 None
%148 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %idx %uint_24
%mat4x4_f32 = OpLoad %mat4v4float %148 None
%152 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %sb %uint_0 %idx %uint_25
%mat2x2_f16 = OpLoad %mat2v2half %152 None
%156 = OpAccessChain %_ptr_StorageBuffer_mat2v3half %sb %uint_0 %idx %uint_26
%mat2x3_f16 = OpLoad %mat2v3half %156 None
%160 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %sb %uint_0 %idx %uint_27
%mat2x4_f16 = OpLoad %mat2v4half %160 None
%164 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %sb %uint_0 %idx %uint_28
%mat3x2_f16 = OpLoad %mat3v2half %164 None
%168 = OpAccessChain %_ptr_StorageBuffer_mat3v3half %sb %uint_0 %idx %uint_29
%mat3x3_f16 = OpLoad %mat3v3half %168 None
%172 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %sb %uint_0 %idx %uint_30
%mat3x4_f16 = OpLoad %mat3v4half %172 None
%176 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %sb %uint_0 %idx %uint_31
%mat4x2_f16 = OpLoad %mat4v2half %176 None
%180 = OpAccessChain %_ptr_StorageBuffer_mat4v3half %sb %uint_0 %idx %uint_32
%mat4x3_f16 = OpLoad %mat4v3half %180 None
%184 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %sb %uint_0 %idx %uint_33
%mat4x4_f16 = OpLoad %mat4v4half %184 None
%188 = OpAccessChain %_ptr_StorageBuffer__arr_v3float_uint_2 %sb %uint_0 %idx %uint_34
%arr2_vec3_f32 = OpLoad %_arr_v3float_uint_2 %188 None
%192 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %sb %uint_0 %idx %uint_35
%arr2_mat4x2_f16 = OpLoad %_arr_mat4v2half_uint_2 %192 None
%196 = OpFunctionCall %int %tint_f32_to_i32 %scalar_f32
%198 = OpIAdd %int %196 %scalar_i32
%199 = OpBitcast %int %scalar_u32
%200 = OpIAdd %int %198 %199
%201 = OpFunctionCall %int %tint_f16_to_i32 %scalar_f16
%203 = OpIAdd %int %200 %201
%204 = OpCompositeExtract %float %vec2_f32 0
%205 = OpFunctionCall %int %tint_f32_to_i32 %204
%206 = OpIAdd %int %203 %205
%207 = OpCompositeExtract %int %vec2_i32 0
%208 = OpIAdd %int %206 %207
%209 = OpCompositeExtract %uint %vec2_u32 0
%210 = OpBitcast %int %209
%211 = OpIAdd %int %208 %210
%212 = OpCompositeExtract %half %vec2_f16 0
%213 = OpFunctionCall %int %tint_f16_to_i32 %212
%214 = OpIAdd %int %211 %213
%215 = OpCompositeExtract %float %vec3_f32 1
%216 = OpFunctionCall %int %tint_f32_to_i32 %215
%217 = OpIAdd %int %214 %216
%218 = OpCompositeExtract %int %vec3_i32 1
%219 = OpIAdd %int %217 %218
%220 = OpCompositeExtract %uint %vec3_u32 1
%221 = OpBitcast %int %220
%222 = OpIAdd %int %219 %221
%223 = OpCompositeExtract %half %vec3_f16 1
%224 = OpFunctionCall %int %tint_f16_to_i32 %223
%225 = OpIAdd %int %222 %224
%226 = OpCompositeExtract %float %vec4_f32 2
%227 = OpFunctionCall %int %tint_f32_to_i32 %226
%228 = OpIAdd %int %225 %227
%229 = OpCompositeExtract %int %vec4_i32 2
%230 = OpIAdd %int %228 %229
%231 = OpCompositeExtract %uint %vec4_u32 2
%232 = OpBitcast %int %231
%233 = OpIAdd %int %230 %232
%234 = OpCompositeExtract %half %vec4_f16 2
%235 = OpFunctionCall %int %tint_f16_to_i32 %234
%236 = OpIAdd %int %233 %235
%237 = OpCompositeExtract %float %mat2x2_f32 0 0
%238 = OpFunctionCall %int %tint_f32_to_i32 %237
%239 = OpIAdd %int %236 %238
%240 = OpCompositeExtract %float %mat2x3_f32 0 0
%241 = OpFunctionCall %int %tint_f32_to_i32 %240
%242 = OpIAdd %int %239 %241
%243 = OpCompositeExtract %float %mat2x4_f32 0 0
%244 = OpFunctionCall %int %tint_f32_to_i32 %243
%245 = OpIAdd %int %242 %244
%246 = OpCompositeExtract %float %mat3x2_f32 0 0
%247 = OpFunctionCall %int %tint_f32_to_i32 %246
%248 = OpIAdd %int %245 %247
%249 = OpCompositeExtract %float %mat3x3_f32 0 0
%250 = OpFunctionCall %int %tint_f32_to_i32 %249
%251 = OpIAdd %int %248 %250
%252 = OpCompositeExtract %float %mat3x4_f32 0 0
%253 = OpFunctionCall %int %tint_f32_to_i32 %252
%254 = OpIAdd %int %251 %253
%255 = OpCompositeExtract %float %mat4x2_f32 0 0
%256 = OpFunctionCall %int %tint_f32_to_i32 %255
%257 = OpIAdd %int %254 %256
%258 = OpCompositeExtract %float %mat4x3_f32 0 0
%259 = OpFunctionCall %int %tint_f32_to_i32 %258
%260 = OpIAdd %int %257 %259
%261 = OpCompositeExtract %float %mat4x4_f32 0 0
%262 = OpFunctionCall %int %tint_f32_to_i32 %261
%263 = OpIAdd %int %260 %262
%264 = OpCompositeExtract %half %mat2x2_f16 0 0
%265 = OpFunctionCall %int %tint_f16_to_i32 %264
%266 = OpIAdd %int %263 %265
%267 = OpCompositeExtract %half %mat2x3_f16 0 0
%268 = OpFunctionCall %int %tint_f16_to_i32 %267
%269 = OpIAdd %int %266 %268
%270 = OpCompositeExtract %half %mat2x4_f16 0 0
%271 = OpFunctionCall %int %tint_f16_to_i32 %270
%272 = OpIAdd %int %269 %271
%273 = OpCompositeExtract %half %mat3x2_f16 0 0
%274 = OpFunctionCall %int %tint_f16_to_i32 %273
%275 = OpIAdd %int %272 %274
%276 = OpCompositeExtract %half %mat3x3_f16 0 0
%277 = OpFunctionCall %int %tint_f16_to_i32 %276
%278 = OpIAdd %int %275 %277
%279 = OpCompositeExtract %half %mat3x4_f16 0 0
%280 = OpFunctionCall %int %tint_f16_to_i32 %279
%281 = OpIAdd %int %278 %280
%282 = OpCompositeExtract %half %mat4x2_f16 0 0
%283 = OpFunctionCall %int %tint_f16_to_i32 %282
%284 = OpIAdd %int %281 %283
%285 = OpCompositeExtract %half %mat4x3_f16 0 0
%286 = OpFunctionCall %int %tint_f16_to_i32 %285
%287 = OpIAdd %int %284 %286
%288 = OpCompositeExtract %half %mat4x4_f16 0 0
%289 = OpFunctionCall %int %tint_f16_to_i32 %288
%290 = OpIAdd %int %287 %289
%291 = OpCompositeExtract %half %arr2_mat4x2_f16 0 0 0
%292 = OpFunctionCall %int %tint_f16_to_i32 %291
%293 = OpIAdd %int %290 %292
%294 = OpCompositeExtract %float %arr2_vec3_f32 0 0
%295 = OpFunctionCall %int %tint_f32_to_i32 %294
%296 = OpIAdd %int %293 %295
%297 = OpAccessChain %_ptr_StorageBuffer_int_0 %43 %uint_0
OpStore %297 %296 None
OpReturn
OpFunctionEnd
%tint_f32_to_i32 = OpFunction %int None %300
%value = OpFunctionParameter %float
%301 = OpLabel
%302 = OpConvertFToS %int %value
%303 = OpFOrdGreaterThanEqual %bool %value %float_n2_14748365e_09
%306 = OpSelect %int %303 %302 %int_n2147483648
%308 = OpFOrdLessThanEqual %bool %value %float_2_14748352e_09
%310 = OpSelect %int %308 %306 %int_2147483647
OpReturnValue %310
OpFunctionEnd
%tint_f16_to_i32 = OpFunction %int None %313
%value_0 = OpFunctionParameter %half
%314 = OpLabel
%315 = OpConvertFToS %int %value_0
%316 = OpFOrdGreaterThanEqual %bool %value_0 %half_n0x1_ffcp_15
%318 = OpSelect %int %316 %315 %int_n2147483648
%319 = OpFOrdLessThanEqual %bool %value_0 %half_0x1_ffcp_15
%321 = OpSelect %int %319 %318 %int_2147483647
OpReturnValue %321
OpFunctionEnd
%main = OpFunction %void None %323
%324 = OpLabel
%325 = OpLoad %uint %main_local_invocation_index_Input None
%326 = OpFunctionCall %void %main_inner %325
OpReturn
OpFunctionEnd