glsl: Update function parameter documentation for do_common_optimization
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Sep 2016 22:14:22 +0000 (15:14 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 27 Sep 2016 19:06:46 +0000 (12:06 -0700)
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>
src/compiler/glsl/glsl_parser_extras.cpp

index b108afd959b8314f040d7c688c7bc8586619a680..5f3474e4fd3de91749c091c39ccc231f8734c7de 100644 (file)
@@ -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,