summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-07-08 11:39:13 -0700
committerIan Romanick <[email protected]>2009-07-20 15:37:24 -0700
commit480567d5c451511a72744b0c849960c2b712e093 (patch)
treec38d78e42203fec07ac01ad59c8f176ea9edc8ba /src/mesa/shader/prog_parameter.h
parentcad82cd0636b4b74597ae2c6bab83a3e94006bf8 (diff)
Add new _mesa_new_parameter_list_sized to pre-allocate a parameter list
Diffstat (limited to 'src/mesa/shader/prog_parameter.h')
-rw-r--r--src/mesa/shader/prog_parameter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.h b/src/mesa/shader/prog_parameter.h
index 01f5a0e179f..d1fcf47e61b 100644
--- a/src/mesa/shader/prog_parameter.h
+++ b/src/mesa/shader/prog_parameter.h
@@ -84,6 +84,9 @@ struct gl_program_parameter_list
extern struct gl_program_parameter_list *
_mesa_new_parameter_list(void);
+extern struct gl_program_parameter_list *
+_mesa_new_parameter_list_sized(unsigned size);
+
extern void
_mesa_free_parameter_list(struct gl_program_parameter_list *paramList);