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/validationES2.cpp b/src/libANGLE/validationES2.cpp
index 54d361e..52105ed 100644
--- a/src/libANGLE/validationES2.cpp
+++ b/src/libANGLE/validationES2.cpp
@@ -6,7 +6,7 @@
// validationES2.cpp: Validation functions for OpenGL ES 2.0 entry point parameters
-#include "libANGLE/validationES2.h"
+#include "libANGLE/validationES2_autogen.h"
#include <cstdint>
@@ -25,7 +25,8 @@
#include "libANGLE/VertexArray.h"
#include "libANGLE/formatutils.h"
#include "libANGLE/validationES.h"
-#include "libANGLE/validationES3.h"
+#include "libANGLE/validationES2.h"
+#include "libANGLE/validationES3_autogen.h"
namespace gl
{
@@ -3581,16 +3582,6 @@
return true;
}
-bool ValidateCoverFillPathCHROMIUM(Context *context, GLuint path, GLenum coverMode)
-{
- return ValidateCoverPathCHROMIUM(context, path, coverMode);
-}
-
-bool ValidateCoverStrokePathCHROMIUM(Context *context, GLuint path, GLenum coverMode)
-{
- return ValidateCoverPathCHROMIUM(context, path, coverMode);
-}
-
bool ValidateCoverPathCHROMIUM(Context *context, GLuint path, GLenum coverMode)
{
if (!context->getExtensions().pathRendering)
@@ -3616,6 +3607,16 @@
return true;
}
+bool ValidateCoverFillPathCHROMIUM(Context *context, GLuint path, GLenum coverMode)
+{
+ return ValidateCoverPathCHROMIUM(context, path, coverMode);
+}
+
+bool ValidateCoverStrokePathCHROMIUM(Context *context, GLuint path, GLenum coverMode)
+{
+ return ValidateCoverPathCHROMIUM(context, path, coverMode);
+}
+
bool ValidateStencilThenCoverFillPathCHROMIUM(Context *context,
GLuint path,
GLenum fillMode,