Re: [Mesa-dev] [PATCH] mesa/tests: add GL_ARB_bindless_texture entry points

2017-06-14 Thread Samuel Pitoiset

See https://lists.freedesktop.org/archives/mesa-dev/2017-June/159273.html.

Thanks.

On 06/14/2017 09:33 PM, Ian Romanick wrote:

From: Ian Romanick 

Should have been part of commit 5f249b9 "mapi: add
GL_ARB_bindless_texture entry points"

Signed-off-by: Ian Romanick 
Cc: Samuel Pitoiset 
Cc: Nicolai Hähnle 
Cc: Mark Janes 
---
  src/mesa/main/tests/dispatch_sanity.cpp | 18 ++
  1 file changed, 18 insertions(+)

diff --git a/src/mesa/main/tests/dispatch_sanity.cpp 
b/src/mesa/main/tests/dispatch_sanity.cpp
index 47d0aa6..408c813 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -965,6 +965,24 @@ const struct function common_desktop_functions_possible[] 
= {
 { "glBufferPageCommitmentARB", 43, -1 },
 { "glNamedBufferPageCommitmentARB", 43, -1 },
  
+   /* GL_ARB_bindless_texture */

+   { "glGetTextureHandleARB", 45, -1 },
+   { "glGetTextureSamplerHandleARB", 45, -1 },
+   { "glMakeTextureHandleResidentARB", 45, -1 },
+   { "glMakeTextureHandleNonResidentARB", 45, -1 },
+   { "glGetImageHandleARB", 45, -1 },
+   { "glMakeImageHandleResidentARB", 45, -1 },
+   { "glMakeImageHandleNonResidentARB", 45, -1 },
+   { "glUniformHandleui64ARB", 45, -1 },
+   { "glUniformHandleui64vARB", 45, -1 },
+   { "glProgramUniformHandleui64ARB", 45, -1 },
+   { "glProgramUniformHandleui64vARB", 45, -1 },
+   { "glIsTextureHandleResidentARB", 45, -1 },
+   { "glIsImageHandleResidentARB", 45, -1 },
+   { "glVertexAttribL1ui64ARB", 45, -1 },
+   { "glVertexAttribL1ui64vARB", 45, -1 },
+   { "glGetVertexAttribLui64vARB", 45, -1 },
+
 { NULL, 0, -1 }
  };
  


___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH] mesa/tests: add GL_ARB_bindless_texture entry points

2017-06-14 Thread Ian Romanick
From: Ian Romanick 

Should have been part of commit 5f249b9 "mapi: add
GL_ARB_bindless_texture entry points"

Signed-off-by: Ian Romanick 
Cc: Samuel Pitoiset 
Cc: Nicolai Hähnle 
Cc: Mark Janes 
---
 src/mesa/main/tests/dispatch_sanity.cpp | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/src/mesa/main/tests/dispatch_sanity.cpp 
b/src/mesa/main/tests/dispatch_sanity.cpp
index 47d0aa6..408c813 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -965,6 +965,24 @@ const struct function common_desktop_functions_possible[] 
= {
{ "glBufferPageCommitmentARB", 43, -1 },
{ "glNamedBufferPageCommitmentARB", 43, -1 },
 
+   /* GL_ARB_bindless_texture */
+   { "glGetTextureHandleARB", 45, -1 },
+   { "glGetTextureSamplerHandleARB", 45, -1 },
+   { "glMakeTextureHandleResidentARB", 45, -1 },
+   { "glMakeTextureHandleNonResidentARB", 45, -1 },
+   { "glGetImageHandleARB", 45, -1 },
+   { "glMakeImageHandleResidentARB", 45, -1 },
+   { "glMakeImageHandleNonResidentARB", 45, -1 },
+   { "glUniformHandleui64ARB", 45, -1 },
+   { "glUniformHandleui64vARB", 45, -1 },
+   { "glProgramUniformHandleui64ARB", 45, -1 },
+   { "glProgramUniformHandleui64vARB", 45, -1 },
+   { "glIsTextureHandleResidentARB", 45, -1 },
+   { "glIsImageHandleResidentARB", 45, -1 },
+   { "glVertexAttribL1ui64ARB", 45, -1 },
+   { "glVertexAttribL1ui64vARB", 45, -1 },
+   { "glGetVertexAttribLui64vARB", 45, -1 },
+
{ NULL, 0, -1 }
 };
 
-- 
2.9.4

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev