xref: /aosp_15_r20/external/angle/src/libANGLE/validationES1_autogen.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard Worker // GENERATED FILE - DO NOT EDIT.
2*8975f5c5SAndroid Build Coastguard Worker // Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
3*8975f5c5SAndroid Build Coastguard Worker //
4*8975f5c5SAndroid Build Coastguard Worker // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
6*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file.
7*8975f5c5SAndroid Build Coastguard Worker //
8*8975f5c5SAndroid Build Coastguard Worker // validationES1_autogen.h:
9*8975f5c5SAndroid Build Coastguard Worker //   Validation functions for the OpenGL ES 1.0 entry points.
10*8975f5c5SAndroid Build Coastguard Worker 
11*8975f5c5SAndroid Build Coastguard Worker #ifndef LIBANGLE_VALIDATION_ES1_AUTOGEN_H_
12*8975f5c5SAndroid Build Coastguard Worker #define LIBANGLE_VALIDATION_ES1_AUTOGEN_H_
13*8975f5c5SAndroid Build Coastguard Worker 
14*8975f5c5SAndroid Build Coastguard Worker #include "common/PackedEnums.h"
15*8975f5c5SAndroid Build Coastguard Worker #include "common/entry_points_enum_autogen.h"
16*8975f5c5SAndroid Build Coastguard Worker 
17*8975f5c5SAndroid Build Coastguard Worker namespace gl
18*8975f5c5SAndroid Build Coastguard Worker {
19*8975f5c5SAndroid Build Coastguard Worker class Context;
20*8975f5c5SAndroid Build Coastguard Worker class PrivateState;
21*8975f5c5SAndroid Build Coastguard Worker class ErrorSet;
22*8975f5c5SAndroid Build Coastguard Worker 
23*8975f5c5SAndroid Build Coastguard Worker bool ValidateAlphaFunc(const PrivateState &state,
24*8975f5c5SAndroid Build Coastguard Worker                        ErrorSet *errors,
25*8975f5c5SAndroid Build Coastguard Worker                        angle::EntryPoint entryPoint,
26*8975f5c5SAndroid Build Coastguard Worker                        AlphaTestFunc funcPacked,
27*8975f5c5SAndroid Build Coastguard Worker                        GLfloat ref);
28*8975f5c5SAndroid Build Coastguard Worker bool ValidateAlphaFuncx(const PrivateState &state,
29*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
30*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
31*8975f5c5SAndroid Build Coastguard Worker                         AlphaTestFunc funcPacked,
32*8975f5c5SAndroid Build Coastguard Worker                         GLfixed ref);
33*8975f5c5SAndroid Build Coastguard Worker bool ValidateClearColorx(const PrivateState &state,
34*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
35*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
36*8975f5c5SAndroid Build Coastguard Worker                          GLfixed red,
37*8975f5c5SAndroid Build Coastguard Worker                          GLfixed green,
38*8975f5c5SAndroid Build Coastguard Worker                          GLfixed blue,
39*8975f5c5SAndroid Build Coastguard Worker                          GLfixed alpha);
40*8975f5c5SAndroid Build Coastguard Worker bool ValidateClearDepthx(const PrivateState &state,
41*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
42*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
43*8975f5c5SAndroid Build Coastguard Worker                          GLfixed depth);
44*8975f5c5SAndroid Build Coastguard Worker bool ValidateClientActiveTexture(const Context *context,
45*8975f5c5SAndroid Build Coastguard Worker                                  angle::EntryPoint entryPoint,
46*8975f5c5SAndroid Build Coastguard Worker                                  GLenum texture);
47*8975f5c5SAndroid Build Coastguard Worker bool ValidateClipPlanef(const PrivateState &state,
48*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
49*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
50*8975f5c5SAndroid Build Coastguard Worker                         GLenum p,
51*8975f5c5SAndroid Build Coastguard Worker                         const GLfloat *eqn);
52*8975f5c5SAndroid Build Coastguard Worker bool ValidateClipPlanex(const PrivateState &state,
53*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
54*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
55*8975f5c5SAndroid Build Coastguard Worker                         GLenum plane,
56*8975f5c5SAndroid Build Coastguard Worker                         const GLfixed *equation);
57*8975f5c5SAndroid Build Coastguard Worker bool ValidateColor4f(const PrivateState &state,
58*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
59*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
60*8975f5c5SAndroid Build Coastguard Worker                      GLfloat red,
61*8975f5c5SAndroid Build Coastguard Worker                      GLfloat green,
62*8975f5c5SAndroid Build Coastguard Worker                      GLfloat blue,
63*8975f5c5SAndroid Build Coastguard Worker                      GLfloat alpha);
64*8975f5c5SAndroid Build Coastguard Worker bool ValidateColor4ub(const PrivateState &state,
65*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
66*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
67*8975f5c5SAndroid Build Coastguard Worker                       GLubyte red,
68*8975f5c5SAndroid Build Coastguard Worker                       GLubyte green,
69*8975f5c5SAndroid Build Coastguard Worker                       GLubyte blue,
70*8975f5c5SAndroid Build Coastguard Worker                       GLubyte alpha);
71*8975f5c5SAndroid Build Coastguard Worker bool ValidateColor4x(const PrivateState &state,
72*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
73*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
74*8975f5c5SAndroid Build Coastguard Worker                      GLfixed red,
75*8975f5c5SAndroid Build Coastguard Worker                      GLfixed green,
76*8975f5c5SAndroid Build Coastguard Worker                      GLfixed blue,
77*8975f5c5SAndroid Build Coastguard Worker                      GLfixed alpha);
78*8975f5c5SAndroid Build Coastguard Worker bool ValidateColorPointer(const Context *context,
79*8975f5c5SAndroid Build Coastguard Worker                           angle::EntryPoint entryPoint,
80*8975f5c5SAndroid Build Coastguard Worker                           GLint size,
81*8975f5c5SAndroid Build Coastguard Worker                           VertexAttribType typePacked,
82*8975f5c5SAndroid Build Coastguard Worker                           GLsizei stride,
83*8975f5c5SAndroid Build Coastguard Worker                           const void *pointer);
84*8975f5c5SAndroid Build Coastguard Worker bool ValidateDepthRangex(const PrivateState &state,
85*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
86*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
87*8975f5c5SAndroid Build Coastguard Worker                          GLfixed n,
88*8975f5c5SAndroid Build Coastguard Worker                          GLfixed f);
89*8975f5c5SAndroid Build Coastguard Worker bool ValidateDisableClientState(const Context *context,
90*8975f5c5SAndroid Build Coastguard Worker                                 angle::EntryPoint entryPoint,
91*8975f5c5SAndroid Build Coastguard Worker                                 ClientVertexArrayType arrayPacked);
92*8975f5c5SAndroid Build Coastguard Worker bool ValidateEnableClientState(const Context *context,
93*8975f5c5SAndroid Build Coastguard Worker                                angle::EntryPoint entryPoint,
94*8975f5c5SAndroid Build Coastguard Worker                                ClientVertexArrayType arrayPacked);
95*8975f5c5SAndroid Build Coastguard Worker bool ValidateFogf(const PrivateState &state,
96*8975f5c5SAndroid Build Coastguard Worker                   ErrorSet *errors,
97*8975f5c5SAndroid Build Coastguard Worker                   angle::EntryPoint entryPoint,
98*8975f5c5SAndroid Build Coastguard Worker                   GLenum pname,
99*8975f5c5SAndroid Build Coastguard Worker                   GLfloat param);
100*8975f5c5SAndroid Build Coastguard Worker bool ValidateFogfv(const PrivateState &state,
101*8975f5c5SAndroid Build Coastguard Worker                    ErrorSet *errors,
102*8975f5c5SAndroid Build Coastguard Worker                    angle::EntryPoint entryPoint,
103*8975f5c5SAndroid Build Coastguard Worker                    GLenum pname,
104*8975f5c5SAndroid Build Coastguard Worker                    const GLfloat *params);
105*8975f5c5SAndroid Build Coastguard Worker bool ValidateFogx(const PrivateState &state,
106*8975f5c5SAndroid Build Coastguard Worker                   ErrorSet *errors,
107*8975f5c5SAndroid Build Coastguard Worker                   angle::EntryPoint entryPoint,
108*8975f5c5SAndroid Build Coastguard Worker                   GLenum pname,
109*8975f5c5SAndroid Build Coastguard Worker                   GLfixed param);
110*8975f5c5SAndroid Build Coastguard Worker bool ValidateFogxv(const PrivateState &state,
111*8975f5c5SAndroid Build Coastguard Worker                    ErrorSet *errors,
112*8975f5c5SAndroid Build Coastguard Worker                    angle::EntryPoint entryPoint,
113*8975f5c5SAndroid Build Coastguard Worker                    GLenum pname,
114*8975f5c5SAndroid Build Coastguard Worker                    const GLfixed *param);
115*8975f5c5SAndroid Build Coastguard Worker bool ValidateFrustumf(const PrivateState &state,
116*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
117*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
118*8975f5c5SAndroid Build Coastguard Worker                       GLfloat l,
119*8975f5c5SAndroid Build Coastguard Worker                       GLfloat r,
120*8975f5c5SAndroid Build Coastguard Worker                       GLfloat b,
121*8975f5c5SAndroid Build Coastguard Worker                       GLfloat t,
122*8975f5c5SAndroid Build Coastguard Worker                       GLfloat n,
123*8975f5c5SAndroid Build Coastguard Worker                       GLfloat f);
124*8975f5c5SAndroid Build Coastguard Worker bool ValidateFrustumx(const PrivateState &state,
125*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
126*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
127*8975f5c5SAndroid Build Coastguard Worker                       GLfixed l,
128*8975f5c5SAndroid Build Coastguard Worker                       GLfixed r,
129*8975f5c5SAndroid Build Coastguard Worker                       GLfixed b,
130*8975f5c5SAndroid Build Coastguard Worker                       GLfixed t,
131*8975f5c5SAndroid Build Coastguard Worker                       GLfixed n,
132*8975f5c5SAndroid Build Coastguard Worker                       GLfixed f);
133*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetClipPlanef(const PrivateState &state,
134*8975f5c5SAndroid Build Coastguard Worker                            ErrorSet *errors,
135*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
136*8975f5c5SAndroid Build Coastguard Worker                            GLenum plane,
137*8975f5c5SAndroid Build Coastguard Worker                            const GLfloat *equation);
138*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetClipPlanex(const PrivateState &state,
139*8975f5c5SAndroid Build Coastguard Worker                            ErrorSet *errors,
140*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
141*8975f5c5SAndroid Build Coastguard Worker                            GLenum plane,
142*8975f5c5SAndroid Build Coastguard Worker                            const GLfixed *equation);
143*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetFixedv(const Context *context,
144*8975f5c5SAndroid Build Coastguard Worker                        angle::EntryPoint entryPoint,
145*8975f5c5SAndroid Build Coastguard Worker                        GLenum pname,
146*8975f5c5SAndroid Build Coastguard Worker                        const GLfixed *params);
147*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetLightfv(const PrivateState &state,
148*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
149*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
150*8975f5c5SAndroid Build Coastguard Worker                         GLenum light,
151*8975f5c5SAndroid Build Coastguard Worker                         LightParameter pnamePacked,
152*8975f5c5SAndroid Build Coastguard Worker                         const GLfloat *params);
153*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetLightxv(const PrivateState &state,
154*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
155*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
156*8975f5c5SAndroid Build Coastguard Worker                         GLenum light,
157*8975f5c5SAndroid Build Coastguard Worker                         LightParameter pnamePacked,
158*8975f5c5SAndroid Build Coastguard Worker                         const GLfixed *params);
159*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetMaterialfv(const PrivateState &state,
160*8975f5c5SAndroid Build Coastguard Worker                            ErrorSet *errors,
161*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
162*8975f5c5SAndroid Build Coastguard Worker                            GLenum face,
163*8975f5c5SAndroid Build Coastguard Worker                            MaterialParameter pnamePacked,
164*8975f5c5SAndroid Build Coastguard Worker                            const GLfloat *params);
165*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetMaterialxv(const PrivateState &state,
166*8975f5c5SAndroid Build Coastguard Worker                            ErrorSet *errors,
167*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
168*8975f5c5SAndroid Build Coastguard Worker                            GLenum face,
169*8975f5c5SAndroid Build Coastguard Worker                            MaterialParameter pnamePacked,
170*8975f5c5SAndroid Build Coastguard Worker                            const GLfixed *params);
171*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetTexEnvfv(const PrivateState &state,
172*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
173*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
174*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvTarget targetPacked,
175*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvParameter pnamePacked,
176*8975f5c5SAndroid Build Coastguard Worker                          const GLfloat *params);
177*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetTexEnviv(const PrivateState &state,
178*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
179*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
180*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvTarget targetPacked,
181*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvParameter pnamePacked,
182*8975f5c5SAndroid Build Coastguard Worker                          const GLint *params);
183*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetTexEnvxv(const PrivateState &state,
184*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
185*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
186*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvTarget targetPacked,
187*8975f5c5SAndroid Build Coastguard Worker                          TextureEnvParameter pnamePacked,
188*8975f5c5SAndroid Build Coastguard Worker                          const GLfixed *params);
189*8975f5c5SAndroid Build Coastguard Worker bool ValidateGetTexParameterxv(const Context *context,
190*8975f5c5SAndroid Build Coastguard Worker                                angle::EntryPoint entryPoint,
191*8975f5c5SAndroid Build Coastguard Worker                                TextureType targetPacked,
192*8975f5c5SAndroid Build Coastguard Worker                                GLenum pname,
193*8975f5c5SAndroid Build Coastguard Worker                                const GLfixed *params);
194*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightModelf(const PrivateState &state,
195*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
196*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
197*8975f5c5SAndroid Build Coastguard Worker                          GLenum pname,
198*8975f5c5SAndroid Build Coastguard Worker                          GLfloat param);
199*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightModelfv(const PrivateState &state,
200*8975f5c5SAndroid Build Coastguard Worker                           ErrorSet *errors,
201*8975f5c5SAndroid Build Coastguard Worker                           angle::EntryPoint entryPoint,
202*8975f5c5SAndroid Build Coastguard Worker                           GLenum pname,
203*8975f5c5SAndroid Build Coastguard Worker                           const GLfloat *params);
204*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightModelx(const PrivateState &state,
205*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
206*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
207*8975f5c5SAndroid Build Coastguard Worker                          GLenum pname,
208*8975f5c5SAndroid Build Coastguard Worker                          GLfixed param);
209*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightModelxv(const PrivateState &state,
210*8975f5c5SAndroid Build Coastguard Worker                           ErrorSet *errors,
211*8975f5c5SAndroid Build Coastguard Worker                           angle::EntryPoint entryPoint,
212*8975f5c5SAndroid Build Coastguard Worker                           GLenum pname,
213*8975f5c5SAndroid Build Coastguard Worker                           const GLfixed *param);
214*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightf(const PrivateState &state,
215*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
216*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
217*8975f5c5SAndroid Build Coastguard Worker                     GLenum light,
218*8975f5c5SAndroid Build Coastguard Worker                     LightParameter pnamePacked,
219*8975f5c5SAndroid Build Coastguard Worker                     GLfloat param);
220*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightfv(const PrivateState &state,
221*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
222*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
223*8975f5c5SAndroid Build Coastguard Worker                      GLenum light,
224*8975f5c5SAndroid Build Coastguard Worker                      LightParameter pnamePacked,
225*8975f5c5SAndroid Build Coastguard Worker                      const GLfloat *params);
226*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightx(const PrivateState &state,
227*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
228*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
229*8975f5c5SAndroid Build Coastguard Worker                     GLenum light,
230*8975f5c5SAndroid Build Coastguard Worker                     LightParameter pnamePacked,
231*8975f5c5SAndroid Build Coastguard Worker                     GLfixed param);
232*8975f5c5SAndroid Build Coastguard Worker bool ValidateLightxv(const PrivateState &state,
233*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
234*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
235*8975f5c5SAndroid Build Coastguard Worker                      GLenum light,
236*8975f5c5SAndroid Build Coastguard Worker                      LightParameter pnamePacked,
237*8975f5c5SAndroid Build Coastguard Worker                      const GLfixed *params);
238*8975f5c5SAndroid Build Coastguard Worker bool ValidateLineWidthx(const PrivateState &state,
239*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
240*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
241*8975f5c5SAndroid Build Coastguard Worker                         GLfixed width);
242*8975f5c5SAndroid Build Coastguard Worker bool ValidateLoadIdentity(const PrivateState &state,
243*8975f5c5SAndroid Build Coastguard Worker                           ErrorSet *errors,
244*8975f5c5SAndroid Build Coastguard Worker                           angle::EntryPoint entryPoint);
245*8975f5c5SAndroid Build Coastguard Worker bool ValidateLoadMatrixf(const PrivateState &state,
246*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
247*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
248*8975f5c5SAndroid Build Coastguard Worker                          const GLfloat *m);
249*8975f5c5SAndroid Build Coastguard Worker bool ValidateLoadMatrixx(const PrivateState &state,
250*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
251*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
252*8975f5c5SAndroid Build Coastguard Worker                          const GLfixed *m);
253*8975f5c5SAndroid Build Coastguard Worker bool ValidateLogicOp(const PrivateState &state,
254*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
255*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
256*8975f5c5SAndroid Build Coastguard Worker                      LogicalOperation opcodePacked);
257*8975f5c5SAndroid Build Coastguard Worker bool ValidateMaterialf(const PrivateState &state,
258*8975f5c5SAndroid Build Coastguard Worker                        ErrorSet *errors,
259*8975f5c5SAndroid Build Coastguard Worker                        angle::EntryPoint entryPoint,
260*8975f5c5SAndroid Build Coastguard Worker                        GLenum face,
261*8975f5c5SAndroid Build Coastguard Worker                        MaterialParameter pnamePacked,
262*8975f5c5SAndroid Build Coastguard Worker                        GLfloat param);
263*8975f5c5SAndroid Build Coastguard Worker bool ValidateMaterialfv(const PrivateState &state,
264*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
265*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
266*8975f5c5SAndroid Build Coastguard Worker                         GLenum face,
267*8975f5c5SAndroid Build Coastguard Worker                         MaterialParameter pnamePacked,
268*8975f5c5SAndroid Build Coastguard Worker                         const GLfloat *params);
269*8975f5c5SAndroid Build Coastguard Worker bool ValidateMaterialx(const PrivateState &state,
270*8975f5c5SAndroid Build Coastguard Worker                        ErrorSet *errors,
271*8975f5c5SAndroid Build Coastguard Worker                        angle::EntryPoint entryPoint,
272*8975f5c5SAndroid Build Coastguard Worker                        GLenum face,
273*8975f5c5SAndroid Build Coastguard Worker                        MaterialParameter pnamePacked,
274*8975f5c5SAndroid Build Coastguard Worker                        GLfixed param);
275*8975f5c5SAndroid Build Coastguard Worker bool ValidateMaterialxv(const PrivateState &state,
276*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
277*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
278*8975f5c5SAndroid Build Coastguard Worker                         GLenum face,
279*8975f5c5SAndroid Build Coastguard Worker                         MaterialParameter pnamePacked,
280*8975f5c5SAndroid Build Coastguard Worker                         const GLfixed *param);
281*8975f5c5SAndroid Build Coastguard Worker bool ValidateMatrixMode(const PrivateState &state,
282*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
283*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
284*8975f5c5SAndroid Build Coastguard Worker                         MatrixType modePacked);
285*8975f5c5SAndroid Build Coastguard Worker bool ValidateMultMatrixf(const PrivateState &state,
286*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
287*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
288*8975f5c5SAndroid Build Coastguard Worker                          const GLfloat *m);
289*8975f5c5SAndroid Build Coastguard Worker bool ValidateMultMatrixx(const PrivateState &state,
290*8975f5c5SAndroid Build Coastguard Worker                          ErrorSet *errors,
291*8975f5c5SAndroid Build Coastguard Worker                          angle::EntryPoint entryPoint,
292*8975f5c5SAndroid Build Coastguard Worker                          const GLfixed *m);
293*8975f5c5SAndroid Build Coastguard Worker bool ValidateMultiTexCoord4f(const PrivateState &state,
294*8975f5c5SAndroid Build Coastguard Worker                              ErrorSet *errors,
295*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
296*8975f5c5SAndroid Build Coastguard Worker                              GLenum target,
297*8975f5c5SAndroid Build Coastguard Worker                              GLfloat s,
298*8975f5c5SAndroid Build Coastguard Worker                              GLfloat t,
299*8975f5c5SAndroid Build Coastguard Worker                              GLfloat r,
300*8975f5c5SAndroid Build Coastguard Worker                              GLfloat q);
301*8975f5c5SAndroid Build Coastguard Worker bool ValidateMultiTexCoord4x(const PrivateState &state,
302*8975f5c5SAndroid Build Coastguard Worker                              ErrorSet *errors,
303*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
304*8975f5c5SAndroid Build Coastguard Worker                              GLenum texture,
305*8975f5c5SAndroid Build Coastguard Worker                              GLfixed s,
306*8975f5c5SAndroid Build Coastguard Worker                              GLfixed t,
307*8975f5c5SAndroid Build Coastguard Worker                              GLfixed r,
308*8975f5c5SAndroid Build Coastguard Worker                              GLfixed q);
309*8975f5c5SAndroid Build Coastguard Worker bool ValidateNormal3f(const PrivateState &state,
310*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
311*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
312*8975f5c5SAndroid Build Coastguard Worker                       GLfloat nx,
313*8975f5c5SAndroid Build Coastguard Worker                       GLfloat ny,
314*8975f5c5SAndroid Build Coastguard Worker                       GLfloat nz);
315*8975f5c5SAndroid Build Coastguard Worker bool ValidateNormal3x(const PrivateState &state,
316*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
317*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
318*8975f5c5SAndroid Build Coastguard Worker                       GLfixed nx,
319*8975f5c5SAndroid Build Coastguard Worker                       GLfixed ny,
320*8975f5c5SAndroid Build Coastguard Worker                       GLfixed nz);
321*8975f5c5SAndroid Build Coastguard Worker bool ValidateNormalPointer(const Context *context,
322*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
323*8975f5c5SAndroid Build Coastguard Worker                            VertexAttribType typePacked,
324*8975f5c5SAndroid Build Coastguard Worker                            GLsizei stride,
325*8975f5c5SAndroid Build Coastguard Worker                            const void *pointer);
326*8975f5c5SAndroid Build Coastguard Worker bool ValidateOrthof(const PrivateState &state,
327*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
328*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
329*8975f5c5SAndroid Build Coastguard Worker                     GLfloat l,
330*8975f5c5SAndroid Build Coastguard Worker                     GLfloat r,
331*8975f5c5SAndroid Build Coastguard Worker                     GLfloat b,
332*8975f5c5SAndroid Build Coastguard Worker                     GLfloat t,
333*8975f5c5SAndroid Build Coastguard Worker                     GLfloat n,
334*8975f5c5SAndroid Build Coastguard Worker                     GLfloat f);
335*8975f5c5SAndroid Build Coastguard Worker bool ValidateOrthox(const PrivateState &state,
336*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
337*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
338*8975f5c5SAndroid Build Coastguard Worker                     GLfixed l,
339*8975f5c5SAndroid Build Coastguard Worker                     GLfixed r,
340*8975f5c5SAndroid Build Coastguard Worker                     GLfixed b,
341*8975f5c5SAndroid Build Coastguard Worker                     GLfixed t,
342*8975f5c5SAndroid Build Coastguard Worker                     GLfixed n,
343*8975f5c5SAndroid Build Coastguard Worker                     GLfixed f);
344*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointParameterf(const PrivateState &state,
345*8975f5c5SAndroid Build Coastguard Worker                              ErrorSet *errors,
346*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
347*8975f5c5SAndroid Build Coastguard Worker                              PointParameter pnamePacked,
348*8975f5c5SAndroid Build Coastguard Worker                              GLfloat param);
349*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointParameterfv(const PrivateState &state,
350*8975f5c5SAndroid Build Coastguard Worker                               ErrorSet *errors,
351*8975f5c5SAndroid Build Coastguard Worker                               angle::EntryPoint entryPoint,
352*8975f5c5SAndroid Build Coastguard Worker                               PointParameter pnamePacked,
353*8975f5c5SAndroid Build Coastguard Worker                               const GLfloat *params);
354*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointParameterx(const PrivateState &state,
355*8975f5c5SAndroid Build Coastguard Worker                              ErrorSet *errors,
356*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
357*8975f5c5SAndroid Build Coastguard Worker                              PointParameter pnamePacked,
358*8975f5c5SAndroid Build Coastguard Worker                              GLfixed param);
359*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointParameterxv(const PrivateState &state,
360*8975f5c5SAndroid Build Coastguard Worker                               ErrorSet *errors,
361*8975f5c5SAndroid Build Coastguard Worker                               angle::EntryPoint entryPoint,
362*8975f5c5SAndroid Build Coastguard Worker                               PointParameter pnamePacked,
363*8975f5c5SAndroid Build Coastguard Worker                               const GLfixed *params);
364*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointSize(const PrivateState &state,
365*8975f5c5SAndroid Build Coastguard Worker                        ErrorSet *errors,
366*8975f5c5SAndroid Build Coastguard Worker                        angle::EntryPoint entryPoint,
367*8975f5c5SAndroid Build Coastguard Worker                        GLfloat size);
368*8975f5c5SAndroid Build Coastguard Worker bool ValidatePointSizex(const PrivateState &state,
369*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
370*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
371*8975f5c5SAndroid Build Coastguard Worker                         GLfixed size);
372*8975f5c5SAndroid Build Coastguard Worker bool ValidatePolygonOffsetx(const PrivateState &state,
373*8975f5c5SAndroid Build Coastguard Worker                             ErrorSet *errors,
374*8975f5c5SAndroid Build Coastguard Worker                             angle::EntryPoint entryPoint,
375*8975f5c5SAndroid Build Coastguard Worker                             GLfixed factor,
376*8975f5c5SAndroid Build Coastguard Worker                             GLfixed units);
377*8975f5c5SAndroid Build Coastguard Worker bool ValidatePopMatrix(const PrivateState &state, ErrorSet *errors, angle::EntryPoint entryPoint);
378*8975f5c5SAndroid Build Coastguard Worker bool ValidatePushMatrix(const PrivateState &state, ErrorSet *errors, angle::EntryPoint entryPoint);
379*8975f5c5SAndroid Build Coastguard Worker bool ValidateRotatef(const PrivateState &state,
380*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
381*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
382*8975f5c5SAndroid Build Coastguard Worker                      GLfloat angle,
383*8975f5c5SAndroid Build Coastguard Worker                      GLfloat x,
384*8975f5c5SAndroid Build Coastguard Worker                      GLfloat y,
385*8975f5c5SAndroid Build Coastguard Worker                      GLfloat z);
386*8975f5c5SAndroid Build Coastguard Worker bool ValidateRotatex(const PrivateState &state,
387*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
388*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
389*8975f5c5SAndroid Build Coastguard Worker                      GLfixed angle,
390*8975f5c5SAndroid Build Coastguard Worker                      GLfixed x,
391*8975f5c5SAndroid Build Coastguard Worker                      GLfixed y,
392*8975f5c5SAndroid Build Coastguard Worker                      GLfixed z);
393*8975f5c5SAndroid Build Coastguard Worker bool ValidateSampleCoveragex(const PrivateState &state,
394*8975f5c5SAndroid Build Coastguard Worker                              ErrorSet *errors,
395*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
396*8975f5c5SAndroid Build Coastguard Worker                              GLclampx value,
397*8975f5c5SAndroid Build Coastguard Worker                              GLboolean invert);
398*8975f5c5SAndroid Build Coastguard Worker bool ValidateScalef(const PrivateState &state,
399*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
400*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
401*8975f5c5SAndroid Build Coastguard Worker                     GLfloat x,
402*8975f5c5SAndroid Build Coastguard Worker                     GLfloat y,
403*8975f5c5SAndroid Build Coastguard Worker                     GLfloat z);
404*8975f5c5SAndroid Build Coastguard Worker bool ValidateScalex(const PrivateState &state,
405*8975f5c5SAndroid Build Coastguard Worker                     ErrorSet *errors,
406*8975f5c5SAndroid Build Coastguard Worker                     angle::EntryPoint entryPoint,
407*8975f5c5SAndroid Build Coastguard Worker                     GLfixed x,
408*8975f5c5SAndroid Build Coastguard Worker                     GLfixed y,
409*8975f5c5SAndroid Build Coastguard Worker                     GLfixed z);
410*8975f5c5SAndroid Build Coastguard Worker bool ValidateShadeModel(const PrivateState &state,
411*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
412*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
413*8975f5c5SAndroid Build Coastguard Worker                         ShadingModel modePacked);
414*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexCoordPointer(const Context *context,
415*8975f5c5SAndroid Build Coastguard Worker                              angle::EntryPoint entryPoint,
416*8975f5c5SAndroid Build Coastguard Worker                              GLint size,
417*8975f5c5SAndroid Build Coastguard Worker                              VertexAttribType typePacked,
418*8975f5c5SAndroid Build Coastguard Worker                              GLsizei stride,
419*8975f5c5SAndroid Build Coastguard Worker                              const void *pointer);
420*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnvf(const PrivateState &state,
421*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
422*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
423*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvTarget targetPacked,
424*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvParameter pnamePacked,
425*8975f5c5SAndroid Build Coastguard Worker                      GLfloat param);
426*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnvfv(const PrivateState &state,
427*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
428*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
429*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvTarget targetPacked,
430*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvParameter pnamePacked,
431*8975f5c5SAndroid Build Coastguard Worker                       const GLfloat *params);
432*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnvi(const PrivateState &state,
433*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
434*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
435*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvTarget targetPacked,
436*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvParameter pnamePacked,
437*8975f5c5SAndroid Build Coastguard Worker                      GLint param);
438*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnviv(const PrivateState &state,
439*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
440*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
441*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvTarget targetPacked,
442*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvParameter pnamePacked,
443*8975f5c5SAndroid Build Coastguard Worker                       const GLint *params);
444*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnvx(const PrivateState &state,
445*8975f5c5SAndroid Build Coastguard Worker                      ErrorSet *errors,
446*8975f5c5SAndroid Build Coastguard Worker                      angle::EntryPoint entryPoint,
447*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvTarget targetPacked,
448*8975f5c5SAndroid Build Coastguard Worker                      TextureEnvParameter pnamePacked,
449*8975f5c5SAndroid Build Coastguard Worker                      GLfixed param);
450*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexEnvxv(const PrivateState &state,
451*8975f5c5SAndroid Build Coastguard Worker                       ErrorSet *errors,
452*8975f5c5SAndroid Build Coastguard Worker                       angle::EntryPoint entryPoint,
453*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvTarget targetPacked,
454*8975f5c5SAndroid Build Coastguard Worker                       TextureEnvParameter pnamePacked,
455*8975f5c5SAndroid Build Coastguard Worker                       const GLfixed *params);
456*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexParameterx(const Context *context,
457*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
458*8975f5c5SAndroid Build Coastguard Worker                            TextureType targetPacked,
459*8975f5c5SAndroid Build Coastguard Worker                            GLenum pname,
460*8975f5c5SAndroid Build Coastguard Worker                            GLfixed param);
461*8975f5c5SAndroid Build Coastguard Worker bool ValidateTexParameterxv(const Context *context,
462*8975f5c5SAndroid Build Coastguard Worker                             angle::EntryPoint entryPoint,
463*8975f5c5SAndroid Build Coastguard Worker                             TextureType targetPacked,
464*8975f5c5SAndroid Build Coastguard Worker                             GLenum pname,
465*8975f5c5SAndroid Build Coastguard Worker                             const GLfixed *params);
466*8975f5c5SAndroid Build Coastguard Worker bool ValidateTranslatef(const PrivateState &state,
467*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
468*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
469*8975f5c5SAndroid Build Coastguard Worker                         GLfloat x,
470*8975f5c5SAndroid Build Coastguard Worker                         GLfloat y,
471*8975f5c5SAndroid Build Coastguard Worker                         GLfloat z);
472*8975f5c5SAndroid Build Coastguard Worker bool ValidateTranslatex(const PrivateState &state,
473*8975f5c5SAndroid Build Coastguard Worker                         ErrorSet *errors,
474*8975f5c5SAndroid Build Coastguard Worker                         angle::EntryPoint entryPoint,
475*8975f5c5SAndroid Build Coastguard Worker                         GLfixed x,
476*8975f5c5SAndroid Build Coastguard Worker                         GLfixed y,
477*8975f5c5SAndroid Build Coastguard Worker                         GLfixed z);
478*8975f5c5SAndroid Build Coastguard Worker bool ValidateVertexPointer(const Context *context,
479*8975f5c5SAndroid Build Coastguard Worker                            angle::EntryPoint entryPoint,
480*8975f5c5SAndroid Build Coastguard Worker                            GLint size,
481*8975f5c5SAndroid Build Coastguard Worker                            VertexAttribType typePacked,
482*8975f5c5SAndroid Build Coastguard Worker                            GLsizei stride,
483*8975f5c5SAndroid Build Coastguard Worker                            const void *pointer);
484*8975f5c5SAndroid Build Coastguard Worker }  // namespace gl
485*8975f5c5SAndroid Build Coastguard Worker 
486*8975f5c5SAndroid Build Coastguard Worker #endif  // LIBANGLE_VALIDATION_ES1_AUTOGEN_H_
487