mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 10:30:08 +01:00
glsl: Don't visit rvalues in the condition of an assignment
At this point, this should always be NULL. Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14573>
This commit is contained in:
parent
1c22f06970
commit
5208c116f2
1 changed files with 0 additions and 2 deletions
|
|
@ -118,8 +118,6 @@ ir_visitor_status
|
|||
ir_rvalue_base_visitor::rvalue_visit(ir_assignment *ir)
|
||||
{
|
||||
handle_rvalue(&ir->rhs);
|
||||
handle_rvalue(&ir->condition);
|
||||
|
||||
return visit_continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue