glsl: fix incorrect comment about do_common_optimization
authorMarek Olšák <maraeo@gmail.com>
Thu, 31 Jan 2013 22:29:53 +0000 (23:29 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 6 Feb 2013 13:51:31 +0000 (14:51 +0100)
src/glsl/glsl_parser_extras.cpp

index c8dbc89..7d826e3 100644 (file)
@@ -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,