mesa: fix 'make check' by moving bindless functions at the right place
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 16:08:09 +0000 (18:08 +0200)
committerMichel Dänzer <michel.daenzer@amd.com>
Thu, 15 Jun 2017 01:44:38 +0000 (10:44 +0900)
Fixes: 5f249b9f05e ("mapi: add GL_ARB_bindless_texture entry points")
Reported-by: Mark Janes <mark.a.janes@intel.com>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Aaron Watry <awatry@gmail.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/mesa/main/tests/dispatch_sanity.cpp

index 47d0aa63bf44394eef5b738ba6c7f33e15f54e5d..724c22ee9b30051453b5c56f48a22d10a66bce7d 100644 (file)
@@ -965,6 +965,24 @@ const struct function common_desktop_functions_possible[] = {
    { "glBufferPageCommitmentARB", 43, -1 },
    { "glNamedBufferPageCommitmentARB", 43, -1 },
 
+   /* GL_ARB_bindless_texture */
+   { "glGetTextureHandleARB", 40, -1 },
+   { "glGetTextureSamplerHandleARB", 40, -1 },
+   { "glMakeTextureHandleResidentARB", 40, -1 },
+   { "glMakeTextureHandleNonResidentARB", 40, -1 },
+   { "glIsTextureHandleResidentARB", 40, -1 },
+   { "glGetImageHandleARB", 40, -1 },
+   { "glMakeImageHandleResidentARB", 40, -1 },
+   { "glMakeImageHandleNonResidentARB", 40, -1 },
+   { "glIsImageHandleResidentARB", 40, -1 },
+   { "glUniformHandleui64ARB", 40, -1 },
+   { "glUniformHandleui64vARB", 40, -1 },
+   { "glProgramUniformHandleui64ARB", 40, -1 },
+   { "glProgramUniformHandleui64vARB", 40, -1 },
+   { "glVertexAttribL1ui64ARB", 40, -1 },
+   { "glVertexAttribL1ui64vARB", 40, -1 },
+   { "glGetVertexAttribLui64vARB", 40, -1 },
+
    { NULL, 0, -1 }
 };
 
@@ -2374,24 +2392,6 @@ const struct function gles2_functions_possible[] = {
    /* GL_KHR_blend_equation_advanced */
    { "glBlendBarrierKHR", 20, -1 },
 
-   /* GL_ARB_bindless_texture */
-   { "glGetTextureHandleARB", 40, -1 },
-   { "glGetTextureSamplerHandleARB", 40, -1 },
-   { "glMakeTextureHandleResidentARB", 40, -1 },
-   { "glMakeTextureHandleNonResidentARB", 40, -1 },
-   { "glIsTextureHandleResidentARB", 40, -1 },
-   { "glGetImageHandleARB", 40, -1 },
-   { "glMakeImageHandleResidentARB", 40, -1 },
-   { "glMakeImageHandleNonResidentARB", 40, -1 },
-   { "glIsImageHandleResidentARB", 40, -1 },
-   { "glUniformHandleui64ARB", 40, -1 },
-   { "glUniformHandleui64vARB", 40, -1 },
-   { "glProgramUniformHandleui64ARB", 40, -1 },
-   { "glProgramUniformHandleui64vARB", 40, -1 },
-   { "glVertexAttribL1ui64ARB", 40, -1 },
-   { "glVertexAttribL1ui64vARB", 40, -1 },
-   { "glGetVertexAttribLui64vARB", 40, -1 },
-
    { NULL, 0, -1 }
 };