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 %_entrypoint_v "_entrypoint_v" 9cb93a386Sopenharmony_ciOpName %main "main" 10cb93a386Sopenharmony_ciOpName %B "B" 11cb93a386Sopenharmony_ciOpName %F "F" 12cb93a386Sopenharmony_ciOpName %I "I" 13cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 14cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 15cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 16cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 17cb93a386Sopenharmony_ciOpDecorate %60 RelaxedPrecision 18cb93a386Sopenharmony_ciOpDecorate %64 RelaxedPrecision 19cb93a386Sopenharmony_ciOpDecorate %69 RelaxedPrecision 20cb93a386Sopenharmony_ciOpDecorate %72 RelaxedPrecision 21cb93a386Sopenharmony_ciOpDecorate %81 RelaxedPrecision 22cb93a386Sopenharmony_ciOpDecorate %82 RelaxedPrecision 23cb93a386Sopenharmony_ci%float = OpTypeFloat 32 24cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 25cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 26cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 27cb93a386Sopenharmony_ci%bool = OpTypeBool 28cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 29cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 30cb93a386Sopenharmony_ci%void = OpTypeVoid 31cb93a386Sopenharmony_ci%12 = OpTypeFunction %void 32cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 33cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 34cb93a386Sopenharmony_ci%16 = OpConstantComposite %v2float %float_0 %float_0 35cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 36cb93a386Sopenharmony_ci%20 = OpTypeFunction %v4float %_ptr_Function_v2float 37cb93a386Sopenharmony_ci%v3bool = OpTypeVector %bool 3 38cb93a386Sopenharmony_ci%_ptr_Function_v3bool = OpTypePointer Function %v3bool 39cb93a386Sopenharmony_ci%true = OpConstantTrue %bool 40cb93a386Sopenharmony_ci%_ptr_Function_bool = OpTypePointer Function %bool 41cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 42cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 43cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 44cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 45cb93a386Sopenharmony_ci%v3float = OpTypeVector %float 3 46cb93a386Sopenharmony_ci%_ptr_Function_v3float = OpTypePointer Function %v3float 47cb93a386Sopenharmony_ci%float_1_23000002 = OpConstant %float 1.23000002 48cb93a386Sopenharmony_ci%_ptr_Function_float = OpTypePointer Function %float 49cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1 50cb93a386Sopenharmony_ci%v3int = OpTypeVector %int 3 51cb93a386Sopenharmony_ci%_ptr_Function_v3int = OpTypePointer Function %v3int 52cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int 53cb93a386Sopenharmony_ci%false = OpConstantFalse %bool 54cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %12 55cb93a386Sopenharmony_ci%13 = OpLabel 56cb93a386Sopenharmony_ci%17 = OpVariable %_ptr_Function_v2float Function 57cb93a386Sopenharmony_ciOpStore %17 %16 58cb93a386Sopenharmony_ci%19 = OpFunctionCall %v4float %main %17 59cb93a386Sopenharmony_ciOpStore %sk_FragColor %19 60cb93a386Sopenharmony_ciOpReturn 61cb93a386Sopenharmony_ciOpFunctionEnd 62cb93a386Sopenharmony_ci%main = OpFunction %v4float None %20 63cb93a386Sopenharmony_ci%21 = OpFunctionParameter %_ptr_Function_v2float 64cb93a386Sopenharmony_ci%22 = OpLabel 65cb93a386Sopenharmony_ci%B = OpVariable %_ptr_Function_v3bool Function 66cb93a386Sopenharmony_ci%F = OpVariable %_ptr_Function_v3float Function 67cb93a386Sopenharmony_ci%I = OpVariable %_ptr_Function_v3int Function 68cb93a386Sopenharmony_ci%27 = OpAccessChain %_ptr_Function_bool %B %int_0 69cb93a386Sopenharmony_ciOpStore %27 %true 70cb93a386Sopenharmony_ci%31 = OpAccessChain %_ptr_Function_bool %B %int_1 71cb93a386Sopenharmony_ciOpStore %31 %true 72cb93a386Sopenharmony_ci%33 = OpAccessChain %_ptr_Function_bool %B %int_2 73cb93a386Sopenharmony_ciOpStore %33 %true 74cb93a386Sopenharmony_ci%39 = OpAccessChain %_ptr_Function_float %F %int_0 75cb93a386Sopenharmony_ciOpStore %39 %float_1_23000002 76cb93a386Sopenharmony_ci%41 = OpAccessChain %_ptr_Function_float %F %int_1 77cb93a386Sopenharmony_ciOpStore %41 %float_0 78cb93a386Sopenharmony_ci%43 = OpAccessChain %_ptr_Function_float %F %int_2 79cb93a386Sopenharmony_ciOpStore %43 %float_1 80cb93a386Sopenharmony_ci%47 = OpAccessChain %_ptr_Function_int %I %int_0 81cb93a386Sopenharmony_ciOpStore %47 %int_1 82cb93a386Sopenharmony_ci%49 = OpAccessChain %_ptr_Function_int %I %int_1 83cb93a386Sopenharmony_ciOpStore %49 %int_1 84cb93a386Sopenharmony_ci%50 = OpAccessChain %_ptr_Function_int %I %int_2 85cb93a386Sopenharmony_ciOpStore %50 %int_1 86cb93a386Sopenharmony_ci%51 = OpLoad %v3float %F 87cb93a386Sopenharmony_ci%52 = OpCompositeExtract %float %51 0 88cb93a386Sopenharmony_ci%53 = OpLoad %v3float %F 89cb93a386Sopenharmony_ci%54 = OpCompositeExtract %float %53 1 90cb93a386Sopenharmony_ci%55 = OpFMul %float %52 %54 91cb93a386Sopenharmony_ci%56 = OpLoad %v3float %F 92cb93a386Sopenharmony_ci%57 = OpCompositeExtract %float %56 2 93cb93a386Sopenharmony_ci%58 = OpFMul %float %55 %57 94cb93a386Sopenharmony_ci%60 = OpLoad %v3bool %B 95cb93a386Sopenharmony_ci%61 = OpCompositeExtract %bool %60 0 96cb93a386Sopenharmony_ciOpSelectionMerge %63 None 97cb93a386Sopenharmony_ciOpBranchConditional %61 %62 %63 98cb93a386Sopenharmony_ci%62 = OpLabel 99cb93a386Sopenharmony_ci%64 = OpLoad %v3bool %B 100cb93a386Sopenharmony_ci%65 = OpCompositeExtract %bool %64 1 101cb93a386Sopenharmony_ciOpBranch %63 102cb93a386Sopenharmony_ci%63 = OpLabel 103cb93a386Sopenharmony_ci%66 = OpPhi %bool %false %22 %65 %62 104cb93a386Sopenharmony_ciOpSelectionMerge %68 None 105cb93a386Sopenharmony_ciOpBranchConditional %66 %67 %68 106cb93a386Sopenharmony_ci%67 = OpLabel 107cb93a386Sopenharmony_ci%69 = OpLoad %v3bool %B 108cb93a386Sopenharmony_ci%70 = OpCompositeExtract %bool %69 2 109cb93a386Sopenharmony_ciOpBranch %68 110cb93a386Sopenharmony_ci%68 = OpLabel 111cb93a386Sopenharmony_ci%71 = OpPhi %bool %false %63 %70 %67 112cb93a386Sopenharmony_ci%72 = OpSelect %float %71 %float_1 %float_0 113cb93a386Sopenharmony_ci%73 = OpLoad %v3int %I 114cb93a386Sopenharmony_ci%74 = OpCompositeExtract %int %73 0 115cb93a386Sopenharmony_ci%75 = OpLoad %v3int %I 116cb93a386Sopenharmony_ci%76 = OpCompositeExtract %int %75 1 117cb93a386Sopenharmony_ci%77 = OpIMul %int %74 %76 118cb93a386Sopenharmony_ci%78 = OpLoad %v3int %I 119cb93a386Sopenharmony_ci%79 = OpCompositeExtract %int %78 2 120cb93a386Sopenharmony_ci%80 = OpIMul %int %77 %79 121cb93a386Sopenharmony_ci%81 = OpConvertSToF %float %80 122cb93a386Sopenharmony_ci%82 = OpCompositeConstruct %v4float %58 %72 %float_0 %81 123cb93a386Sopenharmony_ciOpReturnValue %82 124cb93a386Sopenharmony_ciOpFunctionEnd 125