| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 622 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| %60 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" %main_local_invocation_index_Input |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %Inner_tint_explicit_layout 0 "scalar_f32" |
| OpMemberName %Inner_tint_explicit_layout 1 "scalar_i32" |
| OpMemberName %Inner_tint_explicit_layout 2 "scalar_u32" |
| OpMemberName %Inner_tint_explicit_layout 3 "scalar_f16" |
| OpMemberName %Inner_tint_explicit_layout 4 "vec2_f32" |
| OpMemberName %Inner_tint_explicit_layout 5 "vec2_i32" |
| OpMemberName %Inner_tint_explicit_layout 6 "vec2_u32" |
| OpMemberName %Inner_tint_explicit_layout 7 "vec2_f16" |
| OpMemberName %Inner_tint_explicit_layout 8 "vec3_f32" |
| OpMemberName %Inner_tint_explicit_layout 9 "vec3_i32" |
| OpMemberName %Inner_tint_explicit_layout 10 "vec3_u32" |
| OpMemberName %Inner_tint_explicit_layout 11 "vec3_f16" |
| OpMemberName %Inner_tint_explicit_layout 12 "vec4_f32" |
| OpMemberName %Inner_tint_explicit_layout 13 "vec4_i32" |
| OpMemberName %Inner_tint_explicit_layout 14 "vec4_u32" |
| OpMemberName %Inner_tint_explicit_layout 15 "vec4_f16" |
| OpMemberName %Inner_tint_explicit_layout 16 "mat2x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 17 "mat2x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 18 "mat2x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 19 "mat3x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 20 "mat3x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 21 "mat3x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 22 "mat4x2_f32" |
| OpMemberName %Inner_tint_explicit_layout 23 "mat4x3_f32" |
| OpMemberName %Inner_tint_explicit_layout 24 "mat4x4_f32" |
| OpMemberName %Inner_tint_explicit_layout 25 "mat2x2_f16" |
| OpMemberName %Inner_tint_explicit_layout 26 "mat2x3_f16" |
| OpMemberName %Inner_tint_explicit_layout 27 "mat2x4_f16" |
| OpMemberName %Inner_tint_explicit_layout 28 "mat3x2_f16" |
| OpMemberName %Inner_tint_explicit_layout 29 "mat3x3_f16" |
| OpMemberName %Inner_tint_explicit_layout 30 "mat3x4_f16" |
| OpMemberName %Inner_tint_explicit_layout 31 "mat4x2_f16" |
| OpMemberName %Inner_tint_explicit_layout 32 "mat4x3_f16" |
| OpMemberName %Inner_tint_explicit_layout 33 "mat4x4_f16" |
| OpMemberName %Inner_tint_explicit_layout 34 "arr2_vec3_f32" |
| OpMemberName %Inner_tint_explicit_layout 35 "arr2_mat4x2_f16" |
| OpName %Inner_tint_explicit_layout "Inner_tint_explicit_layout" |
| OpMemberName %S_tint_explicit_layout 0 "arr" |
| OpName %S_tint_explicit_layout "S_tint_explicit_layout" |
| 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" |
| OpName %tint_convert_explicit_layout "tint_convert_explicit_layout" |
| OpName %tint_source "tint_source" |
| OpName %tint_convert_explicit_layout_0 "tint_convert_explicit_layout" |
| OpName %tint_source_0 "tint_source" |
| OpMemberDecorate %Inner_tint_explicit_layout 0 Offset 0 |
| OpMemberDecorate %Inner_tint_explicit_layout 1 Offset 4 |
| OpMemberDecorate %Inner_tint_explicit_layout 2 Offset 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 3 Offset 12 |
| OpMemberDecorate %Inner_tint_explicit_layout 4 Offset 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 5 Offset 24 |
| OpMemberDecorate %Inner_tint_explicit_layout 6 Offset 32 |
| OpMemberDecorate %Inner_tint_explicit_layout 7 Offset 40 |
| OpMemberDecorate %Inner_tint_explicit_layout 8 Offset 48 |
| OpMemberDecorate %Inner_tint_explicit_layout 9 Offset 64 |
| OpMemberDecorate %Inner_tint_explicit_layout 10 Offset 80 |
| OpMemberDecorate %Inner_tint_explicit_layout 11 Offset 96 |
| OpMemberDecorate %Inner_tint_explicit_layout 12 Offset 112 |
| OpMemberDecorate %Inner_tint_explicit_layout 13 Offset 128 |
| OpMemberDecorate %Inner_tint_explicit_layout 14 Offset 144 |
| OpMemberDecorate %Inner_tint_explicit_layout 15 Offset 160 |
| OpMemberDecorate %Inner_tint_explicit_layout 16 Offset 168 |
| OpMemberDecorate %Inner_tint_explicit_layout 16 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 16 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 17 Offset 192 |
| OpMemberDecorate %Inner_tint_explicit_layout 17 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 17 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 18 Offset 224 |
| OpMemberDecorate %Inner_tint_explicit_layout 18 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 18 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 19 Offset 256 |
| OpMemberDecorate %Inner_tint_explicit_layout 19 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 19 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 20 Offset 288 |
| OpMemberDecorate %Inner_tint_explicit_layout 20 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 20 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 21 Offset 336 |
| OpMemberDecorate %Inner_tint_explicit_layout 21 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 21 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 22 Offset 384 |
| OpMemberDecorate %Inner_tint_explicit_layout 22 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 22 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 23 Offset 416 |
| OpMemberDecorate %Inner_tint_explicit_layout 23 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 23 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 24 Offset 480 |
| OpMemberDecorate %Inner_tint_explicit_layout 24 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 24 MatrixStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 25 Offset 544 |
| OpMemberDecorate %Inner_tint_explicit_layout 25 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 25 MatrixStride 4 |
| OpMemberDecorate %Inner_tint_explicit_layout 26 Offset 552 |
| OpMemberDecorate %Inner_tint_explicit_layout 26 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 26 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 27 Offset 568 |
| OpMemberDecorate %Inner_tint_explicit_layout 27 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 27 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 28 Offset 584 |
| OpMemberDecorate %Inner_tint_explicit_layout 28 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 28 MatrixStride 4 |
| OpMemberDecorate %Inner_tint_explicit_layout 29 Offset 600 |
| OpMemberDecorate %Inner_tint_explicit_layout 29 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 29 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 30 Offset 624 |
| OpMemberDecorate %Inner_tint_explicit_layout 30 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 30 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 31 Offset 648 |
| OpMemberDecorate %Inner_tint_explicit_layout 31 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 31 MatrixStride 4 |
| OpMemberDecorate %Inner_tint_explicit_layout 32 Offset 664 |
| OpMemberDecorate %Inner_tint_explicit_layout 32 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 32 MatrixStride 8 |
| OpMemberDecorate %Inner_tint_explicit_layout 33 Offset 696 |
| OpMemberDecorate %Inner_tint_explicit_layout 33 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 33 MatrixStride 8 |
| OpDecorate %_arr_v3float_uint_2 ArrayStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 34 Offset 736 |
| OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16 |
| OpMemberDecorate %Inner_tint_explicit_layout 35 Offset 768 |
| OpMemberDecorate %Inner_tint_explicit_layout 35 ColMajor |
| OpMemberDecorate %Inner_tint_explicit_layout 35 MatrixStride 4 |
| OpDecorate %_runtimearr_Inner_tint_explicit_layout ArrayStride 800 |
| OpMemberDecorate %S_tint_explicit_layout 0 Offset 0 |
| OpDecorate %S_tint_explicit_layout 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_tint_explicit_layout = 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_tint_explicit_layout = OpTypeRuntimeArray %Inner_tint_explicit_layout |
| %S_tint_explicit_layout = OpTypeStruct %_runtimearr_Inner_tint_explicit_layout |
| %_ptr_StorageBuffer_S_tint_explicit_layout = OpTypePointer StorageBuffer %S_tint_explicit_layout |
| %sb = OpVariable %_ptr_StorageBuffer_S_tint_explicit_layout 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__runtimearr_Inner_tint_explicit_layout = OpTypePointer StorageBuffer %_runtimearr_Inner_tint_explicit_layout |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float |
| %_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int |
| %_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 |
| %_arr_v3float_uint_2_0 = OpTypeArray %v3float %uint_2 |
| %_ptr_StorageBuffer__arr_mat4v2half_uint_2 = OpTypePointer StorageBuffer %_arr_mat4v2half_uint_2 |
| %uint_35 = OpConstant %uint 35 |
| %_arr_mat4v2half_uint_2_0 = OpTypeArray %mat4v2half %uint_2 |
| %_ptr_StorageBuffer_int_0 = OpTypePointer StorageBuffer %int |
| %557 = OpTypeFunction %int %float |
| %float_n2_14748365e_09 = OpConstant %float -2.14748365e+09 |
| %float_2_14748352e_09 = OpConstant %float 2.14748352e+09 |
| %564 = OpTypeFunction %int %half |
| %half_n0x1_ffcp_15 = OpConstant %half -0x1.ffcp+15 |
| %half_0x1_ffcp_15 = OpConstant %half 0x1.ffcp+15 |
| %571 = OpTypeFunction %void |
| %576 = OpTypeFunction %_arr_v3float_uint_2_0 %_arr_v3float_uint_2 |
| %_ptr_Function__arr_v3float_uint_2 = OpTypePointer Function %_arr_v3float_uint_2 |
| %_ptr_Function__arr_v3float_uint_2_0 = OpTypePointer Function %_arr_v3float_uint_2_0 |
| %582 = OpConstantNull %_arr_v3float_uint_2_0 |
| %bool = OpTypeBool |
| %_ptr_Function_v3float = OpTypePointer Function %v3float |
| %600 = OpTypeFunction %_arr_mat4v2half_uint_2_0 %_arr_mat4v2half_uint_2 |
| %_ptr_Function__arr_mat4v2half_uint_2 = OpTypePointer Function %_arr_mat4v2half_uint_2 |
| %_ptr_Function__arr_mat4v2half_uint_2_0 = OpTypePointer Function %_arr_mat4v2half_uint_2_0 |
| %606 = OpConstantNull %_arr_mat4v2half_uint_2_0 |
| %_ptr_Function_mat4v2half = OpTypePointer Function %mat4v2half |
| %main_inner = OpFunction %void None %51 |
| %idx = OpFunctionParameter %uint |
| %52 = OpLabel |
| %53 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %56 = OpArrayLength %uint %sb 0 |
| %57 = OpISub %uint %56 %uint_1 |
| %59 = OpExtInst %uint %60 UMin %idx %57 |
| %61 = OpAccessChain %_ptr_StorageBuffer_float %sb %uint_0 %59 %uint_0 |
| %scalar_f32 = OpLoad %float %61 None |
| %64 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %65 = OpArrayLength %uint %sb 0 |
| %66 = OpISub %uint %65 %uint_1 |
| %67 = OpExtInst %uint %60 UMin %idx %66 |
| %68 = OpAccessChain %_ptr_StorageBuffer_int %sb %uint_0 %67 %uint_1 |
| %scalar_i32 = OpLoad %int %68 None |
| %71 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %72 = OpArrayLength %uint %sb 0 |
| %73 = OpISub %uint %72 %uint_1 |
| %74 = OpExtInst %uint %60 UMin %idx %73 |
| %75 = OpAccessChain %_ptr_StorageBuffer_uint %sb %uint_0 %74 %uint_2 |
| %scalar_u32 = OpLoad %uint %75 None |
| %78 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %79 = OpArrayLength %uint %sb 0 |
| %80 = OpISub %uint %79 %uint_1 |
| %81 = OpExtInst %uint %60 UMin %idx %80 |
| %82 = OpAccessChain %_ptr_StorageBuffer_half %sb %uint_0 %81 %uint_3 |
| %scalar_f16 = OpLoad %half %82 None |
| %86 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %87 = OpArrayLength %uint %sb 0 |
| %88 = OpISub %uint %87 %uint_1 |
| %89 = OpExtInst %uint %60 UMin %idx %88 |
| %90 = OpAccessChain %_ptr_StorageBuffer_v2float %sb %uint_0 %89 %uint_4 |
| %vec2_f32 = OpLoad %v2float %90 None |
| %94 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %95 = OpArrayLength %uint %sb 0 |
| %96 = OpISub %uint %95 %uint_1 |
| %97 = OpExtInst %uint %60 UMin %idx %96 |
| %98 = OpAccessChain %_ptr_StorageBuffer_v2int %sb %uint_0 %97 %uint_5 |
| %vec2_i32 = OpLoad %v2int %98 None |
| %102 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %103 = OpArrayLength %uint %sb 0 |
| %104 = OpISub %uint %103 %uint_1 |
| %105 = OpExtInst %uint %60 UMin %idx %104 |
| %106 = OpAccessChain %_ptr_StorageBuffer_v2uint %sb %uint_0 %105 %uint_6 |
| %vec2_u32 = OpLoad %v2uint %106 None |
| %110 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %111 = OpArrayLength %uint %sb 0 |
| %112 = OpISub %uint %111 %uint_1 |
| %113 = OpExtInst %uint %60 UMin %idx %112 |
| %114 = OpAccessChain %_ptr_StorageBuffer_v2half %sb %uint_0 %113 %uint_7 |
| %vec2_f16 = OpLoad %v2half %114 None |
| %118 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %119 = OpArrayLength %uint %sb 0 |
| %120 = OpISub %uint %119 %uint_1 |
| %121 = OpExtInst %uint %60 UMin %idx %120 |
| %122 = OpAccessChain %_ptr_StorageBuffer_v3float %sb %uint_0 %121 %uint_8 |
| %vec3_f32 = OpLoad %v3float %122 None |
| %126 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %127 = OpArrayLength %uint %sb 0 |
| %128 = OpISub %uint %127 %uint_1 |
| %129 = OpExtInst %uint %60 UMin %idx %128 |
| %130 = OpAccessChain %_ptr_StorageBuffer_v3int %sb %uint_0 %129 %uint_9 |
| %vec3_i32 = OpLoad %v3int %130 None |
| %134 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %135 = OpArrayLength %uint %sb 0 |
| %136 = OpISub %uint %135 %uint_1 |
| %137 = OpExtInst %uint %60 UMin %idx %136 |
| %138 = OpAccessChain %_ptr_StorageBuffer_v3uint %sb %uint_0 %137 %uint_10 |
| %vec3_u32 = OpLoad %v3uint %138 None |
| %142 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %143 = OpArrayLength %uint %sb 0 |
| %144 = OpISub %uint %143 %uint_1 |
| %145 = OpExtInst %uint %60 UMin %idx %144 |
| %146 = OpAccessChain %_ptr_StorageBuffer_v3half %sb %uint_0 %145 %uint_11 |
| %vec3_f16 = OpLoad %v3half %146 None |
| %150 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %151 = OpArrayLength %uint %sb 0 |
| %152 = OpISub %uint %151 %uint_1 |
| %153 = OpExtInst %uint %60 UMin %idx %152 |
| %154 = OpAccessChain %_ptr_StorageBuffer_v4float %sb %uint_0 %153 %uint_12 |
| %vec4_f32 = OpLoad %v4float %154 None |
| %158 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %159 = OpArrayLength %uint %sb 0 |
| %160 = OpISub %uint %159 %uint_1 |
| %161 = OpExtInst %uint %60 UMin %idx %160 |
| %162 = OpAccessChain %_ptr_StorageBuffer_v4int %sb %uint_0 %161 %uint_13 |
| %vec4_i32 = OpLoad %v4int %162 None |
| %166 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %167 = OpArrayLength %uint %sb 0 |
| %168 = OpISub %uint %167 %uint_1 |
| %169 = OpExtInst %uint %60 UMin %idx %168 |
| %170 = OpAccessChain %_ptr_StorageBuffer_v4uint %sb %uint_0 %169 %uint_14 |
| %vec4_u32 = OpLoad %v4uint %170 None |
| %174 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %175 = OpArrayLength %uint %sb 0 |
| %176 = OpISub %uint %175 %uint_1 |
| %177 = OpExtInst %uint %60 UMin %idx %176 |
| %178 = OpAccessChain %_ptr_StorageBuffer_v4half %sb %uint_0 %177 %uint_15 |
| %vec4_f16 = OpLoad %v4half %178 None |
| %182 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %183 = OpArrayLength %uint %sb 0 |
| %184 = OpISub %uint %183 %uint_1 |
| %185 = OpExtInst %uint %60 UMin %idx %184 |
| %186 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %sb %uint_0 %185 %uint_16 |
| %mat2x2_f32 = OpLoad %mat2v2float %186 None |
| %190 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %191 = OpArrayLength %uint %sb 0 |
| %192 = OpISub %uint %191 %uint_1 |
| %193 = OpExtInst %uint %60 UMin %idx %192 |
| %194 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %sb %uint_0 %193 %uint_17 |
| %mat2x3_f32 = OpLoad %mat2v3float %194 None |
| %198 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %199 = OpArrayLength %uint %sb 0 |
| %200 = OpISub %uint %199 %uint_1 |
| %201 = OpExtInst %uint %60 UMin %idx %200 |
| %202 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %sb %uint_0 %201 %uint_18 |
| %mat2x4_f32 = OpLoad %mat2v4float %202 None |
| %206 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %207 = OpArrayLength %uint %sb 0 |
| %208 = OpISub %uint %207 %uint_1 |
| %209 = OpExtInst %uint %60 UMin %idx %208 |
| %210 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %sb %uint_0 %209 %uint_19 |
| %mat3x2_f32 = OpLoad %mat3v2float %210 None |
| %214 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %215 = OpArrayLength %uint %sb 0 |
| %216 = OpISub %uint %215 %uint_1 |
| %217 = OpExtInst %uint %60 UMin %idx %216 |
| %218 = OpAccessChain %_ptr_StorageBuffer_mat3v3float %sb %uint_0 %217 %uint_20 |
| %mat3x3_f32 = OpLoad %mat3v3float %218 None |
| %222 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %223 = OpArrayLength %uint %sb 0 |
| %224 = OpISub %uint %223 %uint_1 |
| %225 = OpExtInst %uint %60 UMin %idx %224 |
| %226 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %sb %uint_0 %225 %uint_21 |
| %mat3x4_f32 = OpLoad %mat3v4float %226 None |
| %230 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %231 = OpArrayLength %uint %sb 0 |
| %232 = OpISub %uint %231 %uint_1 |
| %233 = OpExtInst %uint %60 UMin %idx %232 |
| %234 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %sb %uint_0 %233 %uint_22 |
| %mat4x2_f32 = OpLoad %mat4v2float %234 None |
| %238 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %239 = OpArrayLength %uint %sb 0 |
| %240 = OpISub %uint %239 %uint_1 |
| %241 = OpExtInst %uint %60 UMin %idx %240 |
| %242 = OpAccessChain %_ptr_StorageBuffer_mat4v3float %sb %uint_0 %241 %uint_23 |
| %mat4x3_f32 = OpLoad %mat4v3float %242 None |
| %246 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %247 = OpArrayLength %uint %sb 0 |
| %248 = OpISub %uint %247 %uint_1 |
| %249 = OpExtInst %uint %60 UMin %idx %248 |
| %250 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %sb %uint_0 %249 %uint_24 |
| %mat4x4_f32 = OpLoad %mat4v4float %250 None |
| %254 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %255 = OpArrayLength %uint %sb 0 |
| %256 = OpISub %uint %255 %uint_1 |
| %257 = OpExtInst %uint %60 UMin %idx %256 |
| %258 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %sb %uint_0 %257 %uint_25 |
| %mat2x2_f16 = OpLoad %mat2v2half %258 None |
| %262 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %263 = OpArrayLength %uint %sb 0 |
| %264 = OpISub %uint %263 %uint_1 |
| %265 = OpExtInst %uint %60 UMin %idx %264 |
| %266 = OpAccessChain %_ptr_StorageBuffer_mat2v3half %sb %uint_0 %265 %uint_26 |
| %mat2x3_f16 = OpLoad %mat2v3half %266 None |
| %270 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %271 = OpArrayLength %uint %sb 0 |
| %272 = OpISub %uint %271 %uint_1 |
| %273 = OpExtInst %uint %60 UMin %idx %272 |
| %274 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %sb %uint_0 %273 %uint_27 |
| %mat2x4_f16 = OpLoad %mat2v4half %274 None |
| %278 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %279 = OpArrayLength %uint %sb 0 |
| %280 = OpISub %uint %279 %uint_1 |
| %281 = OpExtInst %uint %60 UMin %idx %280 |
| %282 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %sb %uint_0 %281 %uint_28 |
| %mat3x2_f16 = OpLoad %mat3v2half %282 None |
| %286 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %287 = OpArrayLength %uint %sb 0 |
| %288 = OpISub %uint %287 %uint_1 |
| %289 = OpExtInst %uint %60 UMin %idx %288 |
| %290 = OpAccessChain %_ptr_StorageBuffer_mat3v3half %sb %uint_0 %289 %uint_29 |
| %mat3x3_f16 = OpLoad %mat3v3half %290 None |
| %294 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %295 = OpArrayLength %uint %sb 0 |
| %296 = OpISub %uint %295 %uint_1 |
| %297 = OpExtInst %uint %60 UMin %idx %296 |
| %298 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %sb %uint_0 %297 %uint_30 |
| %mat3x4_f16 = OpLoad %mat3v4half %298 None |
| %302 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %303 = OpArrayLength %uint %sb 0 |
| %304 = OpISub %uint %303 %uint_1 |
| %305 = OpExtInst %uint %60 UMin %idx %304 |
| %306 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %sb %uint_0 %305 %uint_31 |
| %mat4x2_f16 = OpLoad %mat4v2half %306 None |
| %310 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %311 = OpArrayLength %uint %sb 0 |
| %312 = OpISub %uint %311 %uint_1 |
| %313 = OpExtInst %uint %60 UMin %idx %312 |
| %314 = OpAccessChain %_ptr_StorageBuffer_mat4v3half %sb %uint_0 %313 %uint_32 |
| %mat4x3_f16 = OpLoad %mat4v3half %314 None |
| %318 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %319 = OpArrayLength %uint %sb 0 |
| %320 = OpISub %uint %319 %uint_1 |
| %321 = OpExtInst %uint %60 UMin %idx %320 |
| %322 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %sb %uint_0 %321 %uint_33 |
| %mat4x4_f16 = OpLoad %mat4v4half %322 None |
| %326 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %327 = OpArrayLength %uint %sb 0 |
| %328 = OpISub %uint %327 %uint_1 |
| %329 = OpExtInst %uint %60 UMin %idx %328 |
| %330 = OpAccessChain %_ptr_StorageBuffer__arr_v3float_uint_2 %sb %uint_0 %329 %uint_34 |
| %333 = OpLoad %_arr_v3float_uint_2 %330 None |
| %arr2_vec3_f32 = OpFunctionCall %_arr_v3float_uint_2_0 %tint_convert_explicit_layout %333 |
| %337 = OpAccessChain %_ptr_StorageBuffer__runtimearr_Inner_tint_explicit_layout %sb %uint_0 |
| %338 = OpArrayLength %uint %sb 0 |
| %339 = OpISub %uint %338 %uint_1 |
| %340 = OpExtInst %uint %60 UMin %idx %339 |
| %341 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %sb %uint_0 %340 %uint_35 |
| %344 = OpLoad %_arr_mat4v2half_uint_2 %341 None |
| %arr2_mat4x2_f16 = OpFunctionCall %_arr_mat4v2half_uint_2_0 %tint_convert_explicit_layout_0 %344 |
| %348 = OpFunctionCall %int %tint_f32_to_i32 %scalar_f32 |
| %350 = OpBitcast %uint %348 |
| %351 = OpBitcast %uint %scalar_i32 |
| %352 = OpIAdd %uint %350 %351 |
| %353 = OpBitcast %int %352 |
| %354 = OpBitcast %int %scalar_u32 |
| %355 = OpBitcast %uint %353 |
| %356 = OpBitcast %uint %354 |
| %357 = OpIAdd %uint %355 %356 |
| %358 = OpBitcast %int %357 |
| %359 = OpFunctionCall %int %tint_f16_to_i32 %scalar_f16 |
| %361 = OpBitcast %uint %358 |
| %362 = OpBitcast %uint %359 |
| %363 = OpIAdd %uint %361 %362 |
| %364 = OpBitcast %int %363 |
| %365 = OpCompositeExtract %float %vec2_f32 0 |
| %366 = OpFunctionCall %int %tint_f32_to_i32 %365 |
| %367 = OpBitcast %uint %364 |
| %368 = OpBitcast %uint %366 |
| %369 = OpIAdd %uint %367 %368 |
| %370 = OpBitcast %int %369 |
| %371 = OpCompositeExtract %int %vec2_i32 0 |
| %372 = OpBitcast %uint %370 |
| %373 = OpBitcast %uint %371 |
| %374 = OpIAdd %uint %372 %373 |
| %375 = OpBitcast %int %374 |
| %376 = OpCompositeExtract %uint %vec2_u32 0 |
| %377 = OpBitcast %int %376 |
| %378 = OpBitcast %uint %375 |
| %379 = OpBitcast %uint %377 |
| %380 = OpIAdd %uint %378 %379 |
| %381 = OpBitcast %int %380 |
| %382 = OpCompositeExtract %half %vec2_f16 0 |
| %383 = OpFunctionCall %int %tint_f16_to_i32 %382 |
| %384 = OpBitcast %uint %381 |
| %385 = OpBitcast %uint %383 |
| %386 = OpIAdd %uint %384 %385 |
| %387 = OpBitcast %int %386 |
| %388 = OpCompositeExtract %float %vec3_f32 1 |
| %389 = OpFunctionCall %int %tint_f32_to_i32 %388 |
| %390 = OpBitcast %uint %387 |
| %391 = OpBitcast %uint %389 |
| %392 = OpIAdd %uint %390 %391 |
| %393 = OpBitcast %int %392 |
| %394 = OpCompositeExtract %int %vec3_i32 1 |
| %395 = OpBitcast %uint %393 |
| %396 = OpBitcast %uint %394 |
| %397 = OpIAdd %uint %395 %396 |
| %398 = OpBitcast %int %397 |
| %399 = OpCompositeExtract %uint %vec3_u32 1 |
| %400 = OpBitcast %int %399 |
| %401 = OpBitcast %uint %398 |
| %402 = OpBitcast %uint %400 |
| %403 = OpIAdd %uint %401 %402 |
| %404 = OpBitcast %int %403 |
| %405 = OpCompositeExtract %half %vec3_f16 1 |
| %406 = OpFunctionCall %int %tint_f16_to_i32 %405 |
| %407 = OpBitcast %uint %404 |
| %408 = OpBitcast %uint %406 |
| %409 = OpIAdd %uint %407 %408 |
| %410 = OpBitcast %int %409 |
| %411 = OpCompositeExtract %float %vec4_f32 2 |
| %412 = OpFunctionCall %int %tint_f32_to_i32 %411 |
| %413 = OpBitcast %uint %410 |
| %414 = OpBitcast %uint %412 |
| %415 = OpIAdd %uint %413 %414 |
| %416 = OpBitcast %int %415 |
| %417 = OpCompositeExtract %int %vec4_i32 2 |
| %418 = OpBitcast %uint %416 |
| %419 = OpBitcast %uint %417 |
| %420 = OpIAdd %uint %418 %419 |
| %421 = OpBitcast %int %420 |
| %422 = OpCompositeExtract %uint %vec4_u32 2 |
| %423 = OpBitcast %int %422 |
| %424 = OpBitcast %uint %421 |
| %425 = OpBitcast %uint %423 |
| %426 = OpIAdd %uint %424 %425 |
| %427 = OpBitcast %int %426 |
| %428 = OpCompositeExtract %half %vec4_f16 2 |
| %429 = OpFunctionCall %int %tint_f16_to_i32 %428 |
| %430 = OpBitcast %uint %427 |
| %431 = OpBitcast %uint %429 |
| %432 = OpIAdd %uint %430 %431 |
| %433 = OpBitcast %int %432 |
| %434 = OpCompositeExtract %float %mat2x2_f32 0 0 |
| %435 = OpFunctionCall %int %tint_f32_to_i32 %434 |
| %436 = OpBitcast %uint %433 |
| %437 = OpBitcast %uint %435 |
| %438 = OpIAdd %uint %436 %437 |
| %439 = OpBitcast %int %438 |
| %440 = OpCompositeExtract %float %mat2x3_f32 0 0 |
| %441 = OpFunctionCall %int %tint_f32_to_i32 %440 |
| %442 = OpBitcast %uint %439 |
| %443 = OpBitcast %uint %441 |
| %444 = OpIAdd %uint %442 %443 |
| %445 = OpBitcast %int %444 |
| %446 = OpCompositeExtract %float %mat2x4_f32 0 0 |
| %447 = OpFunctionCall %int %tint_f32_to_i32 %446 |
| %448 = OpBitcast %uint %445 |
| %449 = OpBitcast %uint %447 |
| %450 = OpIAdd %uint %448 %449 |
| %451 = OpBitcast %int %450 |
| %452 = OpCompositeExtract %float %mat3x2_f32 0 0 |
| %453 = OpFunctionCall %int %tint_f32_to_i32 %452 |
| %454 = OpBitcast %uint %451 |
| %455 = OpBitcast %uint %453 |
| %456 = OpIAdd %uint %454 %455 |
| %457 = OpBitcast %int %456 |
| %458 = OpCompositeExtract %float %mat3x3_f32 0 0 |
| %459 = OpFunctionCall %int %tint_f32_to_i32 %458 |
| %460 = OpBitcast %uint %457 |
| %461 = OpBitcast %uint %459 |
| %462 = OpIAdd %uint %460 %461 |
| %463 = OpBitcast %int %462 |
| %464 = OpCompositeExtract %float %mat3x4_f32 0 0 |
| %465 = OpFunctionCall %int %tint_f32_to_i32 %464 |
| %466 = OpBitcast %uint %463 |
| %467 = OpBitcast %uint %465 |
| %468 = OpIAdd %uint %466 %467 |
| %469 = OpBitcast %int %468 |
| %470 = OpCompositeExtract %float %mat4x2_f32 0 0 |
| %471 = OpFunctionCall %int %tint_f32_to_i32 %470 |
| %472 = OpBitcast %uint %469 |
| %473 = OpBitcast %uint %471 |
| %474 = OpIAdd %uint %472 %473 |
| %475 = OpBitcast %int %474 |
| %476 = OpCompositeExtract %float %mat4x3_f32 0 0 |
| %477 = OpFunctionCall %int %tint_f32_to_i32 %476 |
| %478 = OpBitcast %uint %475 |
| %479 = OpBitcast %uint %477 |
| %480 = OpIAdd %uint %478 %479 |
| %481 = OpBitcast %int %480 |
| %482 = OpCompositeExtract %float %mat4x4_f32 0 0 |
| %483 = OpFunctionCall %int %tint_f32_to_i32 %482 |
| %484 = OpBitcast %uint %481 |
| %485 = OpBitcast %uint %483 |
| %486 = OpIAdd %uint %484 %485 |
| %487 = OpBitcast %int %486 |
| %488 = OpCompositeExtract %half %mat2x2_f16 0 0 |
| %489 = OpFunctionCall %int %tint_f16_to_i32 %488 |
| %490 = OpBitcast %uint %487 |
| %491 = OpBitcast %uint %489 |
| %492 = OpIAdd %uint %490 %491 |
| %493 = OpBitcast %int %492 |
| %494 = OpCompositeExtract %half %mat2x3_f16 0 0 |
| %495 = OpFunctionCall %int %tint_f16_to_i32 %494 |
| %496 = OpBitcast %uint %493 |
| %497 = OpBitcast %uint %495 |
| %498 = OpIAdd %uint %496 %497 |
| %499 = OpBitcast %int %498 |
| %500 = OpCompositeExtract %half %mat2x4_f16 0 0 |
| %501 = OpFunctionCall %int %tint_f16_to_i32 %500 |
| %502 = OpBitcast %uint %499 |
| %503 = OpBitcast %uint %501 |
| %504 = OpIAdd %uint %502 %503 |
| %505 = OpBitcast %int %504 |
| %506 = OpCompositeExtract %half %mat3x2_f16 0 0 |
| %507 = OpFunctionCall %int %tint_f16_to_i32 %506 |
| %508 = OpBitcast %uint %505 |
| %509 = OpBitcast %uint %507 |
| %510 = OpIAdd %uint %508 %509 |
| %511 = OpBitcast %int %510 |
| %512 = OpCompositeExtract %half %mat3x3_f16 0 0 |
| %513 = OpFunctionCall %int %tint_f16_to_i32 %512 |
| %514 = OpBitcast %uint %511 |
| %515 = OpBitcast %uint %513 |
| %516 = OpIAdd %uint %514 %515 |
| %517 = OpBitcast %int %516 |
| %518 = OpCompositeExtract %half %mat3x4_f16 0 0 |
| %519 = OpFunctionCall %int %tint_f16_to_i32 %518 |
| %520 = OpBitcast %uint %517 |
| %521 = OpBitcast %uint %519 |
| %522 = OpIAdd %uint %520 %521 |
| %523 = OpBitcast %int %522 |
| %524 = OpCompositeExtract %half %mat4x2_f16 0 0 |
| %525 = OpFunctionCall %int %tint_f16_to_i32 %524 |
| %526 = OpBitcast %uint %523 |
| %527 = OpBitcast %uint %525 |
| %528 = OpIAdd %uint %526 %527 |
| %529 = OpBitcast %int %528 |
| %530 = OpCompositeExtract %half %mat4x3_f16 0 0 |
| %531 = OpFunctionCall %int %tint_f16_to_i32 %530 |
| %532 = OpBitcast %uint %529 |
| %533 = OpBitcast %uint %531 |
| %534 = OpIAdd %uint %532 %533 |
| %535 = OpBitcast %int %534 |
| %536 = OpCompositeExtract %half %mat4x4_f16 0 0 |
| %537 = OpFunctionCall %int %tint_f16_to_i32 %536 |
| %538 = OpBitcast %uint %535 |
| %539 = OpBitcast %uint %537 |
| %540 = OpIAdd %uint %538 %539 |
| %541 = OpBitcast %int %540 |
| %542 = OpCompositeExtract %half %arr2_mat4x2_f16 0 0 0 |
| %543 = OpFunctionCall %int %tint_f16_to_i32 %542 |
| %544 = OpBitcast %uint %541 |
| %545 = OpBitcast %uint %543 |
| %546 = OpIAdd %uint %544 %545 |
| %547 = OpBitcast %int %546 |
| %548 = OpCompositeExtract %float %arr2_vec3_f32 0 0 |
| %549 = OpFunctionCall %int %tint_f32_to_i32 %548 |
| %550 = OpBitcast %uint %547 |
| %551 = OpBitcast %uint %549 |
| %552 = OpIAdd %uint %550 %551 |
| %553 = OpBitcast %int %552 |
| %554 = OpAccessChain %_ptr_StorageBuffer_int_0 %43 %uint_0 |
| OpStore %554 %553 None |
| OpReturn |
| OpFunctionEnd |
| %tint_f32_to_i32 = OpFunction %int None %557 |
| %value = OpFunctionParameter %float |
| %558 = OpLabel |
| %559 = OpExtInst %float %60 NClamp %value %float_n2_14748365e_09 %float_2_14748352e_09 |
| %562 = OpConvertFToS %int %559 |
| OpReturnValue %562 |
| OpFunctionEnd |
| %tint_f16_to_i32 = OpFunction %int None %564 |
| %value_0 = OpFunctionParameter %half |
| %565 = OpLabel |
| %566 = OpExtInst %half %60 NClamp %value_0 %half_n0x1_ffcp_15 %half_0x1_ffcp_15 |
| %569 = OpConvertFToS %int %566 |
| OpReturnValue %569 |
| OpFunctionEnd |
| %main = OpFunction %void None %571 |
| %572 = OpLabel |
| %573 = OpLoad %uint %main_local_invocation_index_Input None |
| %574 = OpFunctionCall %void %main_inner %573 |
| OpReturn |
| OpFunctionEnd |
| %tint_convert_explicit_layout = OpFunction %_arr_v3float_uint_2_0 None %576 |
| %tint_source = OpFunctionParameter %_arr_v3float_uint_2 |
| %577 = OpLabel |
| %578 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function |
| %580 = OpVariable %_ptr_Function__arr_v3float_uint_2_0 Function %582 |
| OpStore %578 %tint_source |
| OpBranch %583 |
| %583 = OpLabel |
| OpBranch %586 |
| %586 = OpLabel |
| %588 = OpPhi %uint %uint_0 %583 %589 %585 |
| OpLoopMerge %587 %585 None |
| OpBranch %584 |
| %584 = OpLabel |
| %591 = OpUGreaterThanEqual %bool %588 %uint_2 |
| OpSelectionMerge %593 None |
| OpBranchConditional %591 %594 %593 |
| %594 = OpLabel |
| OpBranch %587 |
| %593 = OpLabel |
| %595 = OpAccessChain %_ptr_Function_v3float %578 %588 |
| %597 = OpLoad %v3float %595 None |
| %598 = OpAccessChain %_ptr_Function_v3float %580 %588 |
| OpStore %598 %597 None |
| OpBranch %585 |
| %585 = OpLabel |
| %589 = OpIAdd %uint %588 %uint_1 |
| OpBranch %586 |
| %587 = OpLabel |
| %590 = OpLoad %_arr_v3float_uint_2_0 %580 None |
| OpReturnValue %590 |
| OpFunctionEnd |
| %tint_convert_explicit_layout_0 = OpFunction %_arr_mat4v2half_uint_2_0 None %600 |
| %tint_source_0 = OpFunctionParameter %_arr_mat4v2half_uint_2 |
| %601 = OpLabel |
| %602 = OpVariable %_ptr_Function__arr_mat4v2half_uint_2 Function |
| %604 = OpVariable %_ptr_Function__arr_mat4v2half_uint_2_0 Function %606 |
| OpStore %602 %tint_source_0 |
| OpBranch %607 |
| %607 = OpLabel |
| OpBranch %610 |
| %610 = OpLabel |
| %612 = OpPhi %uint %uint_0 %607 %613 %609 |
| OpLoopMerge %611 %609 None |
| OpBranch %608 |
| %608 = OpLabel |
| %615 = OpUGreaterThanEqual %bool %612 %uint_2 |
| OpSelectionMerge %616 None |
| OpBranchConditional %615 %617 %616 |
| %617 = OpLabel |
| OpBranch %611 |
| %616 = OpLabel |
| %618 = OpAccessChain %_ptr_Function_mat4v2half %602 %612 |
| %620 = OpLoad %mat4v2half %618 None |
| %621 = OpAccessChain %_ptr_Function_mat4v2half %604 %612 |
| OpStore %621 %620 None |
| OpBranch %609 |
| %609 = OpLabel |
| %613 = OpIAdd %uint %612 %uint_1 |
| OpBranch %610 |
| %611 = OpLabel |
| %614 = OpLoad %_arr_mat4v2half_uint_2_0 %604 None |
| OpReturnValue %614 |
| OpFunctionEnd |