1cb93a386Sopenharmony_ciOpCapability Shader 2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450" 3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450 4cb93a386Sopenharmony_ciOpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise 5cb93a386Sopenharmony_ciOpExecutionMode %_entrypoint_v OriginUpperLeft 6cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor" 7cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise" 8cb93a386Sopenharmony_ciOpName %_UniformBuffer "_UniformBuffer" 9cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 0 "colorGreen" 10cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 1 "colorRed" 11cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v" 12cb93a386Sopenharmony_ciOpName %main "main" 13cb93a386Sopenharmony_ciOpName %f "f" 14cb93a386Sopenharmony_ciOpName %h "h" 15cb93a386Sopenharmony_ciOpName %i3 "i3" 16cb93a386Sopenharmony_ciOpName %s3 "s3" 17cb93a386Sopenharmony_ciOpName %h2x2 "h2x2" 18cb93a386Sopenharmony_ciOpName %f2x2 "f2x2" 19cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 20cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 21cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 22cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 23cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0 24cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 25cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 Offset 16 26cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 27cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block 28cb93a386Sopenharmony_ciOpDecorate %10 Binding 0 29cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0 30cb93a386Sopenharmony_ciOpDecorate %_arr_float_int_4 ArrayStride 16 31cb93a386Sopenharmony_ciOpDecorate %h RelaxedPrecision 32cb93a386Sopenharmony_ciOpDecorate %39 RelaxedPrecision 33cb93a386Sopenharmony_ciOpDecorate %_arr_v3int_int_3 ArrayStride 16 34cb93a386Sopenharmony_ciOpDecorate %55 RelaxedPrecision 35cb93a386Sopenharmony_ciOpDecorate %_arr_mat2v2float_int_2 ArrayStride 32 36cb93a386Sopenharmony_ciOpDecorate %61 RelaxedPrecision 37cb93a386Sopenharmony_ciOpDecorate %62 RelaxedPrecision 38cb93a386Sopenharmony_ciOpDecorate %63 RelaxedPrecision 39cb93a386Sopenharmony_ciOpDecorate %68 RelaxedPrecision 40cb93a386Sopenharmony_ciOpDecorate %69 RelaxedPrecision 41cb93a386Sopenharmony_ciOpDecorate %70 RelaxedPrecision 42cb93a386Sopenharmony_ciOpDecorate %74 RelaxedPrecision 43cb93a386Sopenharmony_ciOpDecorate %75 RelaxedPrecision 44cb93a386Sopenharmony_ciOpDecorate %79 RelaxedPrecision 45cb93a386Sopenharmony_ciOpDecorate %98 RelaxedPrecision 46cb93a386Sopenharmony_ciOpDecorate %118 RelaxedPrecision 47cb93a386Sopenharmony_ciOpDecorate %152 RelaxedPrecision 48cb93a386Sopenharmony_ciOpDecorate %154 RelaxedPrecision 49cb93a386Sopenharmony_ciOpDecorate %155 RelaxedPrecision 50cb93a386Sopenharmony_ci%float = OpTypeFloat 32 51cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 52cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 53cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 54cb93a386Sopenharmony_ci%bool = OpTypeBool 55cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 56cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 57cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float %v4float 58cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 59cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 60cb93a386Sopenharmony_ci%void = OpTypeVoid 61cb93a386Sopenharmony_ci%15 = OpTypeFunction %void 62cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 63cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 64cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0 65cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 66cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float 67cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 68cb93a386Sopenharmony_ci%int_4 = OpConstant %int 4 69cb93a386Sopenharmony_ci%_arr_float_int_4 = OpTypeArray %float %int_4 70cb93a386Sopenharmony_ci%_ptr_Function__arr_float_int_4 = OpTypePointer Function %_arr_float_int_4 71cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1 72cb93a386Sopenharmony_ci%float_2 = OpConstant %float 2 73cb93a386Sopenharmony_ci%float_3 = OpConstant %float 3 74cb93a386Sopenharmony_ci%float_4 = OpConstant %float 4 75cb93a386Sopenharmony_ci%_ptr_Function__arr_float_int_4_0 = OpTypePointer Function %_arr_float_int_4 76cb93a386Sopenharmony_ci%v3int = OpTypeVector %int 3 77cb93a386Sopenharmony_ci%int_3 = OpConstant %int 3 78cb93a386Sopenharmony_ci%_arr_v3int_int_3 = OpTypeArray %v3int %int_3 79cb93a386Sopenharmony_ci%_ptr_Function__arr_v3int_int_3 = OpTypePointer Function %_arr_v3int_int_3 80cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 81cb93a386Sopenharmony_ci%47 = OpConstantComposite %v3int %int_1 %int_1 %int_1 82cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 83cb93a386Sopenharmony_ci%49 = OpConstantComposite %v3int %int_2 %int_2 %int_2 84cb93a386Sopenharmony_ci%50 = OpConstantComposite %v3int %int_3 %int_3 %int_3 85cb93a386Sopenharmony_ci%_ptr_Function__arr_v3int_int_3_0 = OpTypePointer Function %_arr_v3int_int_3 86cb93a386Sopenharmony_ci%mat2v2float = OpTypeMatrix %v2float 2 87cb93a386Sopenharmony_ci%_arr_mat2v2float_int_2 = OpTypeArray %mat2v2float %int_2 88cb93a386Sopenharmony_ci%_ptr_Function__arr_mat2v2float_int_2 = OpTypePointer Function %_arr_mat2v2float_int_2 89cb93a386Sopenharmony_ci%float_5 = OpConstant %float 5 90cb93a386Sopenharmony_ci%float_6 = OpConstant %float 6 91cb93a386Sopenharmony_ci%float_7 = OpConstant %float 7 92cb93a386Sopenharmony_ci%float_8 = OpConstant %float 8 93cb93a386Sopenharmony_ci%_ptr_Function__arr_mat2v2float_int_2_0 = OpTypePointer Function %_arr_mat2v2float_int_2 94cb93a386Sopenharmony_ci%false = OpConstantFalse %bool 95cb93a386Sopenharmony_ci%v3bool = OpTypeVector %bool 3 96cb93a386Sopenharmony_ci%v2bool = OpTypeVector %bool 2 97cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 98cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 99cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 100cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15 101cb93a386Sopenharmony_ci%16 = OpLabel 102cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function 103cb93a386Sopenharmony_ciOpStore %20 %19 104cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20 105cb93a386Sopenharmony_ciOpStore %sk_FragColor %22 106cb93a386Sopenharmony_ciOpReturn 107cb93a386Sopenharmony_ciOpFunctionEnd 108cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23 109cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float 110cb93a386Sopenharmony_ci%25 = OpLabel 111cb93a386Sopenharmony_ci%f = OpVariable %_ptr_Function__arr_float_int_4 Function 112cb93a386Sopenharmony_ci%h = OpVariable %_ptr_Function__arr_float_int_4_0 Function 113cb93a386Sopenharmony_ci%i3 = OpVariable %_ptr_Function__arr_v3int_int_3 Function 114cb93a386Sopenharmony_ci%s3 = OpVariable %_ptr_Function__arr_v3int_int_3_0 Function 115cb93a386Sopenharmony_ci%h2x2 = OpVariable %_ptr_Function__arr_mat2v2float_int_2 Function 116cb93a386Sopenharmony_ci%f2x2 = OpVariable %_ptr_Function__arr_mat2v2float_int_2_0 Function 117cb93a386Sopenharmony_ci%144 = OpVariable %_ptr_Function_v4float Function 118cb93a386Sopenharmony_ci%35 = OpCompositeConstruct %_arr_float_int_4 %float_1 %float_2 %float_3 %float_4 119cb93a386Sopenharmony_ciOpStore %f %35 120cb93a386Sopenharmony_ci%38 = OpLoad %_arr_float_int_4 %f 121cb93a386Sopenharmony_ciOpStore %h %38 122cb93a386Sopenharmony_ci%39 = OpLoad %_arr_float_int_4 %h 123cb93a386Sopenharmony_ciOpStore %f %39 124cb93a386Sopenharmony_ci%40 = OpLoad %_arr_float_int_4 %f 125cb93a386Sopenharmony_ciOpStore %h %40 126cb93a386Sopenharmony_ci%51 = OpCompositeConstruct %_arr_v3int_int_3 %47 %49 %50 127cb93a386Sopenharmony_ciOpStore %i3 %51 128cb93a386Sopenharmony_ci%54 = OpLoad %_arr_v3int_int_3 %i3 129cb93a386Sopenharmony_ciOpStore %s3 %54 130cb93a386Sopenharmony_ci%55 = OpLoad %_arr_v3int_int_3 %s3 131cb93a386Sopenharmony_ciOpStore %i3 %55 132cb93a386Sopenharmony_ci%56 = OpLoad %_arr_v3int_int_3 %i3 133cb93a386Sopenharmony_ciOpStore %s3 %56 134cb93a386Sopenharmony_ci%61 = OpCompositeConstruct %v2float %float_1 %float_2 135cb93a386Sopenharmony_ci%62 = OpCompositeConstruct %v2float %float_3 %float_4 136cb93a386Sopenharmony_ci%63 = OpCompositeConstruct %mat2v2float %61 %62 137cb93a386Sopenharmony_ci%68 = OpCompositeConstruct %v2float %float_5 %float_6 138cb93a386Sopenharmony_ci%69 = OpCompositeConstruct %v2float %float_7 %float_8 139cb93a386Sopenharmony_ci%70 = OpCompositeConstruct %mat2v2float %68 %69 140cb93a386Sopenharmony_ci%71 = OpCompositeConstruct %_arr_mat2v2float_int_2 %63 %70 141cb93a386Sopenharmony_ciOpStore %h2x2 %71 142cb93a386Sopenharmony_ci%74 = OpLoad %_arr_mat2v2float_int_2 %h2x2 143cb93a386Sopenharmony_ciOpStore %f2x2 %74 144cb93a386Sopenharmony_ci%75 = OpLoad %_arr_mat2v2float_int_2 %h2x2 145cb93a386Sopenharmony_ciOpStore %f2x2 %75 146cb93a386Sopenharmony_ci%76 = OpLoad %_arr_mat2v2float_int_2 %f2x2 147cb93a386Sopenharmony_ciOpStore %h2x2 %76 148cb93a386Sopenharmony_ci%78 = OpLoad %_arr_float_int_4 %f 149cb93a386Sopenharmony_ci%79 = OpLoad %_arr_float_int_4 %h 150cb93a386Sopenharmony_ci%80 = OpCompositeExtract %float %78 0 151cb93a386Sopenharmony_ci%81 = OpCompositeExtract %float %79 0 152cb93a386Sopenharmony_ci%82 = OpFOrdEqual %bool %80 %81 153cb93a386Sopenharmony_ci%83 = OpCompositeExtract %float %78 1 154cb93a386Sopenharmony_ci%84 = OpCompositeExtract %float %79 1 155cb93a386Sopenharmony_ci%85 = OpFOrdEqual %bool %83 %84 156cb93a386Sopenharmony_ci%86 = OpLogicalAnd %bool %85 %82 157cb93a386Sopenharmony_ci%87 = OpCompositeExtract %float %78 2 158cb93a386Sopenharmony_ci%88 = OpCompositeExtract %float %79 2 159cb93a386Sopenharmony_ci%89 = OpFOrdEqual %bool %87 %88 160cb93a386Sopenharmony_ci%90 = OpLogicalAnd %bool %89 %86 161cb93a386Sopenharmony_ci%91 = OpCompositeExtract %float %78 3 162cb93a386Sopenharmony_ci%92 = OpCompositeExtract %float %79 3 163cb93a386Sopenharmony_ci%93 = OpFOrdEqual %bool %91 %92 164cb93a386Sopenharmony_ci%94 = OpLogicalAnd %bool %93 %90 165cb93a386Sopenharmony_ciOpSelectionMerge %96 None 166cb93a386Sopenharmony_ciOpBranchConditional %94 %95 %96 167cb93a386Sopenharmony_ci%95 = OpLabel 168cb93a386Sopenharmony_ci%97 = OpLoad %_arr_v3int_int_3 %i3 169cb93a386Sopenharmony_ci%98 = OpLoad %_arr_v3int_int_3 %s3 170cb93a386Sopenharmony_ci%99 = OpCompositeExtract %v3int %97 0 171cb93a386Sopenharmony_ci%100 = OpCompositeExtract %v3int %98 0 172cb93a386Sopenharmony_ci%101 = OpIEqual %v3bool %99 %100 173cb93a386Sopenharmony_ci%103 = OpAll %bool %101 174cb93a386Sopenharmony_ci%104 = OpCompositeExtract %v3int %97 1 175cb93a386Sopenharmony_ci%105 = OpCompositeExtract %v3int %98 1 176cb93a386Sopenharmony_ci%106 = OpIEqual %v3bool %104 %105 177cb93a386Sopenharmony_ci%107 = OpAll %bool %106 178cb93a386Sopenharmony_ci%108 = OpLogicalAnd %bool %107 %103 179cb93a386Sopenharmony_ci%109 = OpCompositeExtract %v3int %97 2 180cb93a386Sopenharmony_ci%110 = OpCompositeExtract %v3int %98 2 181cb93a386Sopenharmony_ci%111 = OpIEqual %v3bool %109 %110 182cb93a386Sopenharmony_ci%112 = OpAll %bool %111 183cb93a386Sopenharmony_ci%113 = OpLogicalAnd %bool %112 %108 184cb93a386Sopenharmony_ciOpBranch %96 185cb93a386Sopenharmony_ci%96 = OpLabel 186cb93a386Sopenharmony_ci%114 = OpPhi %bool %false %25 %113 %95 187cb93a386Sopenharmony_ciOpSelectionMerge %116 None 188cb93a386Sopenharmony_ciOpBranchConditional %114 %115 %116 189cb93a386Sopenharmony_ci%115 = OpLabel 190cb93a386Sopenharmony_ci%117 = OpLoad %_arr_mat2v2float_int_2 %f2x2 191cb93a386Sopenharmony_ci%118 = OpLoad %_arr_mat2v2float_int_2 %h2x2 192cb93a386Sopenharmony_ci%119 = OpCompositeExtract %mat2v2float %117 0 193cb93a386Sopenharmony_ci%120 = OpCompositeExtract %mat2v2float %118 0 194cb93a386Sopenharmony_ci%122 = OpCompositeExtract %v2float %119 0 195cb93a386Sopenharmony_ci%123 = OpCompositeExtract %v2float %120 0 196cb93a386Sopenharmony_ci%124 = OpFOrdEqual %v2bool %122 %123 197cb93a386Sopenharmony_ci%125 = OpAll %bool %124 198cb93a386Sopenharmony_ci%126 = OpCompositeExtract %v2float %119 1 199cb93a386Sopenharmony_ci%127 = OpCompositeExtract %v2float %120 1 200cb93a386Sopenharmony_ci%128 = OpFOrdEqual %v2bool %126 %127 201cb93a386Sopenharmony_ci%129 = OpAll %bool %128 202cb93a386Sopenharmony_ci%130 = OpLogicalAnd %bool %125 %129 203cb93a386Sopenharmony_ci%131 = OpCompositeExtract %mat2v2float %117 1 204cb93a386Sopenharmony_ci%132 = OpCompositeExtract %mat2v2float %118 1 205cb93a386Sopenharmony_ci%133 = OpCompositeExtract %v2float %131 0 206cb93a386Sopenharmony_ci%134 = OpCompositeExtract %v2float %132 0 207cb93a386Sopenharmony_ci%135 = OpFOrdEqual %v2bool %133 %134 208cb93a386Sopenharmony_ci%136 = OpAll %bool %135 209cb93a386Sopenharmony_ci%137 = OpCompositeExtract %v2float %131 1 210cb93a386Sopenharmony_ci%138 = OpCompositeExtract %v2float %132 1 211cb93a386Sopenharmony_ci%139 = OpFOrdEqual %v2bool %137 %138 212cb93a386Sopenharmony_ci%140 = OpAll %bool %139 213cb93a386Sopenharmony_ci%141 = OpLogicalAnd %bool %136 %140 214cb93a386Sopenharmony_ci%142 = OpLogicalAnd %bool %141 %130 215cb93a386Sopenharmony_ciOpBranch %116 216cb93a386Sopenharmony_ci%116 = OpLabel 217cb93a386Sopenharmony_ci%143 = OpPhi %bool %false %96 %142 %115 218cb93a386Sopenharmony_ciOpSelectionMerge %148 None 219cb93a386Sopenharmony_ciOpBranchConditional %143 %146 %147 220cb93a386Sopenharmony_ci%146 = OpLabel 221cb93a386Sopenharmony_ci%149 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 222cb93a386Sopenharmony_ci%152 = OpLoad %v4float %149 223cb93a386Sopenharmony_ciOpStore %144 %152 224cb93a386Sopenharmony_ciOpBranch %148 225cb93a386Sopenharmony_ci%147 = OpLabel 226cb93a386Sopenharmony_ci%153 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 227cb93a386Sopenharmony_ci%154 = OpLoad %v4float %153 228cb93a386Sopenharmony_ciOpStore %144 %154 229cb93a386Sopenharmony_ciOpBranch %148 230cb93a386Sopenharmony_ci%148 = OpLabel 231cb93a386Sopenharmony_ci%155 = OpLoad %v4float %144 232cb93a386Sopenharmony_ciOpReturnValue %155 233cb93a386Sopenharmony_ciOpFunctionEnd 234