summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/validationGL46.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/checkout/src/libANGLE/validationGL46.cpp')
-rw-r--r--gfx/angle/checkout/src/libANGLE/validationGL46.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/gfx/angle/checkout/src/libANGLE/validationGL46.cpp b/gfx/angle/checkout/src/libANGLE/validationGL46.cpp
new file mode 100644
index 0000000000..2c134f880b
--- /dev/null
+++ b/gfx/angle/checkout/src/libANGLE/validationGL46.cpp
@@ -0,0 +1,50 @@
+//
+// Copyright 2019 The ANGLE Project Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+
+// validationGL46.cpp: Validation functions for OpenGL 4.6 entry point parameters
+
+#include "libANGLE/validationGL46_autogen.h"
+
+namespace gl
+{
+
+bool ValidateMultiDrawArraysIndirectCount(Context *context,
+ GLenum mode,
+ const void *indirect,
+ GLintptr drawcount,
+ GLsizei maxdrawcount,
+ GLsizei stride)
+{
+ return true;
+}
+
+bool ValidateMultiDrawElementsIndirectCount(Context *context,
+ GLenum mode,
+ GLenum type,
+ const void *indirect,
+ GLintptr drawcount,
+ GLsizei maxdrawcount,
+ GLsizei stride)
+{
+ return true;
+}
+
+bool ValidatePolygonOffsetClamp(Context *context, GLfloat factor, GLfloat units, GLfloat clamp)
+{
+ return true;
+}
+
+bool ValidateSpecializeShader(Context *context,
+ GLuint shader,
+ const GLchar *pEntryPoint,
+ GLuint numSpecializationConstants,
+ const GLuint *pConstantIndex,
+ const GLuint *pConstantValue)
+{
+ return true;
+}
+
+} // namespace gl