mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nir: Remove no-op remove_def_cb
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
b2ddbecaad
commit
92e59b5af5
1 changed files with 0 additions and 9 deletions
|
|
@ -1133,18 +1133,9 @@ remove_use_cb(nir_src *src, void *state)
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
remove_def_cb(nir_dest *dest, void *state)
|
||||
{
|
||||
(void) state;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static void
|
||||
remove_defs_uses(nir_instr *instr)
|
||||
{
|
||||
nir_foreach_dest(instr, remove_def_cb, instr);
|
||||
nir_foreach_src(instr, remove_use_cb, instr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue