diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index e3cad15679d..adbcba1ed2a 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -864,6 +864,12 @@
+
+
+
+
+
+
diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml
index 3a2010f17cb..e2cd8c8c148 100644
--- a/src/mapi/glapi/registry/gl.xml
+++ b/src/mapi/glapi/registry/gl.xml
@@ -18083,6 +18083,12 @@ typedef unsigned int GLhandleARB;
GLint64 *params
+
+ void glGetInteger64vEXT
+ GLenum pname
+ GLint64 *data
+
+
void glGetIntegerIndexedvEXT
GLenum target
@@ -44871,6 +44877,7 @@ typedef unsigned int GLhandleARB;
+
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index 61201ee39b9..c1c293b843a 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -2418,6 +2418,7 @@ const struct function gles2_functions_possible[] = {
{ "glGetQueryObjecti64vEXT", 20, -1 },
{ "glGetQueryObjectui64vEXT", 20, -1 },
{ "glQueryCounterEXT", 20, -1 },
+ { "glGetInteger64vEXT", 20, -1 },
/* GL_EXT_shader_framebuffer_fetch_non_coherent */
{ "glFramebufferFetchBarrierEXT", 20, -1 },
@@ -2501,7 +2502,8 @@ const struct function gles3_functions_possible[] = {
// { "glGetBufferPointerv", 30, -1 },
{ "glGetFragDataLocation", 30, -1 },
{ "glGetInteger64i_v", 30, -1 },
- { "glGetInteger64v", 30, -1 },
+ // We check for the aliased -EXT version in GLES 2
+ //{ "glGetInteger64v", 30, -1 },
{ "glGetIntegeri_v", 30, -1 },
{ "glGetInternalformativ", 30, -1 },
{ "glGetInternalformati64v", 30, -1 },