mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
glsl: Update function parameter documentation for do_common_optimization
max_unroll_iterations was moved into options a long, long time ago. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
bacdd9ef4c
commit
afd99734db
1 changed files with 4 additions and 3 deletions
|
|
@ -2012,10 +2012,11 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
|
|||
* of unused uniforms from being removed.
|
||||
* The setting of this flag only matters if
|
||||
* \c linked is \c true.
|
||||
* \param max_unroll_iterations Maximum number of loop iterations to be
|
||||
* unrolled. Setting to 0 disables loop
|
||||
* unrolling.
|
||||
* \param options The driver's preferred shader options.
|
||||
* \param native_integers Selects optimizations that depend on the
|
||||
* implementations supporting integers
|
||||
* natively (as opposed to supporting
|
||||
* integers in floating point registers).
|
||||
*/
|
||||
bool
|
||||
do_common_optimization(exec_list *ir, bool linked,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue