glsl: Make ir_rvalue_visitor visit ir_discard::condition.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Feb 2015 06:00:34 +0000 (22:00 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Feb 2015 23:24:52 +0000 (15:24 -0800)
commit44b45da994c5d827eb123fb18b501d712822baae
tree412de9c43f5dcd8fd352b22944113f3f6aac4cd8
parent926d8b05107f4f5fecad41ad30833a306a566303
glsl: Make ir_rvalue_visitor visit ir_discard::condition.

This was forgotten.

I omitted the NULL check since we don't check ir_assignment::condition
either.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/ir_rvalue_visitor.cpp
src/glsl/ir_rvalue_visitor.h