Demos (master): glxinfo/wglinfo: query/ print GL_ARB_texture_multisample limits

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 12 13:02:27 UTC 2014


Module: Demos
Branch: master
Commit: 3d3388d5d73e978bdabdd123b756ed9b76d9b900
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=3d3388d5d73e978bdabdd123b756ed9b76d9b900

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug  8 16:58:44 2014 -0600

glxinfo/wglinfo: query/print GL_ARB_texture_multisample limits

---

 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 f536e98..d3acc19 100644
--- a/src/xdemos/glinfo_common.c
+++ b/src/xdemos/glinfo_common.c
@@ -573,6 +573,11 @@ print_limits(const char *extensions, const char *oglstring, int version,
       { 1, GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, "GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT", "GL_ARB_texture_buffer_object" },
       { 1, GL_MAX_TEXTURE_BUFFER_SIZE, "GL_MAX_TEXTURE_BUFFER_SIZE", "GL_ARB_texture_buffer_object" },
 #endif
+#if defined (GL_ARB_texture_multisample)
+      { 1, GL_MAX_COLOR_TEXTURE_SAMPLES, "GL_MAX_COLOR_TEXTURE_SAMPLES", "GL_ARB_texture_multisample" },
+      { 1, GL_MAX_DEPTH_TEXTURE_SAMPLES, "GL_MAX_DEPTH_TEXTURE_SAMPLES", "GL_ARB_texture_multisample" },
+      { 1, GL_MAX_INTEGER_SAMPLES, "GL_MAX_INTEGER_SAMPLES", "GL_ARB_texture_multisample" },
+#endif
 #if defined (GL_ARB_uniform_buffer_object)
       { 1, GL_MAX_VERTEX_UNIFORM_BLOCKS, "GL_MAX_VERTEX_UNIFORM_BLOCKS", "GL_ARB_uniform_buffer_object" },
       { 1, GL_MAX_FRAGMENT_UNIFORM_BLOCKS, "GL_MAX_FRAGMENT_UNIFORM_BLOCKS", "GL_ARB_uniform_buffer_object" },




More information about the mesa-commit mailing list