mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 11:30:29 +01:00
microsoft/clc: preserve only valid metadata in clc_lower_printf_base
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12324>
This commit is contained in:
parent
4d81226102
commit
70723f278f
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ clc_lower_printf_base(nir_shader *nir, unsigned uav_id)
|
|||
printf_deref = &deref->dest.ssa;
|
||||
}
|
||||
nir_ssa_def_rewrite_uses(&intrin->dest.ssa, printf_deref);
|
||||
progress = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue