diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-07-08 10:34:38 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-07-20 18:20:59 -0700 |
commit | 1ad3ba4ad954b86751bd5b6ad0a431920bff9958 (patch) | |
tree | 2495e228e8ff8bc5174a58c33e4e300a8dd77119 /src/glsl/ir.h | |
parent | 2d960d3f4e8fcf7819bb94ba4913ec0a2a723daa (diff) |
glsl: Make prototype_string publicly available
Also clarify the documentation for one of the parameters.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 80ad3dd295e..9f277380c7d 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1669,4 +1669,8 @@ ir_has_call(ir_instruction *ir); extern void do_set_program_inouts(exec_list *instructions, struct gl_program *prog); +extern char * +prototype_string(const glsl_type *return_type, const char *name, + exec_list *parameters); + #endif /* IR_H */ |