summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2014-07-02 19:59:44 +0200
committerAndreas Boll <andreas.boll.dev@gmail.com>2014-07-03 09:26:52 +0200
commita164baf74ca11f8090a1acf391d49d77ce7b905e (patch)
tree3d2a24e312cf0756239df6814dbf7c7750118749
parent5080d0fe0691a07f017cc9a2794f629852a32e4a (diff)
downloadmesa-demos-a164baf74ca11f8090a1acf391d49d77ce7b905e.zip
mesa-demos-a164baf74ca11f8090a1acf391d49d77ce7b905e.tar.xz
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@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--src/xdemos/glinfo_common.c5
1 files changed, 5 insertions, 0 deletions
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];