Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / shared / StaticSwitchWithFallthroughA.asm.frag
1 OpCapability Shader
2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise
5 OpExecutionMode %main OriginUpperLeft
6 OpName %sk_FragColor "sk_FragColor"
7 OpName %sk_Clockwise "sk_Clockwise"
8 OpName %main "main"
9 OpName %x "x"
10 OpDecorate %sk_FragColor RelaxedPrecision
11 OpDecorate %sk_FragColor Location 0
12 OpDecorate %sk_FragColor Index 0
13 OpDecorate %sk_Clockwise BuiltIn FrontFacing
14 %float = OpTypeFloat 32
15 %v4float = OpTypeVector %float 4
16 %_ptr_Output_v4float = OpTypePointer Output %v4float
17 %sk_FragColor = OpVariable %_ptr_Output_v4float Output
18 %bool = OpTypeBool
19 %_ptr_Input_bool = OpTypePointer Input %bool
20 %sk_Clockwise = OpVariable %_ptr_Input_bool Input
21 %void = OpTypeVoid
22 %11 = OpTypeFunction %void
23 %_ptr_Function_float = OpTypePointer Function %float
24 %float_0 = OpConstant %float 0
25 %float_1 = OpConstant %float 1
26 %17 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
27 %main = OpFunction %void None %11
28 %12 = OpLabel
29 %x = OpVariable %_ptr_Function_float Function
30 OpStore %x %float_0
31 OpStore %x %float_0
32 OpStore %x %float_1
33 OpStore %sk_FragColor %17
34 OpReturn
35 OpFunctionEnd