1cb93a386Sopenharmony_ciOpCapability Shader
2cb93a386Sopenharmony_ci%1 = OpExtInstImport "GLSL.std.450"
3cb93a386Sopenharmony_ciOpMemoryModel Logical GLSL450
4cb93a386Sopenharmony_ciOpEntryPoint Fragment %main "main" %sk_Clockwise
5cb93a386Sopenharmony_ciOpExecutionMode %main OriginUpperLeft
6cb93a386Sopenharmony_ciOpName %sk_Clockwise "sk_Clockwise"
7cb93a386Sopenharmony_ciOpName %main "main"
8cb93a386Sopenharmony_ciOpName %x "x"
9cb93a386Sopenharmony_ciOpDecorate %sk_Clockwise BuiltIn FrontFacing
10cb93a386Sopenharmony_ci%bool = OpTypeBool
11cb93a386Sopenharmony_ci%_ptr_Input_bool = OpTypePointer Input %bool
12cb93a386Sopenharmony_ci%sk_Clockwise = OpVariable %_ptr_Input_bool Input
13cb93a386Sopenharmony_ci%void = OpTypeVoid
14cb93a386Sopenharmony_ci%7 = OpTypeFunction %void
15cb93a386Sopenharmony_ci%uint = OpTypeInt 32 0
16cb93a386Sopenharmony_ci%_ptr_Function_uint = OpTypePointer Function %uint
17cb93a386Sopenharmony_ci%uint_1 = OpConstant %uint 1
18cb93a386Sopenharmony_ci%main = OpFunction %void None %7
19cb93a386Sopenharmony_ci%8 = OpLabel
20cb93a386Sopenharmony_ci%x = OpVariable %_ptr_Function_uint Function
21cb93a386Sopenharmony_ci%14 = OpLoad %uint %x
22cb93a386Sopenharmony_ci%15 = OpIAdd %uint %14 %uint_1
23cb93a386Sopenharmony_ciOpStore %x %15
24cb93a386Sopenharmony_ci%12 = OpSNegate %uint %15
25cb93a386Sopenharmony_ciOpReturn
26cb93a386Sopenharmony_ciOpFunctionEnd
27