| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 514 |
| ; Schema: 0 |
| OpCapability Shader |
| OpCapability Float16 |
| OpCapability UniformAndStorageBuffer16BitAccess |
| OpCapability StorageBuffer16BitAccess |
| %433 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %S_tint_explicit_layout 0 "scalar_f32" |
| OpMemberName %S_tint_explicit_layout 1 "scalar_i32" |
| OpMemberName %S_tint_explicit_layout 2 "scalar_u32" |
| OpMemberName %S_tint_explicit_layout 3 "scalar_f16" |
| OpMemberName %S_tint_explicit_layout 4 "vec2_f32" |
| OpMemberName %S_tint_explicit_layout 5 "vec2_i32" |
| OpMemberName %S_tint_explicit_layout 6 "vec2_u32" |
| OpMemberName %S_tint_explicit_layout 7 "vec2_f16" |
| OpMemberName %S_tint_explicit_layout 8 "vec3_f32" |
| OpMemberName %S_tint_explicit_layout 9 "vec3_i32" |
| OpMemberName %S_tint_explicit_layout 10 "vec3_u32" |
| OpMemberName %S_tint_explicit_layout 11 "vec3_f16" |
| OpMemberName %S_tint_explicit_layout 12 "vec4_f32" |
| OpMemberName %S_tint_explicit_layout 13 "vec4_i32" |
| OpMemberName %S_tint_explicit_layout 14 "vec4_u32" |
| OpMemberName %S_tint_explicit_layout 15 "vec4_f16" |
| OpMemberName %S_tint_explicit_layout 16 "mat2x2_f32" |
| OpMemberName %S_tint_explicit_layout 17 "mat2x3_f32" |
| OpMemberName %S_tint_explicit_layout 18 "mat2x4_f32" |
| OpMemberName %S_tint_explicit_layout 19 "mat3x2_f32" |
| OpMemberName %S_tint_explicit_layout 20 "mat3x3_f32" |
| OpMemberName %S_tint_explicit_layout 21 "mat3x4_f32" |
| OpMemberName %S_tint_explicit_layout 22 "mat4x2_f32" |
| OpMemberName %S_tint_explicit_layout 23 "mat4x3_f32" |
| OpMemberName %S_tint_explicit_layout 24 "mat4x4_f32" |
| OpMemberName %S_tint_explicit_layout 25 "mat2x2_f16" |
| OpMemberName %S_tint_explicit_layout 26 "mat2x3_f16" |
| OpMemberName %S_tint_explicit_layout 27 "mat2x4_f16" |
| OpMemberName %S_tint_explicit_layout 28 "mat3x2_f16" |
| OpMemberName %S_tint_explicit_layout 29 "mat3x3_f16" |
| OpMemberName %S_tint_explicit_layout 30 "mat3x4_f16" |
| OpMemberName %S_tint_explicit_layout 31 "mat4x2_f16" |
| OpMemberName %S_tint_explicit_layout 32 "mat4x3_f16" |
| OpMemberName %S_tint_explicit_layout 33 "mat4x4_f16" |
| OpMemberName %S_tint_explicit_layout 34 "arr2_vec3_f32" |
| OpMemberName %S_tint_explicit_layout 35 "arr2_mat4x2_f16" |
| OpMemberName %Inner 0 "scalar_i32" |
| OpMemberName %Inner 1 "scalar_f32" |
| OpMemberName %Inner 2 "scalar_f16" |
| OpName %Inner "Inner" |
| OpMemberName %S_tint_explicit_layout 36 "struct_inner" |
| OpMemberName %S_tint_explicit_layout 37 "array_struct_inner" |
| OpName %S_tint_explicit_layout "S_tint_explicit_layout" |
| OpMemberName %sb_block_tint_explicit_layout 0 "inner" |
| OpName %sb_block_tint_explicit_layout "sb_block_tint_explicit_layout" |
| OpMemberName %s_block 0 "inner" |
| OpName %s_block "s_block" |
| OpName %main "main" |
| 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 %struct_inner "struct_inner" |
| OpName %array_struct_inner "array_struct_inner" |
| 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 %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" |
| OpName %tint_convert_explicit_layout_1 "tint_convert_explicit_layout" |
| OpName %tint_source_1 "tint_source" |
| OpMemberDecorate %S_tint_explicit_layout 0 Offset 0 |
| OpMemberDecorate %S_tint_explicit_layout 1 Offset 4 |
| OpMemberDecorate %S_tint_explicit_layout 2 Offset 8 |
| OpMemberDecorate %S_tint_explicit_layout 3 Offset 12 |
| OpMemberDecorate %S_tint_explicit_layout 4 Offset 16 |
| OpMemberDecorate %S_tint_explicit_layout 5 Offset 24 |
| OpMemberDecorate %S_tint_explicit_layout 6 Offset 32 |
| OpMemberDecorate %S_tint_explicit_layout 7 Offset 40 |
| OpMemberDecorate %S_tint_explicit_layout 8 Offset 48 |
| OpMemberDecorate %S_tint_explicit_layout 9 Offset 64 |
| OpMemberDecorate %S_tint_explicit_layout 10 Offset 80 |
| OpMemberDecorate %S_tint_explicit_layout 11 Offset 96 |
| OpMemberDecorate %S_tint_explicit_layout 12 Offset 112 |
| OpMemberDecorate %S_tint_explicit_layout 13 Offset 128 |
| OpMemberDecorate %S_tint_explicit_layout 14 Offset 144 |
| OpMemberDecorate %S_tint_explicit_layout 15 Offset 160 |
| OpMemberDecorate %S_tint_explicit_layout 16 Offset 168 |
| OpMemberDecorate %S_tint_explicit_layout 16 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 16 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 17 Offset 192 |
| OpMemberDecorate %S_tint_explicit_layout 17 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 17 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 18 Offset 224 |
| OpMemberDecorate %S_tint_explicit_layout 18 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 18 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 19 Offset 256 |
| OpMemberDecorate %S_tint_explicit_layout 19 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 19 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 20 Offset 288 |
| OpMemberDecorate %S_tint_explicit_layout 20 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 20 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 21 Offset 336 |
| OpMemberDecorate %S_tint_explicit_layout 21 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 21 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 22 Offset 384 |
| OpMemberDecorate %S_tint_explicit_layout 22 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 22 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 23 Offset 416 |
| OpMemberDecorate %S_tint_explicit_layout 23 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 23 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 24 Offset 480 |
| OpMemberDecorate %S_tint_explicit_layout 24 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 24 MatrixStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 25 Offset 544 |
| OpMemberDecorate %S_tint_explicit_layout 25 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 25 MatrixStride 4 |
| OpMemberDecorate %S_tint_explicit_layout 26 Offset 552 |
| OpMemberDecorate %S_tint_explicit_layout 26 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 26 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 27 Offset 568 |
| OpMemberDecorate %S_tint_explicit_layout 27 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 27 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 28 Offset 584 |
| OpMemberDecorate %S_tint_explicit_layout 28 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 28 MatrixStride 4 |
| OpMemberDecorate %S_tint_explicit_layout 29 Offset 600 |
| OpMemberDecorate %S_tint_explicit_layout 29 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 29 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 30 Offset 624 |
| OpMemberDecorate %S_tint_explicit_layout 30 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 30 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 31 Offset 648 |
| OpMemberDecorate %S_tint_explicit_layout 31 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 31 MatrixStride 4 |
| OpMemberDecorate %S_tint_explicit_layout 32 Offset 664 |
| OpMemberDecorate %S_tint_explicit_layout 32 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 32 MatrixStride 8 |
| OpMemberDecorate %S_tint_explicit_layout 33 Offset 696 |
| OpMemberDecorate %S_tint_explicit_layout 33 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 33 MatrixStride 8 |
| OpDecorate %_arr_v3float_uint_2 ArrayStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 34 Offset 736 |
| OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16 |
| OpMemberDecorate %S_tint_explicit_layout 35 Offset 768 |
| OpMemberDecorate %S_tint_explicit_layout 35 ColMajor |
| OpMemberDecorate %S_tint_explicit_layout 35 MatrixStride 4 |
| OpMemberDecorate %Inner 0 Offset 0 |
| OpMemberDecorate %Inner 1 Offset 4 |
| OpMemberDecorate %Inner 2 Offset 8 |
| OpMemberDecorate %S_tint_explicit_layout 36 Offset 800 |
| OpDecorate %_arr_Inner_uint_4 ArrayStride 12 |
| OpMemberDecorate %S_tint_explicit_layout 37 Offset 812 |
| OpMemberDecorate %sb_block_tint_explicit_layout 0 Offset 0 |
| OpDecorate %sb_block_tint_explicit_layout Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %1 NonWritable |
| OpMemberDecorate %s_block 0 Offset 0 |
| OpDecorate %s_block Block |
| OpDecorate %45 DescriptorSet 0 |
| OpDecorate %45 Binding 1 |
| OpDecorate %45 Coherent |
| %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_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 %Inner %_arr_Inner_uint_4 |
| %sb_block_tint_explicit_layout = OpTypeStruct %S_tint_explicit_layout |
| %_ptr_StorageBuffer_sb_block_tint_explicit_layout = OpTypePointer StorageBuffer %sb_block_tint_explicit_layout |
| %1 = OpVariable %_ptr_StorageBuffer_sb_block_tint_explicit_layout StorageBuffer |
| %s_block = OpTypeStruct %int |
| %_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block |
| %45 = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer |
| %void = OpTypeVoid |
| %50 = OpTypeFunction %void |
| %_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 |
| %_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_Inner = OpTypePointer StorageBuffer %Inner |
| %uint_36 = OpConstant %uint 36 |
| %_ptr_StorageBuffer__arr_Inner_uint_4 = OpTypePointer StorageBuffer %_arr_Inner_uint_4 |
| %uint_37 = OpConstant %uint 37 |
| %_arr_Inner_uint_4_0 = OpTypeArray %Inner %uint_4 |
| %_ptr_StorageBuffer_int_0 = OpTypePointer StorageBuffer %int |
| %430 = OpTypeFunction %int %float |
| %float_n2_14748365e_09 = OpConstant %float -2.14748365e+09 |
| %float_2_14748352e_09 = OpConstant %float 2.14748352e+09 |
| %438 = OpTypeFunction %int %half |
| %half_n0x1_ffcp_15 = OpConstant %half -0x1.ffcp+15 |
| %half_0x1_ffcp_15 = OpConstant %half 0x1.ffcp+15 |
| %445 = 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 |
| %451 = OpConstantNull %_arr_v3float_uint_2_0 |
| %bool = OpTypeBool |
| %_ptr_Function_v3float = OpTypePointer Function %v3float |
| %469 = 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 |
| %475 = OpConstantNull %_arr_mat4v2half_uint_2_0 |
| %_ptr_Function_mat4v2half = OpTypePointer Function %mat4v2half |
| %492 = OpTypeFunction %_arr_Inner_uint_4_0 %_arr_Inner_uint_4 |
| %_ptr_Function__arr_Inner_uint_4 = OpTypePointer Function %_arr_Inner_uint_4 |
| %_ptr_Function__arr_Inner_uint_4_0 = OpTypePointer Function %_arr_Inner_uint_4_0 |
| %498 = OpConstantNull %_arr_Inner_uint_4_0 |
| %_ptr_Function_Inner = OpTypePointer Function %Inner |
| %main = OpFunction %void None %50 |
| %51 = OpLabel |
| %52 = OpAccessChain %_ptr_StorageBuffer_float %1 %uint_0 %uint_0 |
| %scalar_f32 = OpLoad %float %52 None |
| %56 = OpAccessChain %_ptr_StorageBuffer_int %1 %uint_0 %uint_1 |
| %scalar_i32 = OpLoad %int %56 None |
| %60 = OpAccessChain %_ptr_StorageBuffer_uint %1 %uint_0 %uint_2 |
| %scalar_u32 = OpLoad %uint %60 None |
| %63 = OpAccessChain %_ptr_StorageBuffer_half %1 %uint_0 %uint_3 |
| %scalar_f16 = OpLoad %half %63 None |
| %67 = OpAccessChain %_ptr_StorageBuffer_v2float %1 %uint_0 %uint_4 |
| %vec2_f32 = OpLoad %v2float %67 None |
| %70 = OpAccessChain %_ptr_StorageBuffer_v2int %1 %uint_0 %uint_5 |
| %vec2_i32 = OpLoad %v2int %70 None |
| %74 = OpAccessChain %_ptr_StorageBuffer_v2uint %1 %uint_0 %uint_6 |
| %vec2_u32 = OpLoad %v2uint %74 None |
| %78 = OpAccessChain %_ptr_StorageBuffer_v2half %1 %uint_0 %uint_7 |
| %vec2_f16 = OpLoad %v2half %78 None |
| %82 = OpAccessChain %_ptr_StorageBuffer_v3float %1 %uint_0 %uint_8 |
| %vec3_f32 = OpLoad %v3float %82 None |
| %86 = OpAccessChain %_ptr_StorageBuffer_v3int %1 %uint_0 %uint_9 |
| %vec3_i32 = OpLoad %v3int %86 None |
| %90 = OpAccessChain %_ptr_StorageBuffer_v3uint %1 %uint_0 %uint_10 |
| %vec3_u32 = OpLoad %v3uint %90 None |
| %94 = OpAccessChain %_ptr_StorageBuffer_v3half %1 %uint_0 %uint_11 |
| %vec3_f16 = OpLoad %v3half %94 None |
| %98 = OpAccessChain %_ptr_StorageBuffer_v4float %1 %uint_0 %uint_12 |
| %vec4_f32 = OpLoad %v4float %98 None |
| %102 = OpAccessChain %_ptr_StorageBuffer_v4int %1 %uint_0 %uint_13 |
| %vec4_i32 = OpLoad %v4int %102 None |
| %106 = OpAccessChain %_ptr_StorageBuffer_v4uint %1 %uint_0 %uint_14 |
| %vec4_u32 = OpLoad %v4uint %106 None |
| %110 = OpAccessChain %_ptr_StorageBuffer_v4half %1 %uint_0 %uint_15 |
| %vec4_f16 = OpLoad %v4half %110 None |
| %114 = OpAccessChain %_ptr_StorageBuffer_mat2v2float %1 %uint_0 %uint_16 |
| %mat2x2_f32 = OpLoad %mat2v2float %114 None |
| %118 = OpAccessChain %_ptr_StorageBuffer_mat2v3float %1 %uint_0 %uint_17 |
| %mat2x3_f32 = OpLoad %mat2v3float %118 None |
| %122 = OpAccessChain %_ptr_StorageBuffer_mat2v4float %1 %uint_0 %uint_18 |
| %mat2x4_f32 = OpLoad %mat2v4float %122 None |
| %126 = OpAccessChain %_ptr_StorageBuffer_mat3v2float %1 %uint_0 %uint_19 |
| %mat3x2_f32 = OpLoad %mat3v2float %126 None |
| %130 = OpAccessChain %_ptr_StorageBuffer_mat3v3float %1 %uint_0 %uint_20 |
| %mat3x3_f32 = OpLoad %mat3v3float %130 None |
| %134 = OpAccessChain %_ptr_StorageBuffer_mat3v4float %1 %uint_0 %uint_21 |
| %mat3x4_f32 = OpLoad %mat3v4float %134 None |
| %138 = OpAccessChain %_ptr_StorageBuffer_mat4v2float %1 %uint_0 %uint_22 |
| %mat4x2_f32 = OpLoad %mat4v2float %138 None |
| %142 = OpAccessChain %_ptr_StorageBuffer_mat4v3float %1 %uint_0 %uint_23 |
| %mat4x3_f32 = OpLoad %mat4v3float %142 None |
| %146 = OpAccessChain %_ptr_StorageBuffer_mat4v4float %1 %uint_0 %uint_24 |
| %mat4x4_f32 = OpLoad %mat4v4float %146 None |
| %150 = OpAccessChain %_ptr_StorageBuffer_mat2v2half %1 %uint_0 %uint_25 |
| %mat2x2_f16 = OpLoad %mat2v2half %150 None |
| %154 = OpAccessChain %_ptr_StorageBuffer_mat2v3half %1 %uint_0 %uint_26 |
| %mat2x3_f16 = OpLoad %mat2v3half %154 None |
| %158 = OpAccessChain %_ptr_StorageBuffer_mat2v4half %1 %uint_0 %uint_27 |
| %mat2x4_f16 = OpLoad %mat2v4half %158 None |
| %162 = OpAccessChain %_ptr_StorageBuffer_mat3v2half %1 %uint_0 %uint_28 |
| %mat3x2_f16 = OpLoad %mat3v2half %162 None |
| %166 = OpAccessChain %_ptr_StorageBuffer_mat3v3half %1 %uint_0 %uint_29 |
| %mat3x3_f16 = OpLoad %mat3v3half %166 None |
| %170 = OpAccessChain %_ptr_StorageBuffer_mat3v4half %1 %uint_0 %uint_30 |
| %mat3x4_f16 = OpLoad %mat3v4half %170 None |
| %174 = OpAccessChain %_ptr_StorageBuffer_mat4v2half %1 %uint_0 %uint_31 |
| %mat4x2_f16 = OpLoad %mat4v2half %174 None |
| %178 = OpAccessChain %_ptr_StorageBuffer_mat4v3half %1 %uint_0 %uint_32 |
| %mat4x3_f16 = OpLoad %mat4v3half %178 None |
| %182 = OpAccessChain %_ptr_StorageBuffer_mat4v4half %1 %uint_0 %uint_33 |
| %mat4x4_f16 = OpLoad %mat4v4half %182 None |
| %186 = OpAccessChain %_ptr_StorageBuffer__arr_v3float_uint_2 %1 %uint_0 %uint_34 |
| %189 = OpLoad %_arr_v3float_uint_2 %186 None |
| %arr2_vec3_f32 = OpFunctionCall %_arr_v3float_uint_2_0 %tint_convert_explicit_layout %189 |
| %193 = OpAccessChain %_ptr_StorageBuffer__arr_mat4v2half_uint_2 %1 %uint_0 %uint_35 |
| %196 = OpLoad %_arr_mat4v2half_uint_2 %193 None |
| %arr2_mat4x2_f16 = OpFunctionCall %_arr_mat4v2half_uint_2_0 %tint_convert_explicit_layout_0 %196 |
| %200 = OpAccessChain %_ptr_StorageBuffer_Inner %1 %uint_0 %uint_36 |
| %struct_inner = OpLoad %Inner %200 None |
| %204 = OpAccessChain %_ptr_StorageBuffer__arr_Inner_uint_4 %1 %uint_0 %uint_37 |
| %207 = OpLoad %_arr_Inner_uint_4 %204 None |
| %array_struct_inner = OpFunctionCall %_arr_Inner_uint_4_0 %tint_convert_explicit_layout_1 %207 |
| %211 = OpFunctionCall %int %tint_f32_to_i32 %scalar_f32 |
| %213 = OpBitcast %uint %211 |
| %214 = OpBitcast %uint %scalar_i32 |
| %215 = OpIAdd %uint %213 %214 |
| %216 = OpBitcast %int %215 |
| %217 = OpBitcast %int %scalar_u32 |
| %218 = OpBitcast %uint %216 |
| %219 = OpBitcast %uint %217 |
| %220 = OpIAdd %uint %218 %219 |
| %221 = OpBitcast %int %220 |
| %222 = OpFunctionCall %int %tint_f16_to_i32 %scalar_f16 |
| %224 = OpBitcast %uint %221 |
| %225 = OpBitcast %uint %222 |
| %226 = OpIAdd %uint %224 %225 |
| %227 = OpBitcast %int %226 |
| %228 = OpCompositeExtract %float %vec2_f32 0 |
| %229 = OpFunctionCall %int %tint_f32_to_i32 %228 |
| %230 = OpBitcast %uint %227 |
| %231 = OpBitcast %uint %229 |
| %232 = OpIAdd %uint %230 %231 |
| %233 = OpBitcast %int %232 |
| %234 = OpCompositeExtract %int %vec2_i32 0 |
| %235 = OpBitcast %uint %233 |
| %236 = OpBitcast %uint %234 |
| %237 = OpIAdd %uint %235 %236 |
| %238 = OpBitcast %int %237 |
| %239 = OpCompositeExtract %uint %vec2_u32 0 |
| %240 = OpBitcast %int %239 |
| %241 = OpBitcast %uint %238 |
| %242 = OpBitcast %uint %240 |
| %243 = OpIAdd %uint %241 %242 |
| %244 = OpBitcast %int %243 |
| %245 = OpCompositeExtract %half %vec2_f16 0 |
| %246 = OpFunctionCall %int %tint_f16_to_i32 %245 |
| %247 = OpBitcast %uint %244 |
| %248 = OpBitcast %uint %246 |
| %249 = OpIAdd %uint %247 %248 |
| %250 = OpBitcast %int %249 |
| %251 = OpCompositeExtract %float %vec3_f32 1 |
| %252 = OpFunctionCall %int %tint_f32_to_i32 %251 |
| %253 = OpBitcast %uint %250 |
| %254 = OpBitcast %uint %252 |
| %255 = OpIAdd %uint %253 %254 |
| %256 = OpBitcast %int %255 |
| %257 = OpCompositeExtract %int %vec3_i32 1 |
| %258 = OpBitcast %uint %256 |
| %259 = OpBitcast %uint %257 |
| %260 = OpIAdd %uint %258 %259 |
| %261 = OpBitcast %int %260 |
| %262 = OpCompositeExtract %uint %vec3_u32 1 |
| %263 = OpBitcast %int %262 |
| %264 = OpBitcast %uint %261 |
| %265 = OpBitcast %uint %263 |
| %266 = OpIAdd %uint %264 %265 |
| %267 = OpBitcast %int %266 |
| %268 = OpCompositeExtract %half %vec3_f16 1 |
| %269 = OpFunctionCall %int %tint_f16_to_i32 %268 |
| %270 = OpBitcast %uint %267 |
| %271 = OpBitcast %uint %269 |
| %272 = OpIAdd %uint %270 %271 |
| %273 = OpBitcast %int %272 |
| %274 = OpCompositeExtract %float %vec4_f32 2 |
| %275 = OpFunctionCall %int %tint_f32_to_i32 %274 |
| %276 = OpBitcast %uint %273 |
| %277 = OpBitcast %uint %275 |
| %278 = OpIAdd %uint %276 %277 |
| %279 = OpBitcast %int %278 |
| %280 = OpCompositeExtract %int %vec4_i32 2 |
| %281 = OpBitcast %uint %279 |
| %282 = OpBitcast %uint %280 |
| %283 = OpIAdd %uint %281 %282 |
| %284 = OpBitcast %int %283 |
| %285 = OpCompositeExtract %uint %vec4_u32 2 |
| %286 = OpBitcast %int %285 |
| %287 = OpBitcast %uint %284 |
| %288 = OpBitcast %uint %286 |
| %289 = OpIAdd %uint %287 %288 |
| %290 = OpBitcast %int %289 |
| %291 = OpCompositeExtract %half %vec4_f16 2 |
| %292 = OpFunctionCall %int %tint_f16_to_i32 %291 |
| %293 = OpBitcast %uint %290 |
| %294 = OpBitcast %uint %292 |
| %295 = OpIAdd %uint %293 %294 |
| %296 = OpBitcast %int %295 |
| %297 = OpCompositeExtract %float %mat2x2_f32 0 0 |
| %298 = OpFunctionCall %int %tint_f32_to_i32 %297 |
| %299 = OpBitcast %uint %296 |
| %300 = OpBitcast %uint %298 |
| %301 = OpIAdd %uint %299 %300 |
| %302 = OpBitcast %int %301 |
| %303 = OpCompositeExtract %float %mat2x3_f32 0 0 |
| %304 = OpFunctionCall %int %tint_f32_to_i32 %303 |
| %305 = OpBitcast %uint %302 |
| %306 = OpBitcast %uint %304 |
| %307 = OpIAdd %uint %305 %306 |
| %308 = OpBitcast %int %307 |
| %309 = OpCompositeExtract %float %mat2x4_f32 0 0 |
| %310 = OpFunctionCall %int %tint_f32_to_i32 %309 |
| %311 = OpBitcast %uint %308 |
| %312 = OpBitcast %uint %310 |
| %313 = OpIAdd %uint %311 %312 |
| %314 = OpBitcast %int %313 |
| %315 = OpCompositeExtract %float %mat3x2_f32 0 0 |
| %316 = OpFunctionCall %int %tint_f32_to_i32 %315 |
| %317 = OpBitcast %uint %314 |
| %318 = OpBitcast %uint %316 |
| %319 = OpIAdd %uint %317 %318 |
| %320 = OpBitcast %int %319 |
| %321 = OpCompositeExtract %float %mat3x3_f32 0 0 |
| %322 = OpFunctionCall %int %tint_f32_to_i32 %321 |
| %323 = OpBitcast %uint %320 |
| %324 = OpBitcast %uint %322 |
| %325 = OpIAdd %uint %323 %324 |
| %326 = OpBitcast %int %325 |
| %327 = OpCompositeExtract %float %mat3x4_f32 0 0 |
| %328 = OpFunctionCall %int %tint_f32_to_i32 %327 |
| %329 = OpBitcast %uint %326 |
| %330 = OpBitcast %uint %328 |
| %331 = OpIAdd %uint %329 %330 |
| %332 = OpBitcast %int %331 |
| %333 = OpCompositeExtract %float %mat4x2_f32 0 0 |
| %334 = OpFunctionCall %int %tint_f32_to_i32 %333 |
| %335 = OpBitcast %uint %332 |
| %336 = OpBitcast %uint %334 |
| %337 = OpIAdd %uint %335 %336 |
| %338 = OpBitcast %int %337 |
| %339 = OpCompositeExtract %float %mat4x3_f32 0 0 |
| %340 = OpFunctionCall %int %tint_f32_to_i32 %339 |
| %341 = OpBitcast %uint %338 |
| %342 = OpBitcast %uint %340 |
| %343 = OpIAdd %uint %341 %342 |
| %344 = OpBitcast %int %343 |
| %345 = OpCompositeExtract %float %mat4x4_f32 0 0 |
| %346 = OpFunctionCall %int %tint_f32_to_i32 %345 |
| %347 = OpBitcast %uint %344 |
| %348 = OpBitcast %uint %346 |
| %349 = OpIAdd %uint %347 %348 |
| %350 = OpBitcast %int %349 |
| %351 = OpCompositeExtract %half %mat2x2_f16 0 0 |
| %352 = OpFunctionCall %int %tint_f16_to_i32 %351 |
| %353 = OpBitcast %uint %350 |
| %354 = OpBitcast %uint %352 |
| %355 = OpIAdd %uint %353 %354 |
| %356 = OpBitcast %int %355 |
| %357 = OpCompositeExtract %half %mat2x3_f16 0 0 |
| %358 = OpFunctionCall %int %tint_f16_to_i32 %357 |
| %359 = OpBitcast %uint %356 |
| %360 = OpBitcast %uint %358 |
| %361 = OpIAdd %uint %359 %360 |
| %362 = OpBitcast %int %361 |
| %363 = OpCompositeExtract %half %mat2x4_f16 0 0 |
| %364 = OpFunctionCall %int %tint_f16_to_i32 %363 |
| %365 = OpBitcast %uint %362 |
| %366 = OpBitcast %uint %364 |
| %367 = OpIAdd %uint %365 %366 |
| %368 = OpBitcast %int %367 |
| %369 = OpCompositeExtract %half %mat3x2_f16 0 0 |
| %370 = OpFunctionCall %int %tint_f16_to_i32 %369 |
| %371 = OpBitcast %uint %368 |
| %372 = OpBitcast %uint %370 |
| %373 = OpIAdd %uint %371 %372 |
| %374 = OpBitcast %int %373 |
| %375 = OpCompositeExtract %half %mat3x3_f16 0 0 |
| %376 = OpFunctionCall %int %tint_f16_to_i32 %375 |
| %377 = OpBitcast %uint %374 |
| %378 = OpBitcast %uint %376 |
| %379 = OpIAdd %uint %377 %378 |
| %380 = OpBitcast %int %379 |
| %381 = OpCompositeExtract %half %mat3x4_f16 0 0 |
| %382 = OpFunctionCall %int %tint_f16_to_i32 %381 |
| %383 = OpBitcast %uint %380 |
| %384 = OpBitcast %uint %382 |
| %385 = OpIAdd %uint %383 %384 |
| %386 = OpBitcast %int %385 |
| %387 = OpCompositeExtract %half %mat4x2_f16 0 0 |
| %388 = OpFunctionCall %int %tint_f16_to_i32 %387 |
| %389 = OpBitcast %uint %386 |
| %390 = OpBitcast %uint %388 |
| %391 = OpIAdd %uint %389 %390 |
| %392 = OpBitcast %int %391 |
| %393 = OpCompositeExtract %half %mat4x3_f16 0 0 |
| %394 = OpFunctionCall %int %tint_f16_to_i32 %393 |
| %395 = OpBitcast %uint %392 |
| %396 = OpBitcast %uint %394 |
| %397 = OpIAdd %uint %395 %396 |
| %398 = OpBitcast %int %397 |
| %399 = OpCompositeExtract %half %mat4x4_f16 0 0 |
| %400 = OpFunctionCall %int %tint_f16_to_i32 %399 |
| %401 = OpBitcast %uint %398 |
| %402 = OpBitcast %uint %400 |
| %403 = OpIAdd %uint %401 %402 |
| %404 = OpBitcast %int %403 |
| %405 = OpCompositeExtract %float %arr2_vec3_f32 0 0 |
| %406 = OpFunctionCall %int %tint_f32_to_i32 %405 |
| %407 = OpBitcast %uint %404 |
| %408 = OpBitcast %uint %406 |
| %409 = OpIAdd %uint %407 %408 |
| %410 = OpBitcast %int %409 |
| %411 = OpCompositeExtract %half %arr2_mat4x2_f16 0 0 0 |
| %412 = OpFunctionCall %int %tint_f16_to_i32 %411 |
| %413 = OpBitcast %uint %410 |
| %414 = OpBitcast %uint %412 |
| %415 = OpIAdd %uint %413 %414 |
| %416 = OpBitcast %int %415 |
| %417 = OpCompositeExtract %int %struct_inner 0 |
| %418 = OpBitcast %uint %416 |
| %419 = OpBitcast %uint %417 |
| %420 = OpIAdd %uint %418 %419 |
| %421 = OpBitcast %int %420 |
| %422 = OpCompositeExtract %int %array_struct_inner 0 0 |
| %423 = OpBitcast %uint %421 |
| %424 = OpBitcast %uint %422 |
| %425 = OpIAdd %uint %423 %424 |
| %426 = OpBitcast %int %425 |
| %427 = OpAccessChain %_ptr_StorageBuffer_int_0 %45 %uint_0 |
| OpStore %427 %426 None |
| OpReturn |
| OpFunctionEnd |
| %tint_f32_to_i32 = OpFunction %int None %430 |
| %value = OpFunctionParameter %float |
| %431 = OpLabel |
| %432 = OpExtInst %float %433 NClamp %value %float_n2_14748365e_09 %float_2_14748352e_09 |
| %436 = OpConvertFToS %int %432 |
| OpReturnValue %436 |
| OpFunctionEnd |
| %tint_f16_to_i32 = OpFunction %int None %438 |
| %value_0 = OpFunctionParameter %half |
| %439 = OpLabel |
| %440 = OpExtInst %half %433 NClamp %value_0 %half_n0x1_ffcp_15 %half_0x1_ffcp_15 |
| %443 = OpConvertFToS %int %440 |
| OpReturnValue %443 |
| OpFunctionEnd |
| %tint_convert_explicit_layout = OpFunction %_arr_v3float_uint_2_0 None %445 |
| %tint_source = OpFunctionParameter %_arr_v3float_uint_2 |
| %446 = OpLabel |
| %447 = OpVariable %_ptr_Function__arr_v3float_uint_2 Function |
| %449 = OpVariable %_ptr_Function__arr_v3float_uint_2_0 Function %451 |
| OpStore %447 %tint_source |
| OpBranch %452 |
| %452 = OpLabel |
| OpBranch %455 |
| %455 = OpLabel |
| %457 = OpPhi %uint %uint_0 %452 %458 %454 |
| OpLoopMerge %456 %454 None |
| OpBranch %453 |
| %453 = OpLabel |
| %460 = OpUGreaterThanEqual %bool %457 %uint_2 |
| OpSelectionMerge %462 None |
| OpBranchConditional %460 %463 %462 |
| %463 = OpLabel |
| OpBranch %456 |
| %462 = OpLabel |
| %464 = OpAccessChain %_ptr_Function_v3float %447 %457 |
| %466 = OpLoad %v3float %464 None |
| %467 = OpAccessChain %_ptr_Function_v3float %449 %457 |
| OpStore %467 %466 None |
| OpBranch %454 |
| %454 = OpLabel |
| %458 = OpIAdd %uint %457 %uint_1 |
| OpBranch %455 |
| %456 = OpLabel |
| %459 = OpLoad %_arr_v3float_uint_2_0 %449 None |
| OpReturnValue %459 |
| OpFunctionEnd |
| %tint_convert_explicit_layout_0 = OpFunction %_arr_mat4v2half_uint_2_0 None %469 |
| %tint_source_0 = OpFunctionParameter %_arr_mat4v2half_uint_2 |
| %470 = OpLabel |
| %471 = OpVariable %_ptr_Function__arr_mat4v2half_uint_2 Function |
| %473 = OpVariable %_ptr_Function__arr_mat4v2half_uint_2_0 Function %475 |
| OpStore %471 %tint_source_0 |
| OpBranch %476 |
| %476 = OpLabel |
| OpBranch %479 |
| %479 = OpLabel |
| %481 = OpPhi %uint %uint_0 %476 %482 %478 |
| OpLoopMerge %480 %478 None |
| OpBranch %477 |
| %477 = OpLabel |
| %484 = OpUGreaterThanEqual %bool %481 %uint_2 |
| OpSelectionMerge %485 None |
| OpBranchConditional %484 %486 %485 |
| %486 = OpLabel |
| OpBranch %480 |
| %485 = OpLabel |
| %487 = OpAccessChain %_ptr_Function_mat4v2half %471 %481 |
| %489 = OpLoad %mat4v2half %487 None |
| %490 = OpAccessChain %_ptr_Function_mat4v2half %473 %481 |
| OpStore %490 %489 None |
| OpBranch %478 |
| %478 = OpLabel |
| %482 = OpIAdd %uint %481 %uint_1 |
| OpBranch %479 |
| %480 = OpLabel |
| %483 = OpLoad %_arr_mat4v2half_uint_2_0 %473 None |
| OpReturnValue %483 |
| OpFunctionEnd |
| %tint_convert_explicit_layout_1 = OpFunction %_arr_Inner_uint_4_0 None %492 |
| %tint_source_1 = OpFunctionParameter %_arr_Inner_uint_4 |
| %493 = OpLabel |
| %494 = OpVariable %_ptr_Function__arr_Inner_uint_4 Function |
| %496 = OpVariable %_ptr_Function__arr_Inner_uint_4_0 Function %498 |
| OpStore %494 %tint_source_1 |
| OpBranch %499 |
| %499 = OpLabel |
| OpBranch %502 |
| %502 = OpLabel |
| %504 = OpPhi %uint %uint_0 %499 %505 %501 |
| OpLoopMerge %503 %501 None |
| OpBranch %500 |
| %500 = OpLabel |
| %507 = OpUGreaterThanEqual %bool %504 %uint_4 |
| OpSelectionMerge %508 None |
| OpBranchConditional %507 %509 %508 |
| %509 = OpLabel |
| OpBranch %503 |
| %508 = OpLabel |
| %510 = OpAccessChain %_ptr_Function_Inner %494 %504 |
| %512 = OpLoad %Inner %510 None |
| %513 = OpAccessChain %_ptr_Function_Inner %496 %504 |
| OpStore %513 %512 None |
| OpBranch %501 |
| %501 = OpLabel |
| %505 = OpIAdd %uint %504 %uint_1 |
| OpBranch %502 |
| %503 = OpLabel |
| %506 = OpLoad %_arr_Inner_uint_4_0 %496 None |
| OpReturnValue %506 |
| OpFunctionEnd |