[Mesa-dev] [PATCH 02/15] glsl: Update function parameter documentation for do_common_optimization
Ian Romanick
idr at freedesktop.org
Thu Sep 15 22:12:35 UTC 2016
From: Ian Romanick <ian.d.romanick at intel.com>
max_unroll_iterations was moved into options a long, long time ago.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/compiler/glsl/glsl_parser_extras.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 0e9bfa7..c1e958a 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -2010,10 +2010,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,
--
2.5.5
More information about the mesa-dev
mailing list