1 //
2 // Copyright 2019 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6
7 // validationGL2.cpp: Validation functions for OpenGL 2.0 entry point parameters
8
9 #include "libANGLE/validationGL2_autogen.h"
10
11 namespace gl
12 {
13
ValidateGetVertexAttribdv(const Context * context,GLuint index,GLenum pname,const GLdouble * params)14 bool ValidateGetVertexAttribdv(const Context *context,
15 GLuint index,
16 GLenum pname,
17 const GLdouble *params)
18 {
19 return true;
20 }
21
ValidateVertexAttrib1d(const Context * context,GLuint index,GLdouble x)22 bool ValidateVertexAttrib1d(const Context *context, GLuint index, GLdouble x)
23 {
24 return true;
25 }
26
ValidateVertexAttrib1dv(const Context * context,GLuint index,const GLdouble * v)27 bool ValidateVertexAttrib1dv(const Context *context, GLuint index, const GLdouble *v)
28 {
29 return true;
30 }
31
ValidateVertexAttrib1s(const Context * context,GLuint index,GLshort x)32 bool ValidateVertexAttrib1s(const Context *context, GLuint index, GLshort x)
33 {
34 return true;
35 }
36
ValidateVertexAttrib1sv(const Context * context,GLuint index,const GLshort * v)37 bool ValidateVertexAttrib1sv(const Context *context, GLuint index, const GLshort *v)
38 {
39 return true;
40 }
41
ValidateVertexAttrib2d(const Context * context,GLuint index,GLdouble x,GLdouble y)42 bool ValidateVertexAttrib2d(const Context *context, GLuint index, GLdouble x, GLdouble y)
43 {
44 return true;
45 }
46
ValidateVertexAttrib2dv(const Context * context,GLuint index,const GLdouble * v)47 bool ValidateVertexAttrib2dv(const Context *context, GLuint index, const GLdouble *v)
48 {
49 return true;
50 }
51
ValidateVertexAttrib2s(const Context * context,GLuint index,GLshort x,GLshort y)52 bool ValidateVertexAttrib2s(const Context *context, GLuint index, GLshort x, GLshort y)
53 {
54 return true;
55 }
56
ValidateVertexAttrib2sv(const Context * context,GLuint index,const GLshort * v)57 bool ValidateVertexAttrib2sv(const Context *context, GLuint index, const GLshort *v)
58 {
59 return true;
60 }
61
ValidateVertexAttrib3d(const Context * context,GLuint index,GLdouble x,GLdouble y,GLdouble z)62 bool ValidateVertexAttrib3d(const Context *context,
63 GLuint index,
64 GLdouble x,
65 GLdouble y,
66 GLdouble z)
67 {
68 return true;
69 }
70
ValidateVertexAttrib3dv(const Context * context,GLuint index,const GLdouble * v)71 bool ValidateVertexAttrib3dv(const Context *context, GLuint index, const GLdouble *v)
72 {
73 return true;
74 }
75
ValidateVertexAttrib3s(const Context * context,GLuint index,GLshort x,GLshort y,GLshort z)76 bool ValidateVertexAttrib3s(const Context *context, GLuint index, GLshort x, GLshort y, GLshort z)
77 {
78 return true;
79 }
80
ValidateVertexAttrib3sv(const Context * context,GLuint index,const GLshort * v)81 bool ValidateVertexAttrib3sv(const Context *context, GLuint index, const GLshort *v)
82 {
83 return true;
84 }
85
ValidateVertexAttrib4Nbv(const Context * context,GLuint index,const GLbyte * v)86 bool ValidateVertexAttrib4Nbv(const Context *context, GLuint index, const GLbyte *v)
87 {
88 return true;
89 }
90
ValidateVertexAttrib4Niv(const Context * context,GLuint index,const GLint * v)91 bool ValidateVertexAttrib4Niv(const Context *context, GLuint index, const GLint *v)
92 {
93 return true;
94 }
95
ValidateVertexAttrib4Nsv(const Context * context,GLuint index,const GLshort * v)96 bool ValidateVertexAttrib4Nsv(const Context *context, GLuint index, const GLshort *v)
97 {
98 return true;
99 }
100
ValidateVertexAttrib4Nub(const Context * context,GLuint index,GLubyte x,GLubyte y,GLubyte z,GLubyte w)101 bool ValidateVertexAttrib4Nub(const Context *context,
102 GLuint index,
103 GLubyte x,
104 GLubyte y,
105 GLubyte z,
106 GLubyte w)
107 {
108 return true;
109 }
110
ValidateVertexAttrib4Nubv(const Context * context,GLuint index,const GLubyte * v)111 bool ValidateVertexAttrib4Nubv(const Context *context, GLuint index, const GLubyte *v)
112 {
113 return true;
114 }
115
ValidateVertexAttrib4Nuiv(const Context * context,GLuint index,const GLuint * v)116 bool ValidateVertexAttrib4Nuiv(const Context *context, GLuint index, const GLuint *v)
117 {
118 return true;
119 }
120
ValidateVertexAttrib4Nusv(const Context * context,GLuint index,const GLushort * v)121 bool ValidateVertexAttrib4Nusv(const Context *context, GLuint index, const GLushort *v)
122 {
123 return true;
124 }
125
ValidateVertexAttrib4bv(const Context * context,GLuint index,const GLbyte * v)126 bool ValidateVertexAttrib4bv(const Context *context, GLuint index, const GLbyte *v)
127 {
128 return true;
129 }
130
ValidateVertexAttrib4d(const Context * context,GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)131 bool ValidateVertexAttrib4d(const Context *context,
132 GLuint index,
133 GLdouble x,
134 GLdouble y,
135 GLdouble z,
136 GLdouble w)
137 {
138 return true;
139 }
140
ValidateVertexAttrib4dv(const Context * context,GLuint index,const GLdouble * v)141 bool ValidateVertexAttrib4dv(const Context *context, GLuint index, const GLdouble *v)
142 {
143 return true;
144 }
145
ValidateVertexAttrib4iv(const Context * context,GLuint index,const GLint * v)146 bool ValidateVertexAttrib4iv(const Context *context, GLuint index, const GLint *v)
147 {
148 return true;
149 }
150
ValidateVertexAttrib4s(const Context * context,GLuint index,GLshort x,GLshort y,GLshort z,GLshort w)151 bool ValidateVertexAttrib4s(const Context *context,
152 GLuint index,
153 GLshort x,
154 GLshort y,
155 GLshort z,
156 GLshort w)
157 {
158 return true;
159 }
160
ValidateVertexAttrib4sv(const Context * context,GLuint index,const GLshort * v)161 bool ValidateVertexAttrib4sv(const Context *context, GLuint index, const GLshort *v)
162 {
163 return true;
164 }
165
ValidateVertexAttrib4ubv(const Context * context,GLuint index,const GLubyte * v)166 bool ValidateVertexAttrib4ubv(const Context *context, GLuint index, const GLubyte *v)
167 {
168 return true;
169 }
170
ValidateVertexAttrib4uiv(const Context * context,GLuint index,const GLuint * v)171 bool ValidateVertexAttrib4uiv(const Context *context, GLuint index, const GLuint *v)
172 {
173 return true;
174 }
175
ValidateVertexAttrib4usv(const Context * context,GLuint index,const GLushort * v)176 bool ValidateVertexAttrib4usv(const Context *context, GLuint index, const GLushort *v)
177 {
178 return true;
179 }
180
181 } // namespace gl
182