glsl: Allow ir_assignment() constructor to not specify condition.
authorEric Anholt <eric@anholt.net>
Fri, 24 Jun 2011 20:17:07 +0000 (13:17 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jun 2011 22:10:03 +0000 (15:10 -0700)
commite617a53a74cd27a322fd2dd05ff1c66c6437fde3
tree2b7d63b8b5f36ac4debb9381621aad2a2c6b4c97
parent487dd96c2706aa352ed44637507dd7f38ac80306
glsl: Allow ir_assignment() constructor to not specify condition.

We almost never want to specify a condition, and when we do we're
already thinking about it (because we're writing a lowering pass
generating the condition), so a default argument should make the code
more pleasant to read.

NOTE: This is a candidate for the 7.11 branch (we want to be able to
cherry-pick future code).
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir.h