nir/deref: Expose nir_opt_deref_impl
Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:

committed by
Jason Ekstrand

parent
de8d80f9cc
commit
f25ca337b4
@@ -3325,6 +3325,7 @@ bool nir_opt_dead_cf(nir_shader *shader);
|
|||||||
|
|
||||||
bool nir_opt_dead_write_vars(nir_shader *shader);
|
bool nir_opt_dead_write_vars(nir_shader *shader);
|
||||||
|
|
||||||
|
bool nir_opt_deref_impl(nir_function_impl *impl);
|
||||||
bool nir_opt_deref(nir_shader *shader);
|
bool nir_opt_deref(nir_shader *shader);
|
||||||
|
|
||||||
bool nir_opt_find_array_copies(nir_shader *shader);
|
bool nir_opt_find_array_copies(nir_shader *shader);
|
||||||
|
@@ -708,7 +708,7 @@ opt_deref_ptr_as_array(nir_builder *b, nir_deref_instr *deref)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
bool
|
||||||
nir_opt_deref_impl(nir_function_impl *impl)
|
nir_opt_deref_impl(nir_function_impl *impl)
|
||||||
{
|
{
|
||||||
bool progress = false;
|
bool progress = false;
|
||||||
|
Reference in New Issue
Block a user