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 %i2 "i2" 14cb93a386Sopenharmony_ciOpName %s2 "s2" 15cb93a386Sopenharmony_ciOpName %f2 "f2" 16cb93a386Sopenharmony_ciOpName %h2 "h2" 17cb93a386Sopenharmony_ciOpName %cf2 "cf2" 18cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 19cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 20cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 21cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 22cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0 23cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 24cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 Offset 16 25cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 26cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block 27cb93a386Sopenharmony_ciOpDecorate %10 Binding 0 28cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0 29cb93a386Sopenharmony_ciOpDecorate %_arr_int_int_2 ArrayStride 16 30cb93a386Sopenharmony_ciOpDecorate %s2 RelaxedPrecision 31cb93a386Sopenharmony_ciOpDecorate %35 RelaxedPrecision 32cb93a386Sopenharmony_ciOpDecorate %_arr_float_int_2 ArrayStride 16 33cb93a386Sopenharmony_ciOpDecorate %h2 RelaxedPrecision 34cb93a386Sopenharmony_ciOpDecorate %44 RelaxedPrecision 35cb93a386Sopenharmony_ciOpDecorate %45 RelaxedPrecision 36cb93a386Sopenharmony_ciOpDecorate %47 RelaxedPrecision 37cb93a386Sopenharmony_ciOpDecorate %53 RelaxedPrecision 38cb93a386Sopenharmony_ciOpDecorate %64 RelaxedPrecision 39cb93a386Sopenharmony_ciOpDecorate %87 RelaxedPrecision 40cb93a386Sopenharmony_ciOpDecorate %105 RelaxedPrecision 41cb93a386Sopenharmony_ciOpDecorate %107 RelaxedPrecision 42cb93a386Sopenharmony_ciOpDecorate %108 RelaxedPrecision 43cb93a386Sopenharmony_ci%float = OpTypeFloat 32 44cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 45cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 46cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 47cb93a386Sopenharmony_ci%bool = OpTypeBool 48cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 49cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 50cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float %v4float 51cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 52cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 53cb93a386Sopenharmony_ci%void = OpTypeVoid 54cb93a386Sopenharmony_ci%15 = OpTypeFunction %void 55cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 56cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 57cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0 58cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 59cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float 60cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 61cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 62cb93a386Sopenharmony_ci%_arr_int_int_2 = OpTypeArray %int %int_2 63cb93a386Sopenharmony_ci%_ptr_Function__arr_int_int_2 = OpTypePointer Function %_arr_int_int_2 64cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 65cb93a386Sopenharmony_ci%_ptr_Function__arr_int_int_2_0 = OpTypePointer Function %_arr_int_int_2 66cb93a386Sopenharmony_ci%_arr_float_int_2 = OpTypeArray %float %int_2 67cb93a386Sopenharmony_ci%_ptr_Function__arr_float_int_2 = OpTypePointer Function %_arr_float_int_2 68cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1 69cb93a386Sopenharmony_ci%float_2 = OpConstant %float 2 70cb93a386Sopenharmony_ci%_ptr_Function__arr_float_int_2_0 = OpTypePointer Function %_arr_float_int_2 71cb93a386Sopenharmony_ci%false = OpConstantFalse %bool 72cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 73cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 74cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 75cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15 76cb93a386Sopenharmony_ci%16 = OpLabel 77cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function 78cb93a386Sopenharmony_ciOpStore %20 %19 79cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20 80cb93a386Sopenharmony_ciOpStore %sk_FragColor %22 81cb93a386Sopenharmony_ciOpReturn 82cb93a386Sopenharmony_ciOpFunctionEnd 83cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23 84cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float 85cb93a386Sopenharmony_ci%25 = OpLabel 86cb93a386Sopenharmony_ci%i2 = OpVariable %_ptr_Function__arr_int_int_2 Function 87cb93a386Sopenharmony_ci%s2 = OpVariable %_ptr_Function__arr_int_int_2_0 Function 88cb93a386Sopenharmony_ci%f2 = OpVariable %_ptr_Function__arr_float_int_2 Function 89cb93a386Sopenharmony_ci%h2 = OpVariable %_ptr_Function__arr_float_int_2_0 Function 90cb93a386Sopenharmony_ci%cf2 = OpVariable %_ptr_Function__arr_float_int_2 Function 91cb93a386Sopenharmony_ci%97 = OpVariable %_ptr_Function_v4float Function 92cb93a386Sopenharmony_ci%32 = OpCompositeConstruct %_arr_int_int_2 %int_1 %int_2 93cb93a386Sopenharmony_ciOpStore %i2 %32 94cb93a386Sopenharmony_ci%35 = OpCompositeConstruct %_arr_int_int_2 %int_1 %int_2 95cb93a386Sopenharmony_ciOpStore %s2 %35 96cb93a386Sopenharmony_ci%41 = OpCompositeConstruct %_arr_float_int_2 %float_1 %float_2 97cb93a386Sopenharmony_ciOpStore %f2 %41 98cb93a386Sopenharmony_ci%44 = OpCompositeConstruct %_arr_float_int_2 %float_1 %float_2 99cb93a386Sopenharmony_ciOpStore %h2 %44 100cb93a386Sopenharmony_ci%45 = OpLoad %_arr_int_int_2 %s2 101cb93a386Sopenharmony_ciOpStore %i2 %45 102cb93a386Sopenharmony_ci%46 = OpLoad %_arr_int_int_2 %i2 103cb93a386Sopenharmony_ciOpStore %s2 %46 104cb93a386Sopenharmony_ci%47 = OpLoad %_arr_float_int_2 %h2 105cb93a386Sopenharmony_ciOpStore %f2 %47 106cb93a386Sopenharmony_ci%48 = OpLoad %_arr_float_int_2 %f2 107cb93a386Sopenharmony_ciOpStore %h2 %48 108cb93a386Sopenharmony_ci%50 = OpCompositeConstruct %_arr_float_int_2 %float_1 %float_2 109cb93a386Sopenharmony_ciOpStore %cf2 %50 110cb93a386Sopenharmony_ci%52 = OpLoad %_arr_int_int_2 %i2 111cb93a386Sopenharmony_ci%53 = OpLoad %_arr_int_int_2 %s2 112cb93a386Sopenharmony_ci%54 = OpCompositeExtract %int %52 0 113cb93a386Sopenharmony_ci%55 = OpCompositeExtract %int %53 0 114cb93a386Sopenharmony_ci%56 = OpIEqual %bool %54 %55 115cb93a386Sopenharmony_ci%57 = OpCompositeExtract %int %52 1 116cb93a386Sopenharmony_ci%58 = OpCompositeExtract %int %53 1 117cb93a386Sopenharmony_ci%59 = OpIEqual %bool %57 %58 118cb93a386Sopenharmony_ci%60 = OpLogicalAnd %bool %59 %56 119cb93a386Sopenharmony_ciOpSelectionMerge %62 None 120cb93a386Sopenharmony_ciOpBranchConditional %60 %61 %62 121cb93a386Sopenharmony_ci%61 = OpLabel 122cb93a386Sopenharmony_ci%63 = OpLoad %_arr_float_int_2 %f2 123cb93a386Sopenharmony_ci%64 = OpLoad %_arr_float_int_2 %h2 124cb93a386Sopenharmony_ci%65 = OpCompositeExtract %float %63 0 125cb93a386Sopenharmony_ci%66 = OpCompositeExtract %float %64 0 126cb93a386Sopenharmony_ci%67 = OpFOrdEqual %bool %65 %66 127cb93a386Sopenharmony_ci%68 = OpCompositeExtract %float %63 1 128cb93a386Sopenharmony_ci%69 = OpCompositeExtract %float %64 1 129cb93a386Sopenharmony_ci%70 = OpFOrdEqual %bool %68 %69 130cb93a386Sopenharmony_ci%71 = OpLogicalAnd %bool %70 %67 131cb93a386Sopenharmony_ciOpBranch %62 132cb93a386Sopenharmony_ci%62 = OpLabel 133cb93a386Sopenharmony_ci%72 = OpPhi %bool %false %25 %71 %61 134cb93a386Sopenharmony_ciOpSelectionMerge %74 None 135cb93a386Sopenharmony_ciOpBranchConditional %72 %73 %74 136cb93a386Sopenharmony_ci%73 = OpLabel 137cb93a386Sopenharmony_ci%75 = OpLoad %_arr_int_int_2 %i2 138cb93a386Sopenharmony_ci%76 = OpCompositeConstruct %_arr_int_int_2 %int_1 %int_2 139cb93a386Sopenharmony_ci%77 = OpCompositeExtract %int %75 0 140cb93a386Sopenharmony_ci%78 = OpCompositeExtract %int %76 0 141cb93a386Sopenharmony_ci%79 = OpIEqual %bool %77 %78 142cb93a386Sopenharmony_ci%80 = OpCompositeExtract %int %75 1 143cb93a386Sopenharmony_ci%81 = OpCompositeExtract %int %76 1 144cb93a386Sopenharmony_ci%82 = OpIEqual %bool %80 %81 145cb93a386Sopenharmony_ci%83 = OpLogicalAnd %bool %82 %79 146cb93a386Sopenharmony_ciOpBranch %74 147cb93a386Sopenharmony_ci%74 = OpLabel 148cb93a386Sopenharmony_ci%84 = OpPhi %bool %false %62 %83 %73 149cb93a386Sopenharmony_ciOpSelectionMerge %86 None 150cb93a386Sopenharmony_ciOpBranchConditional %84 %85 %86 151cb93a386Sopenharmony_ci%85 = OpLabel 152cb93a386Sopenharmony_ci%87 = OpLoad %_arr_float_int_2 %h2 153cb93a386Sopenharmony_ci%88 = OpLoad %_arr_float_int_2 %cf2 154cb93a386Sopenharmony_ci%89 = OpCompositeExtract %float %87 0 155cb93a386Sopenharmony_ci%90 = OpCompositeExtract %float %88 0 156cb93a386Sopenharmony_ci%91 = OpFOrdEqual %bool %89 %90 157cb93a386Sopenharmony_ci%92 = OpCompositeExtract %float %87 1 158cb93a386Sopenharmony_ci%93 = OpCompositeExtract %float %88 1 159cb93a386Sopenharmony_ci%94 = OpFOrdEqual %bool %92 %93 160cb93a386Sopenharmony_ci%95 = OpLogicalAnd %bool %94 %91 161cb93a386Sopenharmony_ciOpBranch %86 162cb93a386Sopenharmony_ci%86 = OpLabel 163cb93a386Sopenharmony_ci%96 = OpPhi %bool %false %74 %95 %85 164cb93a386Sopenharmony_ciOpSelectionMerge %101 None 165cb93a386Sopenharmony_ciOpBranchConditional %96 %99 %100 166cb93a386Sopenharmony_ci%99 = OpLabel 167cb93a386Sopenharmony_ci%102 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 168cb93a386Sopenharmony_ci%105 = OpLoad %v4float %102 169cb93a386Sopenharmony_ciOpStore %97 %105 170cb93a386Sopenharmony_ciOpBranch %101 171cb93a386Sopenharmony_ci%100 = OpLabel 172cb93a386Sopenharmony_ci%106 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 173cb93a386Sopenharmony_ci%107 = OpLoad %v4float %106 174cb93a386Sopenharmony_ciOpStore %97 %107 175cb93a386Sopenharmony_ciOpBranch %101 176cb93a386Sopenharmony_ci%101 = OpLabel 177cb93a386Sopenharmony_ci%108 = OpLoad %v4float %97 178cb93a386Sopenharmony_ciOpReturnValue %108 179cb93a386Sopenharmony_ciOpFunctionEnd 180