mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
nir/worklist: Assume SSA
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
parent
73e82b9281
commit
d78ca1badf
1 changed files with 1 additions and 4 deletions
|
|
@ -35,10 +35,7 @@ static bool
|
|||
nir_instr_worklist_add_srcs_cb(nir_src *src, void *state)
|
||||
{
|
||||
nir_instr_worklist *wl = state;
|
||||
|
||||
if (src->is_ssa)
|
||||
nir_instr_worklist_push_tail(wl, src->ssa->parent_instr);
|
||||
|
||||
nir_instr_worklist_push_tail(wl, src->ssa->parent_instr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue