blob: 79decd428c0500597c28548ade0eeb9a4926f11e [file] [log] [blame]
Geoff Lang2aaa7b42018-01-12 17:17:27 -05001//
2// Copyright (c) 2018 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// validationES1.cpp: Validation functions for OpenGL ES 1.0 entry point parameters
8
9#include "libANGLE/validationES1.h"
10
11#include "common/debug.h"
Lingfeng Yang13b708f2018-03-21 12:14:10 -070012#include "libANGLE/Context.h"
13#include "libANGLE/ErrorStrings.h"
14
15#define ANGLE_VALIDATE_IS_GLES1(context) \
16 if (context->getClientMajorVersion() > 1) \
17 { \
18 ANGLE_VALIDATION_ERR(context, InvalidOperation(), GLES1Only); \
19 return false; \
20 }
21
22namespace
23{
24
25bool ValidateAlphaFuncCommon(gl::Context *context, gl::AlphaTestFunc func)
26{
27 switch (func)
28 {
29 case gl::AlphaTestFunc::AlwaysPass:
30 case gl::AlphaTestFunc::Equal:
31 case gl::AlphaTestFunc::Gequal:
32 case gl::AlphaTestFunc::Greater:
33 case gl::AlphaTestFunc::Lequal:
34 case gl::AlphaTestFunc::Less:
35 case gl::AlphaTestFunc::Never:
36 case gl::AlphaTestFunc::NotEqual:
37 return true;
38 default:
39 context->handleError(gl::InvalidEnum() << gl::kErrorEnumNotSupported);
40 return false;
41 }
42}
43
44} // anonymous namespace
Geoff Lang2aaa7b42018-01-12 17:17:27 -050045
46namespace gl
47{
48
Lingfeng Yang13b708f2018-03-21 12:14:10 -070049bool ValidateAlphaFunc(Context *context, AlphaTestFunc func, GLfloat ref)
Geoff Lang2aaa7b42018-01-12 17:17:27 -050050{
Lingfeng Yang13b708f2018-03-21 12:14:10 -070051 ANGLE_VALIDATE_IS_GLES1(context);
52 return ValidateAlphaFuncCommon(context, func);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050053}
54
Lingfeng Yang13b708f2018-03-21 12:14:10 -070055bool ValidateAlphaFuncx(Context *context, AlphaTestFunc func, GLfixed ref)
Geoff Lang2aaa7b42018-01-12 17:17:27 -050056{
Lingfeng Yang13b708f2018-03-21 12:14:10 -070057 ANGLE_VALIDATE_IS_GLES1(context);
58 return ValidateAlphaFuncCommon(context, func);
Geoff Lang2aaa7b42018-01-12 17:17:27 -050059}
60
61bool ValidateClearColorx(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
62{
63 UNIMPLEMENTED();
64 return true;
65}
66
67bool ValidateClearDepthx(Context *context, GLfixed depth)
68{
69 UNIMPLEMENTED();
70 return true;
71}
72
73bool ValidateClientActiveTexture(Context *context, GLenum texture)
74{
Lingfeng Yang96310cd2018-03-28 11:56:28 -070075 ANGLE_VALIDATE_IS_GLES1(context);
76 if (texture < GL_TEXTURE0 ||
77 texture > GL_TEXTURE0 + context->getCaps().maxMultitextureUnits - 1)
78 {
79 ANGLE_VALIDATION_ERR(context, InvalidEnum(), InvalidMultitextureUnit);
80 return false;
81 }
82
Geoff Lang2aaa7b42018-01-12 17:17:27 -050083 return true;
84}
85
86bool ValidateClipPlanef(Context *context, GLenum p, const GLfloat *eqn)
87{
88 UNIMPLEMENTED();
89 return true;
90}
91
92bool ValidateClipPlanex(Context *context, GLenum plane, const GLfixed *equation)
93{
94 UNIMPLEMENTED();
95 return true;
96}
97
98bool ValidateColor4f(Context *context, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
99{
Lingfeng Yanga43994c2018-03-29 07:21:41 -0700100 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500101 return true;
102}
103
104bool ValidateColor4ub(Context *context, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
105{
Lingfeng Yanga43994c2018-03-29 07:21:41 -0700106 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500107 return true;
108}
109
110bool ValidateColor4x(Context *context, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
111{
Lingfeng Yanga43994c2018-03-29 07:21:41 -0700112 ANGLE_VALIDATE_IS_GLES1(context);
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500113 return true;
114}
115
116bool ValidateColorPointer(Context *context,
117 GLint size,
118 GLenum type,
119 GLsizei stride,
120 const void *pointer)
121{
122 UNIMPLEMENTED();
123 return true;
124}
125
126bool ValidateCullFace(Context *context, GLenum mode)
127{
128 UNIMPLEMENTED();
129 return true;
130}
131
132bool ValidateDepthRangex(Context *context, GLfixed n, GLfixed f)
133{
134 UNIMPLEMENTED();
135 return true;
136}
137
138bool ValidateDisableClientState(Context *context, GLenum array)
139{
140 UNIMPLEMENTED();
141 return true;
142}
143
144bool ValidateEnableClientState(Context *context, GLenum array)
145{
146 UNIMPLEMENTED();
147 return true;
148}
149
150bool ValidateFogf(Context *context, GLenum pname, GLfloat param)
151{
152 UNIMPLEMENTED();
153 return true;
154}
155
156bool ValidateFogfv(Context *context, GLenum pname, const GLfloat *params)
157{
158 UNIMPLEMENTED();
159 return true;
160}
161
162bool ValidateFogx(Context *context, GLenum pname, GLfixed param)
163{
164 UNIMPLEMENTED();
165 return true;
166}
167
168bool ValidateFogxv(Context *context, GLenum pname, const GLfixed *param)
169{
170 UNIMPLEMENTED();
171 return true;
172}
173
174bool ValidateFrustumf(Context *context,
175 GLfloat l,
176 GLfloat r,
177 GLfloat b,
178 GLfloat t,
179 GLfloat n,
180 GLfloat f)
181{
182 UNIMPLEMENTED();
183 return true;
184}
185
186bool ValidateFrustumx(Context *context,
187 GLfixed l,
188 GLfixed r,
189 GLfixed b,
190 GLfixed t,
191 GLfixed n,
192 GLfixed f)
193{
194 UNIMPLEMENTED();
195 return true;
196}
197
198bool ValidateGetBufferParameteriv(Context *context, GLenum target, GLenum pname, GLint *params)
199{
200 UNIMPLEMENTED();
201 return true;
202}
203
204bool ValidateGetClipPlanef(Context *context, GLenum plane, GLfloat *equation)
205{
206 UNIMPLEMENTED();
207 return true;
208}
209
210bool ValidateGetClipPlanex(Context *context, GLenum plane, GLfixed *equation)
211{
212 UNIMPLEMENTED();
213 return true;
214}
215
216bool ValidateGetFixedv(Context *context, GLenum pname, GLfixed *params)
217{
218 UNIMPLEMENTED();
219 return true;
220}
221
222bool ValidateGetLightfv(Context *context, GLenum light, GLenum pname, GLfloat *params)
223{
224 UNIMPLEMENTED();
225 return true;
226}
227
228bool ValidateGetLightxv(Context *context, GLenum light, GLenum pname, GLfixed *params)
229{
230 UNIMPLEMENTED();
231 return true;
232}
233
234bool ValidateGetMaterialfv(Context *context, GLenum face, GLenum pname, GLfloat *params)
235{
236 UNIMPLEMENTED();
237 return true;
238}
239
240bool ValidateGetMaterialxv(Context *context, GLenum face, GLenum pname, GLfixed *params)
241{
242 UNIMPLEMENTED();
243 return true;
244}
245
246bool ValidateGetPointerv(Context *context, GLenum pname, void **params)
247{
248 UNIMPLEMENTED();
249 return true;
250}
251
252bool ValidateGetTexEnvfv(Context *context, GLenum target, GLenum pname, GLfloat *params)
253{
254 UNIMPLEMENTED();
255 return true;
256}
257
258bool ValidateGetTexEnviv(Context *context, GLenum target, GLenum pname, GLint *params)
259{
260 UNIMPLEMENTED();
261 return true;
262}
263
264bool ValidateGetTexEnvxv(Context *context, GLenum target, GLenum pname, GLfixed *params)
265{
266 UNIMPLEMENTED();
267 return true;
268}
269
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800270bool ValidateGetTexParameterxv(Context *context, TextureType target, GLenum pname, GLfixed *params)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500271{
272 UNIMPLEMENTED();
273 return true;
274}
275
276bool ValidateLightModelf(Context *context, GLenum pname, GLfloat param)
277{
278 UNIMPLEMENTED();
279 return true;
280}
281
282bool ValidateLightModelfv(Context *context, GLenum pname, const GLfloat *params)
283{
284 UNIMPLEMENTED();
285 return true;
286}
287
288bool ValidateLightModelx(Context *context, GLenum pname, GLfixed param)
289{
290 UNIMPLEMENTED();
291 return true;
292}
293
294bool ValidateLightModelxv(Context *context, GLenum pname, const GLfixed *param)
295{
296 UNIMPLEMENTED();
297 return true;
298}
299
300bool ValidateLightf(Context *context, GLenum light, GLenum pname, GLfloat param)
301{
302 UNIMPLEMENTED();
303 return true;
304}
305
306bool ValidateLightfv(Context *context, GLenum light, GLenum pname, const GLfloat *params)
307{
308 UNIMPLEMENTED();
309 return true;
310}
311
312bool ValidateLightx(Context *context, GLenum light, GLenum pname, GLfixed param)
313{
314 UNIMPLEMENTED();
315 return true;
316}
317
318bool ValidateLightxv(Context *context, GLenum light, GLenum pname, const GLfixed *params)
319{
320 UNIMPLEMENTED();
321 return true;
322}
323
324bool ValidateLineWidthx(Context *context, GLfixed width)
325{
326 UNIMPLEMENTED();
327 return true;
328}
329
330bool ValidateLoadIdentity(Context *context)
331{
332 UNIMPLEMENTED();
333 return true;
334}
335
336bool ValidateLoadMatrixf(Context *context, const GLfloat *m)
337{
338 UNIMPLEMENTED();
339 return true;
340}
341
342bool ValidateLoadMatrixx(Context *context, const GLfixed *m)
343{
344 UNIMPLEMENTED();
345 return true;
346}
347
348bool ValidateLogicOp(Context *context, GLenum opcode)
349{
350 UNIMPLEMENTED();
351 return true;
352}
353
354bool ValidateMaterialf(Context *context, GLenum face, GLenum pname, GLfloat param)
355{
356 UNIMPLEMENTED();
357 return true;
358}
359
360bool ValidateMaterialfv(Context *context, GLenum face, GLenum pname, const GLfloat *params)
361{
362 UNIMPLEMENTED();
363 return true;
364}
365
366bool ValidateMaterialx(Context *context, GLenum face, GLenum pname, GLfixed param)
367{
368 UNIMPLEMENTED();
369 return true;
370}
371
372bool ValidateMaterialxv(Context *context, GLenum face, GLenum pname, const GLfixed *param)
373{
374 UNIMPLEMENTED();
375 return true;
376}
377
378bool ValidateMatrixMode(Context *context, GLenum mode)
379{
380 UNIMPLEMENTED();
381 return true;
382}
383
384bool ValidateMultMatrixf(Context *context, const GLfloat *m)
385{
386 UNIMPLEMENTED();
387 return true;
388}
389
390bool ValidateMultMatrixx(Context *context, const GLfixed *m)
391{
392 UNIMPLEMENTED();
393 return true;
394}
395
396bool ValidateMultiTexCoord4f(Context *context,
397 GLenum target,
398 GLfloat s,
399 GLfloat t,
400 GLfloat r,
401 GLfloat q)
402{
403 UNIMPLEMENTED();
404 return true;
405}
406
407bool ValidateMultiTexCoord4x(Context *context,
408 GLenum texture,
409 GLfixed s,
410 GLfixed t,
411 GLfixed r,
412 GLfixed q)
413{
414 UNIMPLEMENTED();
415 return true;
416}
417
418bool ValidateNormal3f(Context *context, GLfloat nx, GLfloat ny, GLfloat nz)
419{
420 UNIMPLEMENTED();
421 return true;
422}
423
424bool ValidateNormal3x(Context *context, GLfixed nx, GLfixed ny, GLfixed nz)
425{
426 UNIMPLEMENTED();
427 return true;
428}
429
430bool ValidateNormalPointer(Context *context, GLenum type, GLsizei stride, const void *pointer)
431{
432 UNIMPLEMENTED();
433 return true;
434}
435
436bool ValidateOrthof(Context *context,
437 GLfloat l,
438 GLfloat r,
439 GLfloat b,
440 GLfloat t,
441 GLfloat n,
442 GLfloat f)
443{
444 UNIMPLEMENTED();
445 return true;
446}
447
448bool ValidateOrthox(Context *context,
449 GLfixed l,
450 GLfixed r,
451 GLfixed b,
452 GLfixed t,
453 GLfixed n,
454 GLfixed f)
455{
456 UNIMPLEMENTED();
457 return true;
458}
459
460bool ValidatePointParameterf(Context *context, GLenum pname, GLfloat param)
461{
462 UNIMPLEMENTED();
463 return true;
464}
465
466bool ValidatePointParameterfv(Context *context, GLenum pname, const GLfloat *params)
467{
468 UNIMPLEMENTED();
469 return true;
470}
471
472bool ValidatePointParameterx(Context *context, GLenum pname, GLfixed param)
473{
474 UNIMPLEMENTED();
475 return true;
476}
477
478bool ValidatePointParameterxv(Context *context, GLenum pname, const GLfixed *params)
479{
480 UNIMPLEMENTED();
481 return true;
482}
483
484bool ValidatePointSize(Context *context, GLfloat size)
485{
486 UNIMPLEMENTED();
487 return true;
488}
489
490bool ValidatePointSizex(Context *context, GLfixed size)
491{
492 UNIMPLEMENTED();
493 return true;
494}
495
496bool ValidatePolygonOffsetx(Context *context, GLfixed factor, GLfixed units)
497{
498 UNIMPLEMENTED();
499 return true;
500}
501
502bool ValidatePopMatrix(Context *context)
503{
504 UNIMPLEMENTED();
505 return true;
506}
507
508bool ValidatePushMatrix(Context *context)
509{
510 UNIMPLEMENTED();
511 return true;
512}
513
514bool ValidateRotatef(Context *context, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
515{
516 UNIMPLEMENTED();
517 return true;
518}
519
520bool ValidateRotatex(Context *context, GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
521{
522 UNIMPLEMENTED();
523 return true;
524}
525
526bool ValidateSampleCoveragex(Context *context, GLclampx value, GLboolean invert)
527{
528 UNIMPLEMENTED();
529 return true;
530}
531
532bool ValidateScalef(Context *context, GLfloat x, GLfloat y, GLfloat z)
533{
534 UNIMPLEMENTED();
535 return true;
536}
537
538bool ValidateScalex(Context *context, GLfixed x, GLfixed y, GLfixed z)
539{
540 UNIMPLEMENTED();
541 return true;
542}
543
544bool ValidateShadeModel(Context *context, GLenum mode)
545{
546 UNIMPLEMENTED();
547 return true;
548}
549
550bool ValidateTexCoordPointer(Context *context,
551 GLint size,
552 GLenum type,
553 GLsizei stride,
554 const void *pointer)
555{
556 UNIMPLEMENTED();
557 return true;
558}
559
560bool ValidateTexEnvf(Context *context, GLenum target, GLenum pname, GLfloat param)
561{
562 UNIMPLEMENTED();
563 return true;
564}
565
566bool ValidateTexEnvfv(Context *context, GLenum target, GLenum pname, const GLfloat *params)
567{
568 UNIMPLEMENTED();
569 return true;
570}
571
572bool ValidateTexEnvi(Context *context, GLenum target, GLenum pname, GLint param)
573{
574 UNIMPLEMENTED();
575 return true;
576}
577
578bool ValidateTexEnviv(Context *context, GLenum target, GLenum pname, const GLint *params)
579{
580 UNIMPLEMENTED();
581 return true;
582}
583
584bool ValidateTexEnvx(Context *context, GLenum target, GLenum pname, GLfixed param)
585{
586 UNIMPLEMENTED();
587 return true;
588}
589
590bool ValidateTexEnvxv(Context *context, GLenum target, GLenum pname, const GLfixed *params)
591{
592 UNIMPLEMENTED();
593 return true;
594}
595
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800596bool ValidateTexParameterx(Context *context, TextureType target, GLenum pname, GLfixed param)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500597{
598 UNIMPLEMENTED();
599 return true;
600}
601
Corentin Wallezf0e89be2017-11-08 14:00:32 -0800602bool ValidateTexParameterxv(Context *context,
603 TextureType target,
604 GLenum pname,
605 const GLfixed *params)
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500606{
607 UNIMPLEMENTED();
608 return true;
609}
610
611bool ValidateTranslatef(Context *context, GLfloat x, GLfloat y, GLfloat z)
612{
613 UNIMPLEMENTED();
614 return true;
615}
616
617bool ValidateTranslatex(Context *context, GLfixed x, GLfixed y, GLfixed z)
618{
619 UNIMPLEMENTED();
620 return true;
621}
622
623bool ValidateVertexPointer(Context *context,
624 GLint size,
625 GLenum type,
626 GLsizei stride,
627 const void *pointer)
628{
629 UNIMPLEMENTED();
630 return true;
631}
632
633bool ValidateDrawTexfOES(Context *context,
634 GLfloat x,
635 GLfloat y,
636 GLfloat z,
637 GLfloat width,
638 GLfloat height)
639{
640 UNIMPLEMENTED();
641 return true;
642}
643
644bool ValidateDrawTexfvOES(Context *context, const GLfloat *coords)
645{
646 UNIMPLEMENTED();
647 return true;
648}
649
650bool ValidateDrawTexiOES(Context *context, GLint x, GLint y, GLint z, GLint width, GLint height)
651{
652 UNIMPLEMENTED();
653 return true;
654}
655
656bool ValidateDrawTexivOES(Context *context, const GLint *coords)
657{
658 UNIMPLEMENTED();
659 return true;
660}
661
662bool ValidateDrawTexsOES(Context *context,
663 GLshort x,
664 GLshort y,
665 GLshort z,
666 GLshort width,
667 GLshort height)
668{
669 UNIMPLEMENTED();
670 return true;
671}
672
673bool ValidateDrawTexsvOES(Context *context, const GLshort *coords)
674{
675 UNIMPLEMENTED();
676 return true;
677}
678
679bool ValidateDrawTexxOES(Context *context,
680 GLfixed x,
681 GLfixed y,
682 GLfixed z,
683 GLfixed width,
684 GLfixed height)
685{
686 UNIMPLEMENTED();
687 return true;
688}
689
690bool ValidateDrawTexxvOES(Context *context, const GLfixed *coords)
691{
692 UNIMPLEMENTED();
693 return true;
694}
695
696bool ValidateCurrentPaletteMatrixOES(Context *context, GLuint matrixpaletteindex)
697{
698 UNIMPLEMENTED();
699 return true;
700}
701
702bool ValidateLoadPaletteFromModelViewMatrixOES(Context *context)
703{
704 UNIMPLEMENTED();
705 return true;
706}
707
708bool ValidateMatrixIndexPointerOES(Context *context,
709 GLint size,
710 GLenum type,
711 GLsizei stride,
712 const void *pointer)
713{
714 UNIMPLEMENTED();
715 return true;
716}
717
718bool ValidateWeightPointerOES(Context *context,
719 GLint size,
720 GLenum type,
721 GLsizei stride,
722 const void *pointer)
723{
724 UNIMPLEMENTED();
725 return true;
726}
727
728bool ValidatePointSizePointerOES(Context *context, GLenum type, GLsizei stride, const void *pointer)
729{
730 UNIMPLEMENTED();
731 return true;
732}
733
734bool ValidateQueryMatrixxOES(Context *context, GLfixed *mantissa, GLint *exponent)
735{
736 UNIMPLEMENTED();
737 return true;
738}
Lingfeng Yanga0648782018-03-12 14:45:25 -0700739
740bool ValidateGenFramebuffersOES(Context *context, GLsizei n, GLuint *framebuffers)
741{
742 UNIMPLEMENTED();
743 return true;
744}
745
746bool ValidateDeleteFramebuffersOES(Context *context, GLsizei n, const GLuint *framebuffers)
747{
748 UNIMPLEMENTED();
749 return true;
750}
751
752bool ValidateGenRenderbuffersOES(Context *context, GLsizei n, GLuint *renderbuffers)
753{
754 UNIMPLEMENTED();
755 return true;
756}
757
758bool ValidateDeleteRenderbuffersOES(Context *context, GLsizei n, const GLuint *renderbuffers)
759{
760 UNIMPLEMENTED();
761 return true;
762}
763
764bool ValidateBindFramebufferOES(Context *context, GLenum target, GLuint framebuffer)
765{
766 UNIMPLEMENTED();
767 return true;
768}
769
770bool ValidateBindRenderbufferOES(Context *context, GLenum target, GLuint renderbuffer)
771{
772 UNIMPLEMENTED();
773 return true;
774}
775
776bool ValidateCheckFramebufferStatusOES(Context *context, GLenum target)
777{
778 UNIMPLEMENTED();
779 return true;
780}
781
782bool ValidateFramebufferRenderbufferOES(Context *context,
783 GLenum target,
784 GLenum attachment,
785 GLenum rbtarget,
786 GLuint renderbuffer)
787{
788 UNIMPLEMENTED();
789 return true;
790}
791
792bool ValidateFramebufferTexture2DOES(Context *context,
793 GLenum target,
794 GLenum attachment,
795 TextureTarget textarget,
796 GLuint texture,
797 GLint level)
798{
799 UNIMPLEMENTED();
800 return true;
801}
802
803bool ValidateGenerateMipmapOES(Context *context, TextureType target)
804{
805 UNIMPLEMENTED();
806 return true;
807}
808
809bool ValidateGetFramebufferAttachmentParameterivOES(Context *context,
810 GLenum target,
811 GLenum attachment,
812 GLenum pname,
813 GLint *params)
814{
815 UNIMPLEMENTED();
816 return true;
817}
818
819bool ValidateGetRenderbufferParameterivOES(Context *context,
820 GLenum target,
821 GLenum pname,
822 GLint *params)
823{
824 UNIMPLEMENTED();
825 return true;
826}
827
828bool ValidateIsFramebufferOES(Context *context, GLuint framebuffer)
829{
830 UNIMPLEMENTED();
831 return true;
832}
833
834bool ValidateIsRenderbufferOES(Context *context, GLuint renderbuffer)
835{
836 UNIMPLEMENTED();
837 return true;
838}
839
840bool ValidateRenderbufferStorageOES(Context *context,
841 GLenum target,
842 GLint internalformat,
843 GLsizei width,
844 GLsizei height)
845{
846 UNIMPLEMENTED();
847 return true;
848}
849
850// GL_OES_texture_cube_map
851
852bool ValidateGetTexGenfvOES(Context *context, GLenum coord, GLenum pname, GLfloat *params)
853{
854 UNIMPLEMENTED();
855 return true;
856}
857
858bool ValidateGetTexGenivOES(Context *context, GLenum coord, GLenum pname, int *params)
859{
860 UNIMPLEMENTED();
861 return true;
862}
863
864bool ValidateGetTexGenxvOES(Context *context, GLenum coord, GLenum pname, GLfixed *params)
865{
866 UNIMPLEMENTED();
867 return true;
868}
869
870bool ValidateTexGenfvOES(Context *context, GLenum coord, GLenum pname, const GLfloat *params)
871{
872 UNIMPLEMENTED();
873 return true;
874}
875
876bool ValidateTexGenivOES(Context *context, GLenum coord, GLenum pname, const GLint *param)
877{
878 UNIMPLEMENTED();
879 return true;
880}
881
882bool ValidateTexGenxvOES(Context *context, GLenum coord, GLenum pname, const GLint *param)
883{
884 UNIMPLEMENTED();
885 return true;
886}
887
888bool ValidateTexGenfOES(Context *context, GLenum coord, GLenum pname, GLfloat param)
889{
890 UNIMPLEMENTED();
891 return true;
892}
893
894bool ValidateTexGeniOES(Context *context, GLenum coord, GLenum pname, GLint param)
895{
896 UNIMPLEMENTED();
897 return true;
898}
899
900bool ValidateTexGenxOES(Context *context, GLenum coord, GLenum pname, GLfixed param)
901{
902 UNIMPLEMENTED();
903 return true;
904}
Geoff Lang2aaa7b42018-01-12 17:17:27 -0500905}