1cb93a386Sopenharmony_ciOpCapability Shader 2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450" 3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450 4cb93a386Sopenharmony_ciOpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise 5cb93a386Sopenharmony_ciOpExecutionMode %main OriginUpperLeft 6cb93a386Sopenharmony_ciOpName %sk_FragColor "sk_FragColor" 7cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise" 8cb93a386Sopenharmony_ciOpName %main "main" 9cb93a386Sopenharmony_ciOpName %Test "Test" 10cb93a386Sopenharmony_ciOpMemberName %Test 0 "x" 11cb93a386Sopenharmony_ciOpMemberName %Test 1 "y" 12cb93a386Sopenharmony_ciOpMemberName %Test 2 "z" 13cb93a386Sopenharmony_ciOpName %t "t" 14cb93a386Sopenharmony_ciOpDecorate %sk_FragColor RelaxedPrecision 15cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Location 0 16cb93a386Sopenharmony_ciOpDecorate %sk_FragColor Index 0 17cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing 18cb93a386Sopenharmony_ciOpMemberDecorate %Test 0 Offset 0 19cb93a386Sopenharmony_ciOpMemberDecorate %Test 1 Offset 4 20cb93a386Sopenharmony_ciOpMemberDecorate %Test 2 Offset 8 21cb93a386Sopenharmony_ciOpDecorate %22 RelaxedPrecision 22cb93a386Sopenharmony_ci%float = OpTypeFloat 32 23cb93a386Sopenharmony_ci%v4float = OpTypeVector %float 4 24cb93a386Sopenharmony_ci%_ptr_Output_v4float = OpTypePointer Output %v4float 25cb93a386Sopenharmony_ci%sk_FragColor = OpVariable %_ptr_Output_v4float Output 26cb93a386Sopenharmony_ci%bool = OpTypeBool 27cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool 28cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input 29cb93a386Sopenharmony_ci%void = OpTypeVoid 30cb93a386Sopenharmony_ci%11 = OpTypeFunction %void 31cb93a386Sopenharmony_ci%int = OpTypeInt 32 1 32cb93a386Sopenharmony_ci%Test = OpTypeStruct %int %int %int 33cb93a386Sopenharmony_ci%_ptr_Function_Test = OpTypePointer Function %Test 34cb93a386Sopenharmony_ci%int_0 = OpConstant %int 0 35cb93a386Sopenharmony_ci%_ptr_Function_int = OpTypePointer Function %int 36cb93a386Sopenharmony_ci%_ptr_Output_float = OpTypePointer Output %float 37cb93a386Sopenharmony_ci%main = OpFunction %void None %11 38cb93a386Sopenharmony_ci%12 = OpLabel 39cb93a386Sopenharmony_ci%t = OpVariable %_ptr_Function_Test Function 40cb93a386Sopenharmony_ci%18 = OpAccessChain %_ptr_Function_int %t %int_0 41cb93a386Sopenharmony_ciOpStore %18 %int_0 42cb93a386Sopenharmony_ci%20 = OpAccessChain %_ptr_Function_int %t %int_0 43cb93a386Sopenharmony_ci%21 = OpLoad %int %20 44cb93a386Sopenharmony_ci%22 = OpConvertSToF %float %21 45cb93a386Sopenharmony_ci%23 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0 46cb93a386Sopenharmony_ciOpStore %23 %22 47cb93a386Sopenharmony_ciOpReturn 48cb93a386Sopenharmony_ciOpFunctionEnd 49