Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / tests / sksl / intrinsics / Acosh.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 "inputVal"
10 OpMemberName %_UniformBuffer 1 "expected"
11 OpMemberName %_UniformBuffer 2 "colorGreen"
12 OpMemberName %_UniformBuffer 3 "colorRed"
13 OpName %_entrypoint_v "_entrypoint_v"
14 OpName %main "main"
15 OpDecorate %sk_FragColor RelaxedPrecision
16 OpDecorate %sk_FragColor Location 0
17 OpDecorate %sk_FragColor Index 0
18 OpDecorate %sk_Clockwise BuiltIn FrontFacing
19 OpMemberDecorate %_UniformBuffer 0 Offset 0
20 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
21 OpMemberDecorate %_UniformBuffer 1 Offset 16
22 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
23 OpMemberDecorate %_UniformBuffer 2 Offset 32
24 OpMemberDecorate %_UniformBuffer 2 RelaxedPrecision
25 OpMemberDecorate %_UniformBuffer 3 Offset 48
26 OpMemberDecorate %_UniformBuffer 3 RelaxedPrecision
27 OpDecorate %_UniformBuffer Block
28 OpDecorate %10 Binding 0
29 OpDecorate %10 DescriptorSet 0
30 OpDecorate %27 RelaxedPrecision
31 OpDecorate %32 RelaxedPrecision
32 OpDecorate %33 RelaxedPrecision
33 OpDecorate %36 RelaxedPrecision
34 OpDecorate %37 RelaxedPrecision
35 OpDecorate %41 RelaxedPrecision
36 OpDecorate %43 RelaxedPrecision
37 OpDecorate %44 RelaxedPrecision
38 OpDecorate %46 RelaxedPrecision
39 OpDecorate %47 RelaxedPrecision
40 OpDecorate %54 RelaxedPrecision
41 OpDecorate %56 RelaxedPrecision
42 OpDecorate %57 RelaxedPrecision
43 OpDecorate %60 RelaxedPrecision
44 OpDecorate %61 RelaxedPrecision
45 OpDecorate %68 RelaxedPrecision
46 OpDecorate %70 RelaxedPrecision
47 OpDecorate %72 RelaxedPrecision
48 OpDecorate %80 RelaxedPrecision
49 OpDecorate %81 RelaxedPrecision
50 OpDecorate %87 RelaxedPrecision
51 OpDecorate %88 RelaxedPrecision
52 OpDecorate %97 RelaxedPrecision
53 OpDecorate %98 RelaxedPrecision
54 OpDecorate %107 RelaxedPrecision
55 OpDecorate %118 RelaxedPrecision
56 OpDecorate %121 RelaxedPrecision
57 OpDecorate %122 RelaxedPrecision
58 %float = OpTypeFloat 32
59 %v4float = OpTypeVector %float 4
60 %_ptr_Output_v4float = OpTypePointer Output %v4float
61 %sk_FragColor = OpVariable %_ptr_Output_v4float Output
62 %bool = OpTypeBool
63 %_ptr_Input_bool = OpTypePointer Input %bool
64 %sk_Clockwise = OpVariable %_ptr_Input_bool Input
65 %_UniformBuffer = OpTypeStruct %v4float %v4float %v4float %v4float
66 %_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
67 %10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
68 %void = OpTypeVoid
69 %15 = OpTypeFunction %void
70 %float_0 = OpConstant %float 0
71 %v2float = OpTypeVector %float 2
72 %19 = OpConstantComposite %v2float %float_0 %float_0
73 %_ptr_Function_v2float = OpTypePointer Function %v2float
74 %23 = OpTypeFunction %v4float %_ptr_Function_v2float
75 %false = OpConstantFalse %bool
76 %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
77 %int = OpTypeInt 32 1
78 %int_0 = OpConstant %int 0
79 %int_1 = OpConstant %int 1
80 %v2bool = OpTypeVector %bool 2
81 %v3float = OpTypeVector %float 3
82 %v3bool = OpTypeVector %bool 3
83 %v4bool = OpTypeVector %bool 4
84 %float_1 = OpConstant %float 1
85 %95 = OpConstantComposite %v3float %float_0 %float_0 %float_1
86 %float_2 = OpConstant %float 2
87 %105 = OpConstantComposite %v4float %float_0 %float_0 %float_1 %float_2
88 %_ptr_Function_v4float = OpTypePointer Function %v4float
89 %int_2 = OpConstant %int 2
90 %int_3 = OpConstant %int 3
91 %_entrypoint_v = OpFunction %void None %15
92 %16 = OpLabel
93 %20 = OpVariable %_ptr_Function_v2float Function
94 OpStore %20 %19
95 %22 = OpFunctionCall %v4float %main %20
96 OpStore %sk_FragColor %22
97 OpReturn
98 OpFunctionEnd
99 %main = OpFunction %v4float None %23
100 %24 = OpFunctionParameter %_ptr_Function_v2float
101 %25 = OpLabel
102 %111 = OpVariable %_ptr_Function_v4float Function
103 %28 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
104 %32 = OpLoad %v4float %28
105 %33 = OpCompositeExtract %float %32 0
106 %27 = OpExtInst %float %1 Acosh %33
107 %34 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
108 %36 = OpLoad %v4float %34
109 %37 = OpCompositeExtract %float %36 0
110 %38 = OpFOrdEqual %bool %27 %37
111 OpSelectionMerge %40 None
112 OpBranchConditional %38 %39 %40
113 %39 = OpLabel
114 %42 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
115 %43 = OpLoad %v4float %42
116 %44 = OpVectorShuffle %v2float %43 %43 0 1
117 %41 = OpExtInst %v2float %1 Acosh %44
118 %45 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
119 %46 = OpLoad %v4float %45
120 %47 = OpVectorShuffle %v2float %46 %46 0 1
121 %48 = OpFOrdEqual %v2bool %41 %47
122 %50 = OpAll %bool %48
123 OpBranch %40
124 %40 = OpLabel
125 %51 = OpPhi %bool %false %25 %50 %39
126 OpSelectionMerge %53 None
127 OpBranchConditional %51 %52 %53
128 %52 = OpLabel
129 %55 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
130 %56 = OpLoad %v4float %55
131 %57 = OpVectorShuffle %v3float %56 %56 0 1 2
132 %54 = OpExtInst %v3float %1 Acosh %57
133 %59 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
134 %60 = OpLoad %v4float %59
135 %61 = OpVectorShuffle %v3float %60 %60 0 1 2
136 %62 = OpFOrdEqual %v3bool %54 %61
137 %64 = OpAll %bool %62
138 OpBranch %53
139 %53 = OpLabel
140 %65 = OpPhi %bool %false %40 %64 %52
141 OpSelectionMerge %67 None
142 OpBranchConditional %65 %66 %67
143 %66 = OpLabel
144 %69 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0
145 %70 = OpLoad %v4float %69
146 %68 = OpExtInst %v4float %1 Acosh %70
147 %71 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
148 %72 = OpLoad %v4float %71
149 %73 = OpFOrdEqual %v4bool %68 %72
150 %75 = OpAll %bool %73
151 OpBranch %67
152 %67 = OpLabel
153 %76 = OpPhi %bool %false %53 %75 %66
154 OpSelectionMerge %78 None
155 OpBranchConditional %76 %77 %78
156 %77 = OpLabel
157 %79 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
158 %80 = OpLoad %v4float %79
159 %81 = OpCompositeExtract %float %80 0
160 %82 = OpFOrdEqual %bool %float_0 %81
161 OpBranch %78
162 %78 = OpLabel
163 %83 = OpPhi %bool %false %67 %82 %77
164 OpSelectionMerge %85 None
165 OpBranchConditional %83 %84 %85
166 %84 = OpLabel
167 %86 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
168 %87 = OpLoad %v4float %86
169 %88 = OpVectorShuffle %v2float %87 %87 0 1
170 %89 = OpFOrdEqual %v2bool %19 %88
171 %90 = OpAll %bool %89
172 OpBranch %85
173 %85 = OpLabel
174 %91 = OpPhi %bool %false %78 %90 %84
175 OpSelectionMerge %93 None
176 OpBranchConditional %91 %92 %93
177 %92 = OpLabel
178 %96 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
179 %97 = OpLoad %v4float %96
180 %98 = OpVectorShuffle %v3float %97 %97 0 1 2
181 %99 = OpFOrdEqual %v3bool %95 %98
182 %100 = OpAll %bool %99
183 OpBranch %93
184 %93 = OpLabel
185 %101 = OpPhi %bool %false %85 %100 %92
186 OpSelectionMerge %103 None
187 OpBranchConditional %101 %102 %103
188 %102 = OpLabel
189 %106 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
190 %107 = OpLoad %v4float %106
191 %108 = OpFOrdEqual %v4bool %105 %107
192 %109 = OpAll %bool %108
193 OpBranch %103
194 %103 = OpLabel
195 %110 = OpPhi %bool %false %93 %109 %102
196 OpSelectionMerge %115 None
197 OpBranchConditional %110 %113 %114
198 %113 = OpLabel
199 %116 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2
200 %118 = OpLoad %v4float %116
201 OpStore %111 %118
202 OpBranch %115
203 %114 = OpLabel
204 %119 = OpAccessChain %_ptr_Uniform_v4float %10 %int_3
205 %121 = OpLoad %v4float %119
206 OpStore %111 %121
207 OpBranch %115
208 %115 = OpLabel
209 %122 = OpLoad %v4float %111
210 OpReturnValue %122
211 OpFunctionEnd