diff options
author | Marek Olšák <[email protected]> | 2015-12-06 13:31:25 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-02 15:15:44 +0100 |
commit | 294ed5cd13e878ec43126a2070343d6d99ef5669 (patch) | |
tree | 3ac585aba3abd5af793cca2d27c8fe54a06f7dda /src/mesa/program/prog_parameter.h | |
parent | a2942d8f2696bdc2a98989f04275b497996d5478 (diff) |
program: add _mesa_reserve_parameter_storage
The next commit will use this.
Reviewed-by: Brian Paul <[email protected]>
Cc: 11.0 11.1 <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_parameter.h')
-rw-r--r-- | src/mesa/program/prog_parameter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h index 74a5fd91804..44700b710d7 100644 --- a/src/mesa/program/prog_parameter.h +++ b/src/mesa/program/prog_parameter.h @@ -112,6 +112,10 @@ _mesa_num_parameters(const struct gl_program_parameter_list *list) return list ? list->NumParameters : 0; } +extern void +_mesa_reserve_parameter_storage(struct gl_program_parameter_list *paramList, + unsigned reserve_slots); + extern GLint _mesa_add_parameter(struct gl_program_parameter_list *paramList, gl_register_file type, const char *name, |