mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-07 03:40:27 +01:00
brw: Remove outdated comment about remove_dead_variables
This now also removes dead variables created by split_array_vars, and in the future it is reasonable other optimizations inside the optimization loop to make temp variables dead. Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39596>
This commit is contained in:
parent
d404f5934d
commit
cc06e1ebe2
1 changed files with 0 additions and 3 deletions
|
|
@ -1506,9 +1506,6 @@ brw_nir_optimize(brw_pass_tracker *pt)
|
|||
LOOP_OPT(nir_lower_pack);
|
||||
} while (pt->progress);
|
||||
|
||||
/* Workaround Gfxbench unused local sampler variable which will trigger an
|
||||
* assert in the opt_large_constants pass.
|
||||
*/
|
||||
OPT(nir_remove_dead_variables, nir_var_function_temp, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue