diff options
| author | Ian Romanick <ian.d.romanick@intel.com> | 2016-09-14 15:14:22 -0700 |
|---|---|---|
| committer | Ian Romanick <ian.d.romanick@intel.com> | 2016-09-27 12:06:46 -0700 |
| commit | afd99734db400ad5c0357735f239d45436809b7e (patch) | |
| tree | b1196f1dcc1cedc3e55c38764aafdbdc3e2554b6 | |
| parent | bacdd9ef4c00d49cda4f704eadbbd871bb467735 (diff) | |
| download | external_mesa3d-afd99734db400ad5c0357735f239d45436809b7e.tar.gz external_mesa3d-afd99734db400ad5c0357735f239d45436809b7e.tar.bz2 external_mesa3d-afd99734db400ad5c0357735f239d45436809b7e.zip | |
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>
| -rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index b108afd959..5f3474e4fd 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -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, |
