mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 22:20:27 +01:00
glsl: fix matrix type check in ir_algebraic
Fixes glsl-mat-mul-1.
(cherry picked from commit 4ce084c707)
This commit is contained in:
parent
d9d4f22e65
commit
bb2cd98e51
1 changed files with 2 additions and 2 deletions
|
|
@ -187,8 +187,8 @@ ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index,
|
|||
|
||||
/* Don't want to even think about matrices. */
|
||||
if (ir1->operands[0]->type->is_matrix() ||
|
||||
ir1->operands[0]->type->is_matrix() ||
|
||||
ir2->operands[1]->type->is_matrix() ||
|
||||
ir1->operands[1]->type->is_matrix() ||
|
||||
ir2->operands[0]->type->is_matrix() ||
|
||||
ir2->operands[1]->type->is_matrix())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue