mesa/tests: add KHR_debug GLES glGetPointervKHR entry points
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Dec 2015 22:01:31 +0000 (22:01 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Dec 2015 13:56:43 +0000 (13:56 +0000)
Should have been part of commit f53f9eb8d49 "glapi: add GetPointervKHR
to the ES dispatch".

v2: comment out the ES1.1 symbol and use the same description (pattern)
as elsewhere (Matt)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93235
Fixes: f53f9eb8d49 "glapi: add GetPointervKHR to the ES dispatch".
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Vinson Lee <vlee@freedesktop.org> (v1)
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/mesa/main/tests/dispatch_sanity.cpp

index 97f81f932f650d83799282b485f05d7b86ee760f..d288b1dbe94cc66462fbd6e8548ad0b8db4400b0 100644 (file)
@@ -1937,7 +1937,8 @@ const struct function gles11_functions_possible[] = {
    { "glGetLightxv", 11, -1 },
    { "glGetMaterialfv", 11, _gloffset_GetMaterialfv },
    { "glGetMaterialxv", 11, -1 },
-   { "glGetPointerv", 11, _gloffset_GetPointerv },
+   // We check for the aliased -KHR version in GLES 1.1
+// { "glGetPointerv", 11, _gloffset_GetPointerv },
    { "glGetRenderbufferParameterivOES", 11, -1 },
    { "glGetString", 11, _gloffset_GetString },
    { "glGetTexEnvfv", 11, _gloffset_GetTexEnvfv },
@@ -2049,6 +2050,7 @@ const struct function gles11_functions_possible[] = {
    { "glGetDebugMessageLogKHR", 11, -1 },
    { "glGetObjectLabelKHR", 11, -1 },
    { "glGetObjectPtrLabelKHR", 11, -1 },
+   { "glGetPointervKHR", 11, _gloffset_GetPointerv },
    { "glObjectLabelKHR", 11, -1 },
    { "glObjectPtrLabelKHR", 11, -1 },
 
@@ -2284,6 +2286,7 @@ const struct function gles2_functions_possible[] = {
    { "glGetDebugMessageLogKHR", 20, -1 },
    { "glGetObjectLabelKHR", 20, -1 },
    { "glGetObjectPtrLabelKHR", 20, -1 },
+   { "glGetPointervKHR", 20, -1 },
    { "glObjectLabelKHR", 20, -1 },
    { "glObjectPtrLabelKHR", 20, -1 },