From c097c63aa880e2b84e6b1d78a8808d42864f72fc Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 18 Aug 2011 15:22:21 -0700 Subject: mesa: Determine GL_ACTIVE_ATTRIBUTES by walking the GLSL IR. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/main/shaderapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/main/shaderapi.h') 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 -- cgit v1.2.3