nir/lower_phis_to_scalar: remove unused mem_ctx

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29889>
This commit is contained in:
Job Noorman
2025-02-27 13:50:59 +01:00
committed by Marge Bot
parent 9b9ed564c2
commit 66407e3d24
@@ -30,7 +30,6 @@
struct lower_phis_to_scalar_state {
nir_shader *shader;
void *mem_ctx;
struct exec_list dead_instrs;
bool lower_all;
@@ -260,7 +259,6 @@ lower_phis_to_scalar_impl(nir_function_impl *impl, bool lower_all)
bool progress = false;
state.shader = impl->function->shader;
state.mem_ctx = ralloc_parent(impl);
exec_list_make_empty(&state.dead_instrs);
state.phi_table = _mesa_pointer_hash_table_create(NULL);
state.lower_all = lower_all;