Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / shared / DoubleNegation.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 %_UniformBuffer "_UniformBuffer"
9 OpMemberName %_UniformBuffer 0 "colorGreen"
10 OpName %_entrypoint_v "_entrypoint_v"
11 OpName %main "main"
12 OpDecorate %sk_FragColor RelaxedPrecision
13 OpDecorate %sk_FragColor Location 0
14 OpDecorate %sk_FragColor Index 0
15 OpDecorate %sk_Clockwise BuiltIn FrontFacing
16 OpMemberDecorate %_UniformBuffer 0 Offset 0
17 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
18 OpDecorate %_UniformBuffer Block
19 OpDecorate %10 Binding 0
20 OpDecorate %10 DescriptorSet 0
21 OpDecorate %30 RelaxedPrecision
22 OpDecorate %31 RelaxedPrecision
23 OpDecorate %33 RelaxedPrecision
24 OpDecorate %35 RelaxedPrecision
25 OpDecorate %36 RelaxedPrecision
26 OpDecorate %38 RelaxedPrecision
27 OpDecorate %39 RelaxedPrecision
28 OpDecorate %40 RelaxedPrecision
29 OpDecorate %41 RelaxedPrecision
30 OpDecorate %42 RelaxedPrecision
31 %float = OpTypeFloat 32
32 %v4float = OpTypeVector %float 4
33 %_ptr_Output_v4float = OpTypePointer Output %v4float
34 %sk_FragColor = OpVariable %_ptr_Output_v4float Output
35 %bool = OpTypeBool
36 %_ptr_Input_bool = OpTypePointer Input %bool
37 %sk_Clockwise = OpVariable %_ptr_Input_bool Input
38 %_UniformBuffer = OpTypeStruct %v4float
39 %_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
40 %10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
41 %void = OpTypeVoid
42 %15 = OpTypeFunction %void
43 %float_0 = OpConstant %float 0
44 %v2float = OpTypeVector %float 2
45 %19 = OpConstantComposite %v2float %float_0 %float_0
46 %_ptr_Function_v2float = OpTypePointer Function %v2float
47 %23 = OpTypeFunction %v4float %_ptr_Function_v2float
48 %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
49 %int = OpTypeInt 32 1
50 %int_0 = OpConstant %int 0
51 %_entrypoint_v = OpFunction %void None %15
52 %16 = OpLabel
53 %20 = OpVariable %_ptr_Function_v2float Function
54 OpStore %20 %19
55 %22 = OpFunctionCall %v4float %main %20
56 OpStore %sk_FragColor %22
57 OpReturn
58 OpFunctionEnd
59 %main = OpFunction %v4float None %23
60 %24 = OpFunctionParameter %_ptr_Function_v2float
61 %25 = OpLabel
62 %26 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
63 %30 = OpLoad %v4float %26
64 %31 = OpCompositeExtract %float %30 0
65 %32 = OpConvertFToS %int %31
66 %33 = OpConvertSToF %float %32
67 %34 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
68 %35 = OpLoad %v4float %34
69 %36 = OpCompositeExtract %float %35 1
70 %37 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
71 %38 = OpLoad %v4float %37
72 %39 = OpVectorShuffle %v2float %38 %38 2 3
73 %40 = OpCompositeExtract %float %39 0
74 %41 = OpCompositeExtract %float %39 1
75 %42 = OpCompositeConstruct %v4float %33 %36 %40 %41
76 OpReturnValue %42
77 OpFunctionEnd