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 %glob "glob" 9cb93a386Sopenharmony_ciOpName %_UniformBuffer "_UniformBuffer" 10cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 0 "colorGreen" 11cb93a386Sopenharmony_ciOpMemberName %_UniformBuffer 1 "colorRed" 12cb93a386Sopenharmony_ciOpName %_entrypoint_v "_entrypoint_v" 13cb93a386Sopenharmony_ciOpName %block_variable_hides_global_variable_b "block_variable_hides_global_variable_b" 14cb93a386Sopenharmony_ciOpName %local_variable_hides_struct_b "local_variable_hides_struct_b" 15cb93a386Sopenharmony_ciOpName %S "S" 16cb93a386Sopenharmony_ciOpName %local_struct_variable_hides_struct_type_b "local_struct_variable_hides_struct_type_b" 17cb93a386Sopenharmony_ciOpName %S_0 "S" 18cb93a386Sopenharmony_ciOpMemberName %S_0 0 "i" 19cb93a386Sopenharmony_ciOpName %S_1 "S" 20cb93a386Sopenharmony_ciOpName %local_variable_hides_global_variable_b "local_variable_hides_global_variable_b" 21cb93a386Sopenharmony_ciOpName %glob_0 "glob" 22cb93a386Sopenharmony_ciOpName %main "main" 23cb93a386Sopenharmony_ciOpName %_0_var "_0_var" 24cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 25cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 26cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 27cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 28cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 Offset 0 29cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 30cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 Offset 16 31cb93a386Sopenharmony_ciOpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 32cb93a386Sopenharmony_ciOpDecorate %_UniformBuffer Block 33cb93a386Sopenharmony_ciOpDecorate %17 Binding 0 34cb93a386Sopenharmony_ciOpDecorate %17 DescriptorSet 0 35cb93a386Sopenharmony_ciOpDecorate %39 RelaxedPrecision 36cb93a386Sopenharmony_ciOpMemberDecorate %S_0 0 Offset 0 37cb93a386Sopenharmony_ciOpDecorate %60 RelaxedPrecision 38cb93a386Sopenharmony_ciOpDecorate %84 RelaxedPrecision 39cb93a386Sopenharmony_ciOpDecorate %86 RelaxedPrecision 40cb93a386Sopenharmony_ciOpDecorate %87 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%int = OpTypeInt 32 1 49cb93a386Sopenharmony_ci%_ptr_Private_int = OpTypePointer Private %int 50cb93a386Sopenharmony_ci%glob = OpVariable %_ptr_Private_int Private 51cb93a386Sopenharmony_ci%_UniformBuffer = OpTypeStruct %v4float %v4float 52cb93a386Sopenharmony_ci%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 53cb93a386Sopenharmony_ci%17 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 54cb93a386Sopenharmony_ci%void = OpTypeVoid 55cb93a386Sopenharmony_ci%22 = OpTypeFunction %void 56cb93a386Sopenharmony_ci%v2float = OpTypeVector %float 2 57cb93a386Sopenharmony_ci%float_0 = OpConstant %float 0 58cb93a386Sopenharmony_ci%26 = OpConstantComposite %v2float %float_0 %float_0 59cb93a386Sopenharmony_ci%_ptr_Function_v2float = OpTypePointer Function %v2float 60cb93a386Sopenharmony_ci%30 = OpTypeFunction %bool 61cb93a386Sopenharmony_ci%int_2 = OpConstant %int 2 62cb93a386Sopenharmony_ci%_ptr_Function_bool = OpTypePointer Function %bool 63cb93a386Sopenharmony_ci%true = OpConstantTrue %bool 64cb93a386Sopenharmony_ci%S_0 = OpTypeStruct %int 65cb93a386Sopenharmony_ci%_ptr_Function_S_0 = OpTypePointer Function %S_0 66cb93a386Sopenharmony_ci%int_1 = OpConstant %int 1 67cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 68cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int 69cb93a386Sopenharmony_ci%55 = OpTypeFunction %v4float %_ptr_Function_v2float 70cb93a386Sopenharmony_ci%false = OpConstantFalse %bool 71cb93a386Sopenharmony_ci%_ptr_Function_v4float = OpTypePointer Function %v4float 72cb93a386Sopenharmony_ci%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 73cb93a386Sopenharmony_ci%_entrypoint_v = OpFunction %void None %22 74cb93a386Sopenharmony_ci%23 = OpLabel 75cb93a386Sopenharmony_ci%27 = OpVariable %_ptr_Function_v2float Function 76cb93a386Sopenharmony_ciOpStore %27 %26 77cb93a386Sopenharmony_ci%29 = OpFunctionCall %v4float %main %27 78cb93a386Sopenharmony_ciOpStore %sk_FragColor %29 79cb93a386Sopenharmony_ciOpReturn 80cb93a386Sopenharmony_ciOpFunctionEnd 81cb93a386Sopenharmony_ci%block_variable_hides_global_variable_b = OpFunction %bool None %30 82cb93a386Sopenharmony_ci%31 = OpLabel 83cb93a386Sopenharmony_ci%32 = OpLoad %int %glob 84cb93a386Sopenharmony_ci%34 = OpIEqual %bool %32 %int_2 85cb93a386Sopenharmony_ciOpReturnValue %34 86cb93a386Sopenharmony_ciOpFunctionEnd 87cb93a386Sopenharmony_ci%local_variable_hides_struct_b = OpFunction %bool None %30 88cb93a386Sopenharmony_ci%35 = OpLabel 89cb93a386Sopenharmony_ci%S = OpVariable %_ptr_Function_bool Function 90cb93a386Sopenharmony_ciOpStore %S %true 91cb93a386Sopenharmony_ci%39 = OpLoad %bool %S 92cb93a386Sopenharmony_ciOpReturnValue %39 93cb93a386Sopenharmony_ciOpFunctionEnd 94cb93a386Sopenharmony_ci%local_struct_variable_hides_struct_type_b = OpFunction %bool None %30 95cb93a386Sopenharmony_ci%40 = OpLabel 96cb93a386Sopenharmony_ci%S_1 = OpVariable %_ptr_Function_S_0 Function 97cb93a386Sopenharmony_ci%45 = OpCompositeConstruct %S_0 %int_1 98cb93a386Sopenharmony_ciOpStore %S_1 %45 99cb93a386Sopenharmony_ci%47 = OpAccessChain %_ptr_Function_int %S_1 %int_0 100cb93a386Sopenharmony_ci%49 = OpLoad %int %47 101cb93a386Sopenharmony_ci%50 = OpIEqual %bool %49 %int_1 102cb93a386Sopenharmony_ciOpReturnValue %50 103cb93a386Sopenharmony_ciOpFunctionEnd 104cb93a386Sopenharmony_ci%local_variable_hides_global_variable_b = OpFunction %bool None %30 105cb93a386Sopenharmony_ci%51 = OpLabel 106cb93a386Sopenharmony_ci%glob_0 = OpVariable %_ptr_Function_int Function 107cb93a386Sopenharmony_ciOpStore %glob_0 %int_1 108cb93a386Sopenharmony_ci%53 = OpLoad %int %glob_0 109cb93a386Sopenharmony_ci%54 = OpIEqual %bool %53 %int_1 110cb93a386Sopenharmony_ciOpReturnValue %54 111cb93a386Sopenharmony_ciOpFunctionEnd 112cb93a386Sopenharmony_ci%main = OpFunction %v4float None %55 113cb93a386Sopenharmony_ci%56 = OpFunctionParameter %_ptr_Function_v2float 114cb93a386Sopenharmony_ci%57 = OpLabel 115cb93a386Sopenharmony_ci%_0_var = OpVariable %_ptr_Function_bool Function 116cb93a386Sopenharmony_ci%77 = OpVariable %_ptr_Function_v4float Function 117cb93a386Sopenharmony_ciOpStore %glob %int_2 118cb93a386Sopenharmony_ciOpStore %_0_var %true 119cb93a386Sopenharmony_ci%60 = OpLoad %bool %_0_var 120cb93a386Sopenharmony_ciOpSelectionMerge %62 None 121cb93a386Sopenharmony_ciOpBranchConditional %60 %61 %62 122cb93a386Sopenharmony_ci%61 = OpLabel 123cb93a386Sopenharmony_ci%63 = OpFunctionCall %bool %block_variable_hides_global_variable_b 124cb93a386Sopenharmony_ciOpBranch %62 125cb93a386Sopenharmony_ci%62 = OpLabel 126cb93a386Sopenharmony_ci%64 = OpPhi %bool %false %57 %63 %61 127cb93a386Sopenharmony_ciOpSelectionMerge %66 None 128cb93a386Sopenharmony_ciOpBranchConditional %64 %65 %66 129cb93a386Sopenharmony_ci%65 = OpLabel 130cb93a386Sopenharmony_ci%67 = OpFunctionCall %bool %local_variable_hides_struct_b 131cb93a386Sopenharmony_ciOpBranch %66 132cb93a386Sopenharmony_ci%66 = OpLabel 133cb93a386Sopenharmony_ci%68 = OpPhi %bool %false %62 %67 %65 134cb93a386Sopenharmony_ciOpSelectionMerge %70 None 135cb93a386Sopenharmony_ciOpBranchConditional %68 %69 %70 136cb93a386Sopenharmony_ci%69 = OpLabel 137cb93a386Sopenharmony_ci%71 = OpFunctionCall %bool %local_struct_variable_hides_struct_type_b 138cb93a386Sopenharmony_ciOpBranch %70 139cb93a386Sopenharmony_ci%70 = OpLabel 140cb93a386Sopenharmony_ci%72 = OpPhi %bool %false %66 %71 %69 141cb93a386Sopenharmony_ciOpSelectionMerge %74 None 142cb93a386Sopenharmony_ciOpBranchConditional %72 %73 %74 143cb93a386Sopenharmony_ci%73 = OpLabel 144cb93a386Sopenharmony_ci%75 = OpFunctionCall %bool %local_variable_hides_global_variable_b 145cb93a386Sopenharmony_ciOpBranch %74 146cb93a386Sopenharmony_ci%74 = OpLabel 147cb93a386Sopenharmony_ci%76 = OpPhi %bool %false %70 %75 %73 148cb93a386Sopenharmony_ciOpSelectionMerge %81 None 149cb93a386Sopenharmony_ciOpBranchConditional %76 %79 %80 150cb93a386Sopenharmony_ci%79 = OpLabel 151cb93a386Sopenharmony_ci%82 = OpAccessChain %_ptr_Uniform_v4float %17 %int_0 152cb93a386Sopenharmony_ci%84 = OpLoad %v4float %82 153cb93a386Sopenharmony_ciOpStore %77 %84 154cb93a386Sopenharmony_ciOpBranch %81 155cb93a386Sopenharmony_ci%80 = OpLabel 156cb93a386Sopenharmony_ci%85 = OpAccessChain %_ptr_Uniform_v4float %17 %int_1 157cb93a386Sopenharmony_ci%86 = OpLoad %v4float %85 158cb93a386Sopenharmony_ciOpStore %77 %86 159cb93a386Sopenharmony_ciOpBranch %81 160cb93a386Sopenharmony_ci%81 = OpLabel 161cb93a386Sopenharmony_ci%87 = OpLoad %v4float %77 162cb93a386Sopenharmony_ciOpReturnValue %87 163cb93a386Sopenharmony_ciOpFunctionEnd 164