[Mesa-dev] [PATCH demos 2/3] glxinfo: Print GL_ARB_vertex_attrib_binding limits

Andreas Boll andreas.boll.dev at gmail.com
Wed Jul 2 12:05:00 PDT 2014


From: Fredrik Höglund <fredrik at kde.org>

Updated patch for refactored glxinfo/wglinfo code by Andreas Boll.

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.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];
-- 
2.0.0



More information about the mesa-dev mailing list