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