summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-31 23:29:53 +0100
committerMarek Olšák <[email protected]>2013-02-06 14:51:31 +0100
commitfc863948826491bce61791aaf7355f522db60355 (patch)
tree45fb6d482b9e0b75e7690cdf410037a474e478f5 /src
parent4362bdadf3069ed3f8e7c9bfccbc649d320dbd76 (diff)
glsl: fix incorrect comment about do_common_optimization
Diffstat (limited to 'src')
-rw-r--r--src/glsl/glsl_parser_extras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index c8dbc89ffc2..7d826e3a689 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -1195,8 +1195,8 @@ ast_struct_specifier::ast_struct_specifier(const char *identifier,
* 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 forces all loops
- * to be unrolled.
+ * unrolled. Setting to 0 disables loop
+ * unrolling.
*/
bool
do_common_optimization(exec_list *ir, bool linked,