glsl: Support transform feedback of varying structs.
[mesa.git] / src / glsl / ir_expression_flattening.cpp
index 0b7c537bd8aafcb555317f0df91b0f46b5bff66c..b44e68ca364cedf6ecedde9db039faa3162b7cc6 100644 (file)
  * Takes the leaves of expression trees and makes them dereferences of
  * assignments of the leaves to temporaries, according to a predicate.
  *
- * This is used for automatic function inlining, where we want to take
- * an expression containing a call and move the call out to its own
- * assignment so that we can inline it at the appropriate place in the
- * instruction stream.
+ * This is used for breaking down matrix operations, where it's easier to
+ * create a temporary and work on each of its vector components individually.
  */
 
 #include "ir.h"