aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-18 15:27:18 -0700
committerIan Romanick <[email protected]>2011-10-04 13:17:48 -0700
commit24409ba1968cc49cbde6a111464c91271babc68a (patch)
tree00859ebec7bf3a7d117c98674135e879029b1874 /src/mesa/main/shaderapi.h
parentc097c63aa880e2b84e6b1d78a8808d42864f72fc (diff)
mesa: Determine GL_ACTIVE_ATTRIBUTE_MAX_LENGTH by walking the GLSL IR.
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.h')
-rw-r--r--src/mesa/main/shaderapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.h b/src/mesa/main/shaderapi.h
index 96747247204..bec448dee47 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -53,6 +53,8 @@ _mesa_init_shader_dispatch(struct _glapi_table *exec);
extern unsigned
_mesa_count_active_attribs(struct gl_shader_program *shProg);
+extern size_t
+_mesa_longest_attribute_name_length(struct gl_shader_program *shProg);
extern void GLAPIENTRY
_mesa_AttachObjectARB(GLhandleARB, GLhandleARB);