summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-01 22:15:16 -0600
committerBrian Paul <[email protected]>2010-04-01 22:17:13 -0600
commit038aba1f082d696a49db7c818766c5886f4efa83 (patch)
tree50586d1f23d9b286bebe03b5f924d62dcac7521c /src/mesa/shader/prog_parameter.h
parentee91c1e367b9e3bcbb156ed80ab94694f0d4b4ca (diff)
glsl: pass datatype to _mesa_add_varying()
Will be needed later for transform feedback support.
Diffstat (limited to 'src/mesa/shader/prog_parameter.h')
-rw-r--r--src/mesa/shader/prog_parameter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_parameter.h b/src/mesa/shader/prog_parameter.h
index 1111c859769..cc3378ae201 100644
--- a/src/mesa/shader/prog_parameter.h
+++ b/src/mesa/shader/prog_parameter.h
@@ -146,7 +146,8 @@ _mesa_add_sampler(struct gl_program_parameter_list *paramList,
extern GLint
_mesa_add_varying(struct gl_program_parameter_list *paramList,
- const char *name, GLuint size, GLbitfield flags);
+ const char *name, GLuint size, GLenum datatype,
+ GLbitfield flags);
extern GLint
_mesa_add_attribute(struct gl_program_parameter_list *paramList,