aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_clip_distance.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-29 11:25:56 +0100
committermarha <marha@users.sourceforge.net>2013-11-29 11:25:56 +0100
commitc043f97a8572e1f509251288d8bcd70d0fb96770 (patch)
tree8ebbc0f82f5c5b1d6453420963ca7d71b6161e0c /mesalib/src/glsl/lower_clip_distance.cpp
parent4042ec939a2cdc8473479c900871c4c8c0b4e818 (diff)
downloadvcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.tar.gz
vcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.tar.bz2
vcxsrv-c043f97a8572e1f509251288d8bcd70d0fb96770.zip
fontconfig mesa xserver git update 29 Nov 2013
xserver commit d695cb7fb6bb8fd159a332d902673edbbd2237d7 fontconfig commit a5fd7912ff8c7bc72d2cdbd0038c7ff0c968831f mesa commit fb5f5b81883f360dcbbf407a0f6f5606bc0c0495
Diffstat (limited to 'mesalib/src/glsl/lower_clip_distance.cpp')
-rw-r--r--mesalib/src/glsl/lower_clip_distance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/glsl/lower_clip_distance.cpp b/mesalib/src/glsl/lower_clip_distance.cpp
index 682c8fdcd..04fa6d410 100644
--- a/mesalib/src/glsl/lower_clip_distance.cpp
+++ b/mesalib/src/glsl/lower_clip_distance.cpp
@@ -381,6 +381,11 @@ lower_clip_distance_visitor::fix_lhs(ir_assignment *ir)
ir_visitor_status
lower_clip_distance_visitor::visit_leave(ir_assignment *ir)
{
+ /* First invoke the base class visitor. This causes handle_rvalue() to be
+ * called on ir->rhs and ir->condition.
+ */
+ ir_rvalue_visitor::visit_leave(ir);
+
if (this->is_clip_distance_vec8(ir->lhs) ||
this->is_clip_distance_vec8(ir->rhs)) {
/* LHS or RHS of the assignment is the entire 1D gl_ClipDistance array