Demos (master): glxinfo: Print GL_ARB_vertex_attrib_binding limits
Andreas Boll
ab at kemper.freedesktop.org
Thu Jul 3 07:27:37 UTC 2014
Module: Demos
Branch: master
Commit: a164baf74ca11f8090a1acf391d49d77ce7b905e
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=a164baf74ca11f8090a1acf391d49d77ce7b905e
Author: Fredrik Höglund <fredrik at kde.org>
Date: Wed Jul 2 19:59:44 2014 +0200
glxinfo: Print GL_ARB_vertex_attrib_binding limits
Updated patch for refactored glxinfo/wglinfo code by Andreas Boll.
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
---
src/xdemos/glinfo_common.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/xdemos/glinfo_common.c b/src/xdemos/glinfo_common.c
index 0037ac7..d5d466a 100644
--- a/src/xdemos/glinfo_common.c
+++ b/src/xdemos/glinfo_common.c
@@ -558,6 +558,11 @@ print_limits(const char *extensions, const char *oglstring, int version,
{ 1, GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS, "GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS", "GL_ARB_uniform_buffer_object" },
{ 1, GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, "GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT", "GL_ARB_uniform_buffer_object" },
#endif
+#if defined (GL_ARB_vertex_attrib_binding)
+ { 1, GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET, "GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET", "GL_ARB_vertex_attrib_binding" },
+ { 1, GL_MAX_VERTEX_ATTRIB_STRIDE, "GL_MAX_VERTEX_ATTRIB_STRIDE", "GL_ARB_vertex_attrib_binding" },
+ { 1, GL_MAX_VERTEX_ATTRIB_BINDINGS, "GL_MAX_VERTEX_ATTRIB_BINDINGS", "GL_ARB_vertex_attrib_binding" },
+#endif
{ 0, (GLenum) 0, NULL, NULL }
};
GLint i, max[2];
More information about the mesa-commit
mailing list