Auto-generate validation headers.
This will make them easier to maintain. Add to add new features.
Bug: angleproject:2964
Change-Id: I8c1f92e0d0ca15fc4f555f6c537fa9311320ef7d
Reviewed-on: https://chromium-review.googlesource.com/c/1334429
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
diff --git a/src/libANGLE/validationES3.cpp b/src/libANGLE/validationES3.cpp
index efb25e6..e7975e5 100644
--- a/src/libANGLE/validationES3.cpp
+++ b/src/libANGLE/validationES3.cpp
@@ -6,7 +6,7 @@
// validationES3.cpp: Validation functions for OpenGL ES 3.0 entry point parameters
-#include "libANGLE/validationES3.h"
+#include "libANGLE/validationES3_autogen.h"
#include "anglebase/numerics/safe_conversions.h"
#include "common/mathutil.h"
@@ -4098,7 +4098,7 @@
bool ValidateGetSamplerParameterIivOES(Context *context,
GLuint sampler,
GLenum pname,
- const GLint *params)
+ GLint *params)
{
if (context->getClientMajorVersion() < 3)
{
@@ -4111,7 +4111,7 @@
bool ValidateGetSamplerParameterIuivOES(Context *context,
GLuint sampler,
GLenum pname,
- const GLuint *params)
+ GLuint *params)
{
if (context->getClientMajorVersion() < 3)
{
@@ -4276,7 +4276,7 @@
bool ValidateTexStorage2DMultisampleANGLE(Context *context,
TextureType target,
GLsizei samples,
- GLint internalFormat,
+ GLenum internalFormat,
GLsizei width,
GLsizei height,
GLboolean fixedSampleLocations)