mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
nir: expose nir_opt_dce_impl
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41047>
This commit is contained in:
parent
55509ac096
commit
bbeb6be6eb
2 changed files with 2 additions and 1 deletions
|
|
@ -6698,6 +6698,7 @@ bool nir_opt_copy_prop_vars(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);
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ dce_cf_list(struct exec_list *cf_list, BITSET_WORD *defs_live,
|
|||
return progress;
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
nir_opt_dce_impl(nir_function_impl *impl)
|
||||
{
|
||||
assert(impl->structured);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue