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 "colorWhite" 10cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v" 11cb93a386Sopenharmony_ciOpName %main "main" 12cb93a386Sopenharmony_ciOpName %x "x" 13cb93a386Sopenharmony_ciOpName %r "r" 14cb93a386Sopenharmony_ciOpName %b "b" 15cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 16cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 17cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 18cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 19cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0 20cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 21cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block 22cb93a386Sopenharmony_ciOpDecorate %10 Binding 0 23cb93a386Sopenharmony_ciOpDecorate %10 DescriptorSet 0 24cb93a386Sopenharmony_ciOpDecorate %x RelaxedPrecision 25cb93a386Sopenharmony_ciOpDecorate %32 RelaxedPrecision 26cb93a386Sopenharmony_ciOpDecorate %r RelaxedPrecision 27cb93a386Sopenharmony_ciOpDecorate %41 RelaxedPrecision 28cb93a386Sopenharmony_ciOpDecorate %45 RelaxedPrecision 29cb93a386Sopenharmony_ciOpDecorate %48 RelaxedPrecision 30cb93a386Sopenharmony_ciOpDecorate %49 RelaxedPrecision 31cb93a386Sopenharmony_ciOpDecorate %53 RelaxedPrecision 32cb93a386Sopenharmony_ciOpDecorate %54 RelaxedPrecision 33cb93a386Sopenharmony_ciOpDecorate %b RelaxedPrecision 34cb93a386Sopenharmony_ciOpDecorate %61 RelaxedPrecision 35cb93a386Sopenharmony_ciOpDecorate %63 RelaxedPrecision 36cb93a386Sopenharmony_ciOpDecorate %66 RelaxedPrecision 37cb93a386Sopenharmony_ciOpDecorate %67 RelaxedPrecision 38cb93a386Sopenharmony_ciOpDecorate %73 RelaxedPrecision 39cb93a386Sopenharmony_ciOpDecorate %74 RelaxedPrecision 40cb93a386Sopenharmony_ciOpDecorate %75 RelaxedPrecision 41cb93a386Sopenharmony_ci%float = OpTypeFloat 32 42cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 43cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 44cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 45cb93a386Sopenharmony_ci%bool = OpTypeBool 46cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 47cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 48cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float 49cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 50cb93a386Sopenharmony_ci%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 51cb93a386Sopenharmony_ci%void = OpTypeVoid 52cb93a386Sopenharmony_ci%15 = OpTypeFunction %void 53cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 54cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 55cb93a386Sopenharmony_ci%19 = OpConstantComposite %v2float %float_0 %float_0 56cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 57cb93a386Sopenharmony_ci%23 = OpTypeFunction %v4float %_ptr_Function_v2float 58cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 59cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 60cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 61cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 62cb93a386Sopenharmony_ci%_ptr_Function_float = OpTypePointer Function %float 63cb93a386Sopenharmony_ci%float_n5 = OpConstant %float -5 64cb93a386Sopenharmony_ci%float_5 = OpConstant %float 5 65cb93a386Sopenharmony_ci%float_1 = OpConstant %float 1 66cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 67cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 68cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %15 69cb93a386Sopenharmony_ci%16 = OpLabel 70cb93a386Sopenharmony_ci%20 = OpVariable %_ptr_Function_v2float Function 71cb93a386Sopenharmony_ciOpStore %20 %19 72cb93a386Sopenharmony_ci%22 = OpFunctionCall %v4float %main %20 73cb93a386Sopenharmony_ciOpStore %sk_FragColor %22 74cb93a386Sopenharmony_ciOpReturn 75cb93a386Sopenharmony_ciOpFunctionEnd 76cb93a386Sopenharmony_ci%main = OpFunction %v4float None %23 77cb93a386Sopenharmony_ci%24 = OpFunctionParameter %_ptr_Function_v2float 78cb93a386Sopenharmony_ci%25 = OpLabel 79cb93a386Sopenharmony_ci%x = OpVariable %_ptr_Function_v4float Function 80cb93a386Sopenharmony_ci%r = OpVariable %_ptr_Function_float Function 81cb93a386Sopenharmony_ci%b = OpVariable %_ptr_Function_float Function 82cb93a386Sopenharmony_ci%28 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 83cb93a386Sopenharmony_ci%32 = OpLoad %v4float %28 84cb93a386Sopenharmony_ciOpStore %x %32 85cb93a386Sopenharmony_ciOpStore %r %float_n5 86cb93a386Sopenharmony_ciOpBranch %36 87cb93a386Sopenharmony_ci%36 = OpLabel 88cb93a386Sopenharmony_ciOpLoopMerge %40 %39 None 89cb93a386Sopenharmony_ciOpBranch %37 90cb93a386Sopenharmony_ci%37 = OpLabel 91cb93a386Sopenharmony_ci%41 = OpLoad %float %r 92cb93a386Sopenharmony_ci%43 = OpFOrdLessThan %bool %41 %float_5 93cb93a386Sopenharmony_ciOpBranchConditional %43 %38 %40 94cb93a386Sopenharmony_ci%38 = OpLabel 95cb93a386Sopenharmony_ci%45 = OpLoad %float %r 96cb93a386Sopenharmony_ci%44 = OpExtInst %float %1 FClamp %45 %float_0 %float_1 97cb93a386Sopenharmony_ci%47 = OpAccessChain %_ptr_Function_float %x %int_0 98cb93a386Sopenharmony_ciOpStore %47 %44 99cb93a386Sopenharmony_ci%48 = OpLoad %v4float %x 100cb93a386Sopenharmony_ci%49 = OpCompositeExtract %float %48 0 101cb93a386Sopenharmony_ci%50 = OpFOrdEqual %bool %49 %float_0 102cb93a386Sopenharmony_ciOpSelectionMerge %52 None 103cb93a386Sopenharmony_ciOpBranchConditional %50 %51 %52 104cb93a386Sopenharmony_ci%51 = OpLabel 105cb93a386Sopenharmony_ciOpBranch %40 106cb93a386Sopenharmony_ci%52 = OpLabel 107cb93a386Sopenharmony_ciOpBranch %39 108cb93a386Sopenharmony_ci%39 = OpLabel 109cb93a386Sopenharmony_ci%53 = OpLoad %float %r 110cb93a386Sopenharmony_ci%54 = OpFAdd %float %53 %float_1 111cb93a386Sopenharmony_ciOpStore %r %54 112cb93a386Sopenharmony_ciOpBranch %36 113cb93a386Sopenharmony_ci%40 = OpLabel 114cb93a386Sopenharmony_ciOpStore %b %float_5 115cb93a386Sopenharmony_ciOpBranch %56 116cb93a386Sopenharmony_ci%56 = OpLabel 117cb93a386Sopenharmony_ciOpLoopMerge %60 %59 None 118cb93a386Sopenharmony_ciOpBranch %57 119cb93a386Sopenharmony_ci%57 = OpLabel 120cb93a386Sopenharmony_ci%61 = OpLoad %float %b 121cb93a386Sopenharmony_ci%62 = OpFOrdGreaterThanEqual %bool %61 %float_0 122cb93a386Sopenharmony_ciOpBranchConditional %62 %58 %60 123cb93a386Sopenharmony_ci%58 = OpLabel 124cb93a386Sopenharmony_ci%63 = OpLoad %float %b 125cb93a386Sopenharmony_ci%64 = OpAccessChain %_ptr_Function_float %x %int_2 126cb93a386Sopenharmony_ciOpStore %64 %63 127cb93a386Sopenharmony_ci%66 = OpLoad %v4float %x 128cb93a386Sopenharmony_ci%67 = OpCompositeExtract %float %66 3 129cb93a386Sopenharmony_ci%68 = OpFOrdEqual %bool %67 %float_1 130cb93a386Sopenharmony_ciOpSelectionMerge %70 None 131cb93a386Sopenharmony_ciOpBranchConditional %68 %69 %70 132cb93a386Sopenharmony_ci%69 = OpLabel 133cb93a386Sopenharmony_ciOpBranch %59 134cb93a386Sopenharmony_ci%70 = OpLabel 135cb93a386Sopenharmony_ci%71 = OpAccessChain %_ptr_Function_float %x %int_1 136cb93a386Sopenharmony_ciOpStore %71 %float_0 137cb93a386Sopenharmony_ciOpBranch %59 138cb93a386Sopenharmony_ci%59 = OpLabel 139cb93a386Sopenharmony_ci%73 = OpLoad %float %b 140cb93a386Sopenharmony_ci%74 = OpFSub %float %73 %float_1 141cb93a386Sopenharmony_ciOpStore %b %74 142cb93a386Sopenharmony_ciOpBranch %56 143cb93a386Sopenharmony_ci%60 = OpLabel 144cb93a386Sopenharmony_ci%75 = OpLoad %v4float %x 145cb93a386Sopenharmony_ciOpReturnValue %75 146cb93a386Sopenharmony_ciOpFunctionEnd 147