diff options
author | Kenneth Graunke <[email protected]> | 2011-01-01 03:37:02 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-01-12 23:55:34 -0800 |
commit | bbafd2b849629d3155fe0eef655bbc166a901925 (patch) | |
tree | f7188d2fbed20f2fccefb0adfc1e490f49cde477 /src/glsl/ir_print_visitor.cpp | |
parent | b74ff382a42bcb81bbf0dc6a85bb38404c46260d (diff) |
ir_reader: Make assignment conditions optional.
You can now simply write (assign (xy) <lhs> <rhs>) instead of the
verbose (assign (constant bool (1)) (xy) <lhs> <rhs>).
Diffstat (limited to 'src/glsl/ir_print_visitor.cpp')
-rw-r--r-- | src/glsl/ir_print_visitor.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp index 0aa0b0a5d32..c56bafd00c5 100644 --- a/src/glsl/ir_print_visitor.cpp +++ b/src/glsl/ir_print_visitor.cpp @@ -281,9 +281,6 @@ void ir_print_visitor::visit(ir_assignment *ir) if (ir->condition) ir->condition->accept(this); - else - printf("(constant bool (1))"); - char mask[5]; unsigned j = 0; |