blob: 16735d1da0c0b7f0169e968e98c76e47b30f8b19 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 426
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %ub_block_std140 "ub_block_std140"
OpMemberName %ub_block_std140 0 "inner"
OpName %S_std140 "S_std140"
OpMemberName %S_std140 0 "scalar_f32"
OpMemberName %S_std140 1 "scalar_i32"
OpMemberName %S_std140 2 "scalar_u32"
OpMemberName %S_std140 3 "scalar_f16"
OpMemberName %S_std140 4 "vec2_f32"
OpMemberName %S_std140 5 "vec2_i32"
OpMemberName %S_std140 6 "vec2_u32"
OpMemberName %S_std140 7 "vec2_f16"
OpMemberName %S_std140 8 "vec3_f32"
OpMemberName %S_std140 9 "vec3_i32"
OpMemberName %S_std140 10 "vec3_u32"
OpMemberName %S_std140 11 "vec3_f16"
OpMemberName %S_std140 12 "vec4_f32"
OpMemberName %S_std140 13 "vec4_i32"
OpMemberName %S_std140 14 "vec4_u32"
OpMemberName %S_std140 15 "vec4_f16"
OpMemberName %S_std140 16 "mat2x2_f32_0"
OpMemberName %S_std140 17 "mat2x2_f32_1"
OpMemberName %S_std140 18 "mat2x3_f32"
OpMemberName %S_std140 19 "mat2x4_f32"
OpMemberName %S_std140 20 "mat3x2_f32_0"
OpMemberName %S_std140 21 "mat3x2_f32_1"
OpMemberName %S_std140 22 "mat3x2_f32_2"
OpMemberName %S_std140 23 "mat3x3_f32"
OpMemberName %S_std140 24 "mat3x4_f32"
OpMemberName %S_std140 25 "mat4x2_f32_0"
OpMemberName %S_std140 26 "mat4x2_f32_1"
OpMemberName %S_std140 27 "mat4x2_f32_2"
OpMemberName %S_std140 28 "mat4x2_f32_3"
OpMemberName %S_std140 29 "mat4x3_f32"
OpMemberName %S_std140 30 "mat4x4_f32"
OpMemberName %S_std140 31 "mat2x2_f16_0"
OpMemberName %S_std140 32 "mat2x2_f16_1"
OpMemberName %S_std140 33 "mat2x3_f16_0"
OpMemberName %S_std140 34 "mat2x3_f16_1"
OpMemberName %S_std140 35 "mat2x4_f16_0"
OpMemberName %S_std140 36 "mat2x4_f16_1"
OpMemberName %S_std140 37 "mat3x2_f16_0"
OpMemberName %S_std140 38 "mat3x2_f16_1"
OpMemberName %S_std140 39 "mat3x2_f16_2"
OpMemberName %S_std140 40 "mat3x3_f16_0"
OpMemberName %S_std140 41 "mat3x3_f16_1"
OpMemberName %S_std140 42 "mat3x3_f16_2"
OpMemberName %S_std140 43 "mat3x4_f16_0"
OpMemberName %S_std140 44 "mat3x4_f16_1"
OpMemberName %S_std140 45 "mat3x4_f16_2"
OpMemberName %S_std140 46 "mat4x2_f16_0"
OpMemberName %S_std140 47 "mat4x2_f16_1"
OpMemberName %S_std140 48 "mat4x2_f16_2"
OpMemberName %S_std140 49 "mat4x2_f16_3"
OpMemberName %S_std140 50 "mat4x3_f16_0"
OpMemberName %S_std140 51 "mat4x3_f16_1"
OpMemberName %S_std140 52 "mat4x3_f16_2"
OpMemberName %S_std140 53 "mat4x3_f16_3"
OpMemberName %S_std140 54 "mat4x4_f16_0"
OpMemberName %S_std140 55 "mat4x4_f16_1"
OpMemberName %S_std140 56 "mat4x4_f16_2"
OpMemberName %S_std140 57 "mat4x4_f16_3"
OpMemberName %S_std140 58 "arr2_vec3_f32"
OpMemberName %S_std140 59 "arr2_mat4x2_f16"
OpName %mat4x2_f16_4 "mat4x2_f16_4"
OpMemberName %mat4x2_f16_4 0 "col0"
OpMemberName %mat4x2_f16_4 1 "col1"
OpMemberName %mat4x2_f16_4 2 "col2"
OpMemberName %mat4x2_f16_4 3 "col3"
OpMemberName %S_std140 60 "struct_inner"
OpName %Inner "Inner"
OpMemberName %Inner 0 "scalar_i32"
OpMemberName %Inner 1 "scalar_f32"
OpMemberName %Inner 2 "scalar_f16"
OpMemberName %S_std140 61 "array_struct_inner"
OpName %ub "ub"
OpName %load_ub_inner_mat2x2_f32 "load_ub_inner_mat2x2_f32"
OpName %load_ub_inner_mat3x2_f32 "load_ub_inner_mat3x2_f32"
OpName %load_ub_inner_mat4x2_f32 "load_ub_inner_mat4x2_f32"
OpName %load_ub_inner_mat2x2_f16 "load_ub_inner_mat2x2_f16"
OpName %load_ub_inner_mat2x3_f16 "load_ub_inner_mat2x3_f16"
OpName %load_ub_inner_mat2x4_f16 "load_ub_inner_mat2x4_f16"
OpName %load_ub_inner_mat3x2_f16 "load_ub_inner_mat3x2_f16"
OpName %load_ub_inner_mat3x3_f16 "load_ub_inner_mat3x3_f16"
OpName %load_ub_inner_mat3x4_f16 "load_ub_inner_mat3x4_f16"
OpName %load_ub_inner_mat4x2_f16 "load_ub_inner_mat4x2_f16"
OpName %load_ub_inner_mat4x3_f16 "load_ub_inner_mat4x3_f16"
OpName %load_ub_inner_mat4x4_f16 "load_ub_inner_mat4x4_f16"
OpName %conv_mat4x2_f16 "conv_mat4x2_f16"
OpName %val "val"
OpName %conv_arr2_mat4x2_f16 "conv_arr2_mat4x2_f16"
OpName %val_0 "val"
OpName %arr "arr"
OpName %i "i"
OpName %var_for_index "var_for_index"
OpName %main "main"
OpDecorate %ub_block_std140 Block
OpMemberDecorate %ub_block_std140 0 Offset 0
OpMemberDecorate %S_std140 0 Offset 0
OpMemberDecorate %S_std140 1 Offset 4
OpMemberDecorate %S_std140 2 Offset 8
OpMemberDecorate %S_std140 3 Offset 12
OpMemberDecorate %S_std140 4 Offset 16
OpMemberDecorate %S_std140 5 Offset 24
OpMemberDecorate %S_std140 6 Offset 32
OpMemberDecorate %S_std140 7 Offset 40
OpMemberDecorate %S_std140 8 Offset 48
OpMemberDecorate %S_std140 9 Offset 64
OpMemberDecorate %S_std140 10 Offset 80
OpMemberDecorate %S_std140 11 Offset 96
OpMemberDecorate %S_std140 12 Offset 112
OpMemberDecorate %S_std140 13 Offset 128
OpMemberDecorate %S_std140 14 Offset 144
OpMemberDecorate %S_std140 15 Offset 160
OpMemberDecorate %S_std140 16 Offset 168
OpMemberDecorate %S_std140 17 Offset 176
OpMemberDecorate %S_std140 18 Offset 192
OpMemberDecorate %S_std140 18 ColMajor
OpMemberDecorate %S_std140 18 MatrixStride 16
OpMemberDecorate %S_std140 19 Offset 224
OpMemberDecorate %S_std140 19 ColMajor
OpMemberDecorate %S_std140 19 MatrixStride 16
OpMemberDecorate %S_std140 20 Offset 256
OpMemberDecorate %S_std140 21 Offset 264
OpMemberDecorate %S_std140 22 Offset 272
OpMemberDecorate %S_std140 23 Offset 288
OpMemberDecorate %S_std140 23 ColMajor
OpMemberDecorate %S_std140 23 MatrixStride 16
OpMemberDecorate %S_std140 24 Offset 336
OpMemberDecorate %S_std140 24 ColMajor
OpMemberDecorate %S_std140 24 MatrixStride 16
OpMemberDecorate %S_std140 25 Offset 384
OpMemberDecorate %S_std140 26 Offset 392
OpMemberDecorate %S_std140 27 Offset 400
OpMemberDecorate %S_std140 28 Offset 408
OpMemberDecorate %S_std140 29 Offset 416
OpMemberDecorate %S_std140 29 ColMajor
OpMemberDecorate %S_std140 29 MatrixStride 16
OpMemberDecorate %S_std140 30 Offset 480
OpMemberDecorate %S_std140 30 ColMajor
OpMemberDecorate %S_std140 30 MatrixStride 16
OpMemberDecorate %S_std140 31 Offset 544
OpMemberDecorate %S_std140 32 Offset 548
OpMemberDecorate %S_std140 33 Offset 552
OpMemberDecorate %S_std140 34 Offset 560
OpMemberDecorate %S_std140 35 Offset 568
OpMemberDecorate %S_std140 36 Offset 576
OpMemberDecorate %S_std140 37 Offset 584
OpMemberDecorate %S_std140 38 Offset 588
OpMemberDecorate %S_std140 39 Offset 592
OpMemberDecorate %S_std140 40 Offset 600
OpMemberDecorate %S_std140 41 Offset 608
OpMemberDecorate %S_std140 42 Offset 616
OpMemberDecorate %S_std140 43 Offset 624
OpMemberDecorate %S_std140 44 Offset 632
OpMemberDecorate %S_std140 45 Offset 640
OpMemberDecorate %S_std140 46 Offset 648
OpMemberDecorate %S_std140 47 Offset 652
OpMemberDecorate %S_std140 48 Offset 656
OpMemberDecorate %S_std140 49 Offset 660
OpMemberDecorate %S_std140 50 Offset 664
OpMemberDecorate %S_std140 51 Offset 672
OpMemberDecorate %S_std140 52 Offset 680
OpMemberDecorate %S_std140 53 Offset 688
OpMemberDecorate %S_std140 54 Offset 696
OpMemberDecorate %S_std140 55 Offset 704
OpMemberDecorate %S_std140 56 Offset 712
OpMemberDecorate %S_std140 57 Offset 720
OpMemberDecorate %S_std140 58 Offset 736
OpDecorate %_arr_v3float_uint_2 ArrayStride 16
OpMemberDecorate %S_std140 59 Offset 768
OpMemberDecorate %mat4x2_f16_4 0 Offset 0
OpMemberDecorate %mat4x2_f16_4 1 Offset 4
OpMemberDecorate %mat4x2_f16_4 2 Offset 8
OpMemberDecorate %mat4x2_f16_4 3 Offset 12
OpDecorate %_arr_mat4x2_f16_4_uint_2 ArrayStride 16
OpMemberDecorate %S_std140 60 Offset 800
OpMemberDecorate %Inner 0 Offset 0
OpMemberDecorate %Inner 1 Offset 4
OpMemberDecorate %Inner 2 Offset 8
OpMemberDecorate %S_std140 61 Offset 816
OpDecorate %_arr_Inner_uint_4 ArrayStride 16
OpDecorate %ub NonWritable
OpDecorate %ub Binding 0
OpDecorate %ub DescriptorSet 0
OpDecorate %_arr_mat4v2half_uint_2 ArrayStride 16
%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
%mat2v3float = OpTypeMatrix %v3float 2
%mat2v4float = OpTypeMatrix %v4float 2
%mat3v3float = OpTypeMatrix %v3float 3
%mat3v4float = OpTypeMatrix %v4float 3
%mat4v3float = OpTypeMatrix %v3float 4
%mat4v4float = OpTypeMatrix %v4float 4
%uint_2 = OpConstant %uint 2
%_arr_v3float_uint_2 = OpTypeArray %v3float %uint_2
%mat4x2_f16_4 = OpTypeStruct %v2half %v2half %v2half %v2half
%_arr_mat4x2_f16_4_uint_2 = OpTypeArray %mat4x2_f16_4 %uint_2
%Inner = OpTypeStruct %int %float %half
%uint_4 = OpConstant %uint 4
%_arr_Inner_uint_4 = OpTypeArray %Inner %uint_4
%S_std140 = OpTypeStruct %float %int %uint %half %v2float %v2int %v2uint %v2half %v3float %v3int %v3uint %v3half %v4float %v4int %v4uint %v4half %v2float %v2float %mat2v3float %mat2v4float %v2float %v2float %v2float %mat3v3float %mat3v4float %v2float %v2float %v2float %v2float %mat4v3float %mat4v4float %v2half %v2half %v3half %v3half %v4half %v4half %v2half %v2half %v2half %v3half %v3half %v3half %v4half %v4half %v4half %v2half %v2half %v2half %v2half %v3half %v3half %v3half %v3half %v4half %v4half %v4half %v4half %_arr_v3float_uint_2 %_arr_mat4x2_f16_4_uint_2 %Inner %_arr_Inner_uint_4
%ub_block_std140 = OpTypeStruct %S_std140
%_ptr_Uniform_ub_block_std140 = OpTypePointer Uniform %ub_block_std140
%ub = OpVariable %_ptr_Uniform_ub_block_std140 Uniform
%mat2v2float = OpTypeMatrix %v2float 2
%34 = OpTypeFunction %mat2v2float
%uint_0 = OpConstant %uint 0
%_ptr_Uniform_S_std140 = OpTypePointer Uniform %S_std140
%uint_16 = OpConstant %uint 16
%_ptr_Uniform_v2float = OpTypePointer Uniform %v2float
%uint_17 = OpConstant %uint 17
%mat3v2float = OpTypeMatrix %v2float 3
%52 = OpTypeFunction %mat3v2float
%uint_20 = OpConstant %uint 20
%uint_21 = OpConstant %uint 21
%uint_22 = OpConstant %uint 22
%mat4v2float = OpTypeMatrix %v2float 4
%71 = OpTypeFunction %mat4v2float
%uint_25 = OpConstant %uint 25
%uint_26 = OpConstant %uint 26
%uint_27 = OpConstant %uint 27
%uint_28 = OpConstant %uint 28
%mat2v2half = OpTypeMatrix %v2half 2
%94 = OpTypeFunction %mat2v2half
%uint_31 = OpConstant %uint 31
%_ptr_Uniform_v2half = OpTypePointer Uniform %v2half
%uint_32 = OpConstant %uint 32
%mat2v3half = OpTypeMatrix %v3half 2
%110 = OpTypeFunction %mat2v3half
%uint_33 = OpConstant %uint 33
%_ptr_Uniform_v3half = OpTypePointer Uniform %v3half
%uint_34 = OpConstant %uint 34
%mat2v4half = OpTypeMatrix %v4half 2
%126 = OpTypeFunction %mat2v4half
%uint_35 = OpConstant %uint 35
%_ptr_Uniform_v4half = OpTypePointer Uniform %v4half
%uint_36 = OpConstant %uint 36
%mat3v2half = OpTypeMatrix %v2half 3
%142 = OpTypeFunction %mat3v2half
%uint_37 = OpConstant %uint 37
%uint_38 = OpConstant %uint 38
%uint_39 = OpConstant %uint 39
%mat3v3half = OpTypeMatrix %v3half 3
%161 = OpTypeFunction %mat3v3half
%uint_40 = OpConstant %uint 40
%uint_41 = OpConstant %uint 41
%uint_42 = OpConstant %uint 42
%mat3v4half = OpTypeMatrix %v4half 3
%180 = OpTypeFunction %mat3v4half
%uint_43 = OpConstant %uint 43
%uint_44 = OpConstant %uint 44
%uint_45 = OpConstant %uint 45
%mat4v2half = OpTypeMatrix %v2half 4
%199 = OpTypeFunction %mat4v2half
%uint_46 = OpConstant %uint 46
%uint_47 = OpConstant %uint 47
%uint_48 = OpConstant %uint 48
%uint_49 = OpConstant %uint 49
%mat4v3half = OpTypeMatrix %v3half 4
%222 = OpTypeFunction %mat4v3half
%uint_50 = OpConstant %uint 50
%uint_51 = OpConstant %uint 51
%uint_52 = OpConstant %uint 52
%uint_53 = OpConstant %uint 53
%mat4v4half = OpTypeMatrix %v4half 4
%245 = OpTypeFunction %mat4v4half
%uint_54 = OpConstant %uint 54
%uint_55 = OpConstant %uint 55
%uint_56 = OpConstant %uint 56
%uint_57 = OpConstant %uint 57
%268 = OpTypeFunction %mat4v2half %mat4x2_f16_4
%_arr_mat4v2half_uint_2 = OpTypeArray %mat4v2half %uint_2
%277 = OpTypeFunction %_arr_mat4v2half_uint_2 %_arr_mat4x2_f16_4_uint_2
%_ptr_Function__arr_mat4v2half_uint_2 = OpTypePointer Function %_arr_mat4v2half_uint_2
%284 = OpConstantNull %_arr_mat4v2half_uint_2
%_ptr_Function_uint = OpTypePointer Function %uint
%287 = OpConstantNull %uint
%bool = OpTypeBool
%_ptr_Function__arr_mat4x2_f16_4_uint_2 = OpTypePointer Function %_arr_mat4x2_f16_4_uint_2
%300 = OpConstantNull %_arr_mat4x2_f16_4_uint_2
%_ptr_Function_mat4v2half = OpTypePointer Function %mat4v2half
%_ptr_Function_mat4x2_f16_4 = OpTypePointer Function %mat4x2_f16_4
%uint_1 = OpConstant %uint 1
%void = OpTypeVoid
%313 = OpTypeFunction %void
%_ptr_Uniform_float = OpTypePointer Uniform %float
%_ptr_Uniform_int = OpTypePointer Uniform %int
%_ptr_Uniform_uint = OpTypePointer Uniform %uint
%uint_3 = OpConstant %uint 3
%_ptr_Uniform_half = OpTypePointer Uniform %half
%uint_5 = OpConstant %uint 5
%_ptr_Uniform_v2int = OpTypePointer Uniform %v2int
%uint_6 = OpConstant %uint 6
%_ptr_Uniform_v2uint = OpTypePointer Uniform %v2uint
%uint_7 = OpConstant %uint 7
%uint_8 = OpConstant %uint 8
%_ptr_Uniform_v3float = OpTypePointer Uniform %v3float
%uint_9 = OpConstant %uint 9
%_ptr_Uniform_v3int = OpTypePointer Uniform %v3int
%uint_10 = OpConstant %uint 10
%_ptr_Uniform_v3uint = OpTypePointer Uniform %v3uint
%uint_11 = OpConstant %uint 11
%uint_12 = OpConstant %uint 12
%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
%uint_13 = OpConstant %uint 13
%_ptr_Uniform_v4int = OpTypePointer Uniform %v4int
%uint_14 = OpConstant %uint 14
%_ptr_Uniform_v4uint = OpTypePointer Uniform %v4uint
%uint_15 = OpConstant %uint 15
%uint_18 = OpConstant %uint 18
%_ptr_Uniform_mat2v3float = OpTypePointer Uniform %mat2v3float
%uint_19 = OpConstant %uint 19
%_ptr_Uniform_mat2v4float = OpTypePointer Uniform %mat2v4float
%uint_23 = OpConstant %uint 23
%_ptr_Uniform_mat3v3float = OpTypePointer Uniform %mat3v3float
%uint_24 = OpConstant %uint 24
%_ptr_Uniform_mat3v4float = OpTypePointer Uniform %mat3v4float
%uint_29 = OpConstant %uint 29
%_ptr_Uniform_mat4v3float = OpTypePointer Uniform %mat4v3float
%uint_30 = OpConstant %uint 30
%_ptr_Uniform_mat4v4float = OpTypePointer Uniform %mat4v4float
%uint_58 = OpConstant %uint 58
%_ptr_Uniform__arr_v3float_uint_2 = OpTypePointer Uniform %_arr_v3float_uint_2
%uint_59 = OpConstant %uint 59
%_ptr_Uniform__arr_mat4x2_f16_4_uint_2 = OpTypePointer Uniform %_arr_mat4x2_f16_4_uint_2
%uint_60 = OpConstant %uint 60
%_ptr_Uniform_Inner = OpTypePointer Uniform %Inner
%uint_61 = OpConstant %uint 61
%_ptr_Uniform__arr_Inner_uint_4 = OpTypePointer Uniform %_arr_Inner_uint_4
%load_ub_inner_mat2x2_f32 = OpFunction %mat2v2float None %34
%37 = OpLabel
%41 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%45 = OpAccessChain %_ptr_Uniform_v2float %41 %uint_16
%46 = OpLoad %v2float %45
%49 = OpAccessChain %_ptr_Uniform_v2float %41 %uint_17
%50 = OpLoad %v2float %49
%51 = OpCompositeConstruct %mat2v2float %46 %50
OpReturnValue %51
OpFunctionEnd
%load_ub_inner_mat3x2_f32 = OpFunction %mat3v2float None %52
%55 = OpLabel
%57 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%60 = OpAccessChain %_ptr_Uniform_v2float %57 %uint_20
%61 = OpLoad %v2float %60
%64 = OpAccessChain %_ptr_Uniform_v2float %57 %uint_21
%65 = OpLoad %v2float %64
%68 = OpAccessChain %_ptr_Uniform_v2float %57 %uint_22
%69 = OpLoad %v2float %68
%70 = OpCompositeConstruct %mat3v2float %61 %65 %69
OpReturnValue %70
OpFunctionEnd
%load_ub_inner_mat4x2_f32 = OpFunction %mat4v2float None %71
%74 = OpLabel
%76 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%79 = OpAccessChain %_ptr_Uniform_v2float %76 %uint_25
%80 = OpLoad %v2float %79
%83 = OpAccessChain %_ptr_Uniform_v2float %76 %uint_26
%84 = OpLoad %v2float %83
%87 = OpAccessChain %_ptr_Uniform_v2float %76 %uint_27
%88 = OpLoad %v2float %87
%91 = OpAccessChain %_ptr_Uniform_v2float %76 %uint_28
%92 = OpLoad %v2float %91
%93 = OpCompositeConstruct %mat4v2float %80 %84 %88 %92
OpReturnValue %93
OpFunctionEnd
%load_ub_inner_mat2x2_f16 = OpFunction %mat2v2half None %94
%97 = OpLabel
%99 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%103 = OpAccessChain %_ptr_Uniform_v2half %99 %uint_31
%104 = OpLoad %v2half %103
%107 = OpAccessChain %_ptr_Uniform_v2half %99 %uint_32
%108 = OpLoad %v2half %107
%109 = OpCompositeConstruct %mat2v2half %104 %108
OpReturnValue %109
OpFunctionEnd
%load_ub_inner_mat2x3_f16 = OpFunction %mat2v3half None %110
%113 = OpLabel
%115 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%119 = OpAccessChain %_ptr_Uniform_v3half %115 %uint_33
%120 = OpLoad %v3half %119
%123 = OpAccessChain %_ptr_Uniform_v3half %115 %uint_34
%124 = OpLoad %v3half %123
%125 = OpCompositeConstruct %mat2v3half %120 %124
OpReturnValue %125
OpFunctionEnd
%load_ub_inner_mat2x4_f16 = OpFunction %mat2v4half None %126
%129 = OpLabel
%131 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%135 = OpAccessChain %_ptr_Uniform_v4half %131 %uint_35
%136 = OpLoad %v4half %135
%139 = OpAccessChain %_ptr_Uniform_v4half %131 %uint_36
%140 = OpLoad %v4half %139
%141 = OpCompositeConstruct %mat2v4half %136 %140
OpReturnValue %141
OpFunctionEnd
%load_ub_inner_mat3x2_f16 = OpFunction %mat3v2half None %142
%145 = OpLabel
%147 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%150 = OpAccessChain %_ptr_Uniform_v2half %147 %uint_37
%151 = OpLoad %v2half %150
%154 = OpAccessChain %_ptr_Uniform_v2half %147 %uint_38
%155 = OpLoad %v2half %154
%158 = OpAccessChain %_ptr_Uniform_v2half %147 %uint_39
%159 = OpLoad %v2half %158
%160 = OpCompositeConstruct %mat3v2half %151 %155 %159
OpReturnValue %160
OpFunctionEnd
%load_ub_inner_mat3x3_f16 = OpFunction %mat3v3half None %161
%164 = OpLabel
%166 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%169 = OpAccessChain %_ptr_Uniform_v3half %166 %uint_40
%170 = OpLoad %v3half %169
%173 = OpAccessChain %_ptr_Uniform_v3half %166 %uint_41
%174 = OpLoad %v3half %173
%177 = OpAccessChain %_ptr_Uniform_v3half %166 %uint_42
%178 = OpLoad %v3half %177
%179 = OpCompositeConstruct %mat3v3half %170 %174 %178
OpReturnValue %179
OpFunctionEnd
%load_ub_inner_mat3x4_f16 = OpFunction %mat3v4half None %180
%183 = OpLabel
%185 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%188 = OpAccessChain %_ptr_Uniform_v4half %185 %uint_43
%189 = OpLoad %v4half %188
%192 = OpAccessChain %_ptr_Uniform_v4half %185 %uint_44
%193 = OpLoad %v4half %192
%196 = OpAccessChain %_ptr_Uniform_v4half %185 %uint_45
%197 = OpLoad %v4half %196
%198 = OpCompositeConstruct %mat3v4half %189 %193 %197
OpReturnValue %198
OpFunctionEnd
%load_ub_inner_mat4x2_f16 = OpFunction %mat4v2half None %199
%202 = OpLabel
%204 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%207 = OpAccessChain %_ptr_Uniform_v2half %204 %uint_46
%208 = OpLoad %v2half %207
%211 = OpAccessChain %_ptr_Uniform_v2half %204 %uint_47
%212 = OpLoad %v2half %211
%215 = OpAccessChain %_ptr_Uniform_v2half %204 %uint_48
%216 = OpLoad %v2half %215
%219 = OpAccessChain %_ptr_Uniform_v2half %204 %uint_49
%220 = OpLoad %v2half %219
%221 = OpCompositeConstruct %mat4v2half %208 %212 %216 %220
OpReturnValue %221
OpFunctionEnd
%load_ub_inner_mat4x3_f16 = OpFunction %mat4v3half None %222
%225 = OpLabel
%227 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%230 = OpAccessChain %_ptr_Uniform_v3half %227 %uint_50
%231 = OpLoad %v3half %230
%234 = OpAccessChain %_ptr_Uniform_v3half %227 %uint_51
%235 = OpLoad %v3half %234
%238 = OpAccessChain %_ptr_Uniform_v3half %227 %uint_52
%239 = OpLoad %v3half %238
%242 = OpAccessChain %_ptr_Uniform_v3half %227 %uint_53
%243 = OpLoad %v3half %242
%244 = OpCompositeConstruct %mat4v3half %231 %235 %239 %243
OpReturnValue %244
OpFunctionEnd
%load_ub_inner_mat4x4_f16 = OpFunction %mat4v4half None %245
%248 = OpLabel
%250 = OpAccessChain %_ptr_Uniform_S_std140 %ub %uint_0
%253 = OpAccessChain %_ptr_Uniform_v4half %250 %uint_54
%254 = OpLoad %v4half %253
%257 = OpAccessChain %_ptr_Uniform_v4half %250 %uint_55
%258 = OpLoad %v4half %257
%261 = OpAccessChain %_ptr_Uniform_v4half %250 %uint_56
%262 = OpLoad %v4half %261
%265 = OpAccessChain %_ptr_Uniform_v4half %250 %uint_57
%266 = OpLoad %v4half %265
%267 = OpCompositeConstruct %mat4v4half %254 %258 %262 %266
OpReturnValue %267
OpFunctionEnd
%conv_mat4x2_f16 = OpFunction %mat4v2half None %268
%val = OpFunctionParameter %mat4x2_f16_4
%271 = OpLabel
%272 = OpCompositeExtract %v2half %val 0
%273 = OpCompositeExtract %v2half %val 1
%274 = OpCompositeExtract %v2half %val 2
%275 = OpCompositeExtract %v2half %val 3
%276 = OpCompositeConstruct %mat4v2half %272 %273 %274 %275
OpReturnValue %276
OpFunctionEnd
%conv_arr2_mat4x2_f16 = OpFunction %_arr_mat4v2half_uint_2 None %277
%val_0 = OpFunctionParameter %_arr_mat4x2_f16_4_uint_2
%281 = OpLabel
%arr = OpVariable %_ptr_Function__arr_mat4v2half_uint_2 Function %284
%i = OpVariable %_ptr_Function_uint Function %287
%var_for_index = OpVariable %_ptr_Function__arr_mat4x2_f16_4_uint_2 Function %300
OpBranch %288
%288 = OpLabel
OpLoopMerge %289 %290 None
OpBranch %291
%291 = OpLabel
%293 = OpLoad %uint %i
%294 = OpULessThan %bool %293 %uint_2
%292 = OpLogicalNot %bool %294
OpSelectionMerge %296 None
OpBranchConditional %292 %297 %296
%297 = OpLabel
OpBranch %289
%296 = OpLabel
OpStore %var_for_index %val_0
%301 = OpLoad %uint %i
%303 = OpAccessChain %_ptr_Function_mat4v2half %arr %301
%305 = OpLoad %uint %i
%307 = OpAccessChain %_ptr_Function_mat4x2_f16_4 %var_for_index %305
%308 = OpLoad %mat4x2_f16_4 %307
%304 = OpFunctionCall %mat4v2half %conv_mat4x2_f16 %308
OpStore %303 %304
OpBranch %290
%290 = OpLabel
%309 = OpLoad %uint %i
%311 = OpIAdd %uint %309 %uint_1
OpStore %i %311
OpBranch %288
%289 = OpLabel
%312 = OpLoad %_arr_mat4v2half_uint_2 %arr
OpReturnValue %312
OpFunctionEnd
%main = OpFunction %void None %313
%316 = OpLabel
%318 = OpAccessChain %_ptr_Uniform_float %ub %uint_0 %uint_0
%319 = OpLoad %float %318
%321 = OpAccessChain %_ptr_Uniform_int %ub %uint_0 %uint_1
%322 = OpLoad %int %321
%324 = OpAccessChain %_ptr_Uniform_uint %ub %uint_0 %uint_2
%325 = OpLoad %uint %324
%328 = OpAccessChain %_ptr_Uniform_half %ub %uint_0 %uint_3
%329 = OpLoad %half %328
%330 = OpAccessChain %_ptr_Uniform_v2float %ub %uint_0 %uint_4
%331 = OpLoad %v2float %330
%334 = OpAccessChain %_ptr_Uniform_v2int %ub %uint_0 %uint_5
%335 = OpLoad %v2int %334
%338 = OpAccessChain %_ptr_Uniform_v2uint %ub %uint_0 %uint_6
%339 = OpLoad %v2uint %338
%341 = OpAccessChain %_ptr_Uniform_v2half %ub %uint_0 %uint_7
%342 = OpLoad %v2half %341
%345 = OpAccessChain %_ptr_Uniform_v3float %ub %uint_0 %uint_8
%346 = OpLoad %v3float %345
%349 = OpAccessChain %_ptr_Uniform_v3int %ub %uint_0 %uint_9
%350 = OpLoad %v3int %349
%353 = OpAccessChain %_ptr_Uniform_v3uint %ub %uint_0 %uint_10
%354 = OpLoad %v3uint %353
%356 = OpAccessChain %_ptr_Uniform_v3half %ub %uint_0 %uint_11
%357 = OpLoad %v3half %356
%360 = OpAccessChain %_ptr_Uniform_v4float %ub %uint_0 %uint_12
%361 = OpLoad %v4float %360
%364 = OpAccessChain %_ptr_Uniform_v4int %ub %uint_0 %uint_13
%365 = OpLoad %v4int %364
%368 = OpAccessChain %_ptr_Uniform_v4uint %ub %uint_0 %uint_14
%369 = OpLoad %v4uint %368
%371 = OpAccessChain %_ptr_Uniform_v4half %ub %uint_0 %uint_15
%372 = OpLoad %v4half %371
%373 = OpFunctionCall %mat2v2float %load_ub_inner_mat2x2_f32
%376 = OpAccessChain %_ptr_Uniform_mat2v3float %ub %uint_0 %uint_18
%377 = OpLoad %mat2v3float %376
%380 = OpAccessChain %_ptr_Uniform_mat2v4float %ub %uint_0 %uint_19
%381 = OpLoad %mat2v4float %380
%382 = OpFunctionCall %mat3v2float %load_ub_inner_mat3x2_f32
%385 = OpAccessChain %_ptr_Uniform_mat3v3float %ub %uint_0 %uint_23
%386 = OpLoad %mat3v3float %385
%389 = OpAccessChain %_ptr_Uniform_mat3v4float %ub %uint_0 %uint_24
%390 = OpLoad %mat3v4float %389
%391 = OpFunctionCall %mat4v2float %load_ub_inner_mat4x2_f32
%394 = OpAccessChain %_ptr_Uniform_mat4v3float %ub %uint_0 %uint_29
%395 = OpLoad %mat4v3float %394
%398 = OpAccessChain %_ptr_Uniform_mat4v4float %ub %uint_0 %uint_30
%399 = OpLoad %mat4v4float %398
%400 = OpFunctionCall %mat2v2half %load_ub_inner_mat2x2_f16
%401 = OpFunctionCall %mat2v3half %load_ub_inner_mat2x3_f16
%402 = OpFunctionCall %mat2v4half %load_ub_inner_mat2x4_f16
%403 = OpFunctionCall %mat3v2half %load_ub_inner_mat3x2_f16
%404 = OpFunctionCall %mat3v3half %load_ub_inner_mat3x3_f16
%405 = OpFunctionCall %mat3v4half %load_ub_inner_mat3x4_f16
%406 = OpFunctionCall %mat4v2half %load_ub_inner_mat4x2_f16
%407 = OpFunctionCall %mat4v3half %load_ub_inner_mat4x3_f16
%408 = OpFunctionCall %mat4v4half %load_ub_inner_mat4x4_f16
%411 = OpAccessChain %_ptr_Uniform__arr_v3float_uint_2 %ub %uint_0 %uint_58
%412 = OpLoad %_arr_v3float_uint_2 %411
%416 = OpAccessChain %_ptr_Uniform__arr_mat4x2_f16_4_uint_2 %ub %uint_0 %uint_59
%417 = OpLoad %_arr_mat4x2_f16_4_uint_2 %416
%413 = OpFunctionCall %_arr_mat4v2half_uint_2 %conv_arr2_mat4x2_f16 %417
%420 = OpAccessChain %_ptr_Uniform_Inner %ub %uint_0 %uint_60
%421 = OpLoad %Inner %420
%424 = OpAccessChain %_ptr_Uniform__arr_Inner_uint_4 %ub %uint_0 %uint_61
%425 = OpLoad %_arr_Inner_uint_4 %424
OpReturn
OpFunctionEnd