glsl: Don't split arrays in the condition of an assignment
At this point, this should always be NULL. v2: Fix bad rebase. Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14573>
This commit is contained in:
@@ -435,11 +435,6 @@ ir_array_splitting_visitor::visit_leave(ir_assignment *ir)
|
||||
handle_rvalue(&ir->rhs);
|
||||
ir->rhs->accept(this);
|
||||
|
||||
if (ir->condition) {
|
||||
handle_rvalue(&ir->condition);
|
||||
ir->condition->accept(this);
|
||||
}
|
||||
|
||||
return visit_continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user