mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
Revert "nir: Turn imov/fmov of undef into undef."
This reverts commit6aa730000f. This was changing the size of the undef to always be 1 (the number of inputs to imov and fmov) which is wrong, we could be moving a vec4 for example. Acked-by: Kenneth Graunke <kenneth@whitecape.org> Cc: "13.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commita5502a721f)
This commit is contained in:
parent
12618c1c90
commit
c682fdb77c
1 changed files with 1 additions and 3 deletions
|
|
@ -79,9 +79,7 @@ opt_undef_vecN(nir_builder *b, nir_alu_instr *alu)
|
|||
{
|
||||
if (alu->op != nir_op_vec2 &&
|
||||
alu->op != nir_op_vec3 &&
|
||||
alu->op != nir_op_vec4 &&
|
||||
alu->op != nir_op_fmov &&
|
||||
alu->op != nir_op_imov)
|
||||
alu->op != nir_op_vec4)
|
||||
return false;
|
||||
|
||||
assert(alu->dest.dest.is_ssa);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue