summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-18 15:22:21 -0700
committerIan Romanick <[email protected]>2011-10-04 13:17:47 -0700
commitc097c63aa880e2b84e6b1d78a8808d42864f72fc (patch)
tree8cfb4f9a89e1b49be52dae79c5936bda15fbbe7f /src/mesa/main/shaderapi.h
parenta339ee8d852c08ce7af51a518e0b18b9f0ab324c (diff)
mesa: Determine GL_ACTIVE_ATTRIBUTES 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 e4b477660dc..96747247204 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -50,6 +50,8 @@ _mesa_active_program(struct gl_context *ctx, struct gl_shader_program *shProg,
extern void
_mesa_init_shader_dispatch(struct _glapi_table *exec);
+extern unsigned
+_mesa_count_active_attribs(struct gl_shader_program *shProg);
extern void GLAPIENTRY