mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
glsl: Don't lower vector indexing 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
2652b9a83d
commit
1c22f06970
1 changed files with 0 additions and 3 deletions
|
|
@ -232,9 +232,6 @@ ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir)
|
|||
{
|
||||
ir->rhs = convert_vector_extract_to_cond_assign(ir->rhs);
|
||||
|
||||
if (ir->condition)
|
||||
ir->condition = convert_vector_extract_to_cond_assign(ir->condition);
|
||||
|
||||
return visit_continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue