mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
nir: Unexpose _impl versions of copy_prop and dce
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4bc16ad217
commit
531be601d5
3 changed files with 2 additions and 4 deletions
|
|
@ -2004,12 +2004,10 @@ bool nir_opt_constant_folding(nir_shader *shader);
|
|||
|
||||
bool nir_opt_global_to_local(nir_shader *shader);
|
||||
|
||||
bool nir_copy_prop_impl(nir_function_impl *impl);
|
||||
bool nir_copy_prop(nir_shader *shader);
|
||||
|
||||
bool nir_opt_cse(nir_shader *shader);
|
||||
|
||||
bool nir_opt_dce_impl(nir_function_impl *impl);
|
||||
bool nir_opt_dce(nir_shader *shader);
|
||||
|
||||
bool nir_opt_dead_cf(nir_shader *shader);
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ copy_prop_block(nir_block *block, void *_state)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
nir_copy_prop_impl(nir_function_impl *impl)
|
||||
{
|
||||
bool progress = false;
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ delete_block_cb(nir_block *block, void *_state)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
nir_opt_dce_impl(nir_function_impl *impl)
|
||||
{
|
||||
struct exec_list *worklist = ralloc(NULL, struct exec_list);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue