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>
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);
}