mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
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:
parent
068770aaa6
commit
1bc05bb847
2 changed files with 0 additions and 11 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue