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>
This commit is contained in:
Ian Romanick
2011-07-08 10:34:38 -07:00
parent 2d960d3f4e
commit 1ad3ba4ad9
2 changed files with 8 additions and 2 deletions

View File

@@ -62,8 +62,10 @@ process_parameters(exec_list *instructions, exec_list *actual_parameters,
*
* \param return_type Return type of the function. May be \c NULL.
* \param name Name of the function.
* \param parameters Parameter list for the function. This may be either a
* formal or actual parameter list. Only the type is used.
* \param parameters List of \c ir_instruction nodes representing the
* parameter list for the function. This may be either a
* formal (\c ir_variable) or actual (\c ir_rvalue)
* parameter list. Only the type is used.
*
* \return
* A ralloced string representing the prototype of the function.