mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-18 12:30:47 +02:00
etnaviv: Fix regression from if_uses change.
Flipped the condition in the conversion.
Fixes: 7f6491b76d ("nir: Combine if_uses with instruction uses")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22430>
This commit is contained in:
parent
bd3191dbfe
commit
f8a8b7708e
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ real_dest(nir_dest *dest, unsigned *swiz, unsigned *mask)
|
|||
if (!dest || !dest->is_ssa)
|
||||
return dest;
|
||||
|
||||
bool can_bypass_src = nir_ssa_def_used_by_if(&dest->ssa);
|
||||
bool can_bypass_src = !nir_ssa_def_used_by_if(&dest->ssa);
|
||||
nir_instr *p_instr = dest->ssa.parent_instr;
|
||||
|
||||
/* if used by a vecN, the "real" destination becomes the vecN destination
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue