[Mesa-dev] [PATCH 5/5] glxinfo: Add missing vertex and fragment shader limits

Ian Romanick idr at freedesktop.org
Sun Jan 26 20:50:29 PST 2014


From: Ian Romanick <ian.d.romanick at intel.com>

These were added in OpenGL 3.2.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/xdemos/glxinfo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c
index 0a3f882..a116e4a 100644
--- a/src/xdemos/glxinfo.c
+++ b/src/xdemos/glxinfo.c
@@ -545,12 +545,14 @@ print_shader_limits(GLenum target)
       { GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB" },
       { GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB" },
       { GL_MAX_TEXTURE_COORDS_ARB, "GL_MAX_TEXTURE_COORDS_ARB" },
+      { GL_MAX_VERTEX_OUTPUT_COMPONENTS  , "GL_MAX_VERTEX_OUTPUT_COMPONENTS  " },
       { (GLenum) 0, NULL }
    };
    static const struct token_name fragment_limits[] = {
       { GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB, "GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB" },
       { GL_MAX_TEXTURE_COORDS_ARB, "GL_MAX_TEXTURE_COORDS_ARB" },
       { GL_MAX_TEXTURE_IMAGE_UNITS_ARB, "GL_MAX_TEXTURE_IMAGE_UNITS_ARB" },
+      { GL_MAX_FRAGMENT_INPUT_COMPONENTS , "GL_MAX_FRAGMENT_INPUT_COMPONENTS " },
       { (GLenum) 0, NULL }
    };
    static const struct token_name geometry_limits[] = {
-- 
1.8.1.4



More information about the mesa-dev mailing list