[Mesa-dev] [PATCH 2/4] glxinfo: Print GL_ARB_vertex_attrib_binding limits
Fredrik Höglund
fredrik at kde.org
Wed Apr 9 18:51:39 PDT 2014
---
src/xdemos/glxinfo.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c
index a77e808..f97ba3e 100644
--- a/src/xdemos/glxinfo.c
+++ b/src/xdemos/glxinfo.c
@@ -681,6 +681,11 @@ print_limits(const char *extensions, const char *oglstring)
{ 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];
--
1.8.5.3
More information about the mesa-dev
mailing list