nir: Drop NIR reg create/destroy

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:
Alyssa Rosenzweig 2023-08-01 10:46:53 -04:00 committed by Marge Bot
parent 068770aaa6
commit 1bc05bb847
2 changed files with 0 additions and 11 deletions

View file

@ -238,15 +238,6 @@ reg_create(void *mem_ctx, struct exec_list *list)
return reg;
}
nir_register *
nir_local_reg_create(nir_function_impl *impl)
{
nir_register *reg = reg_create(ralloc_parent(impl), &impl->registers);
reg->index = impl->reg_alloc++;
return reg;
}
void
nir_reg_remove(nir_register *reg)
{

View file

@ -4127,8 +4127,6 @@ nir_shader *nir_shader_create(void *mem_ctx,
const nir_shader_compiler_options *options,
shader_info *si);
nir_register *nir_local_reg_create(nir_function_impl *impl);
void nir_reg_remove(nir_register *reg);
/** Adds a variable to the appropriate list in nir_shader */