aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_vec_index_to_swizzle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_vec_index_to_swizzle.cpp')
-rw-r--r--src/glsl/ir_vec_index_to_swizzle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_vec_index_to_swizzle.cpp b/src/glsl/ir_vec_index_to_swizzle.cpp
index 1e170cbae61..b3de91f8abd 100644
--- a/src/glsl/ir_vec_index_to_swizzle.cpp
+++ b/src/glsl/ir_vec_index_to_swizzle.cpp
@@ -107,7 +107,7 @@ ir_vec_index_to_swizzle_visitor::visit_enter(ir_swizzle *ir)
ir_visitor_status
ir_vec_index_to_swizzle_visitor::visit_enter(ir_assignment *ir)
{
- ir->lhs = convert_vec_index_to_swizzle(ir->lhs);
+ ir->set_lhs(convert_vec_index_to_swizzle(ir->lhs));
ir->rhs = convert_vec_index_to_swizzle(ir->rhs);
return visit_continue;