ir_reader: Make assignment conditions optional.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Jan 2011 11:37:02 +0000 (03:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 07:55:34 +0000 (23:55 -0800)
commitbbafd2b849629d3155fe0eef655bbc166a901925
treef7188d2fbed20f2fccefb0adfc1e490f49cde477
parentb74ff382a42bcb81bbf0dc6a85bb38404c46260d
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>).
src/glsl/ir_print_visitor.cpp
src/glsl/ir_reader.cpp