mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
intel/brw: Call constant combining after copy propagation/algebraic
This copy propagation can create MADs with immediates in src1, which need to be cleaned up by constant combining (which puts them back in VGRFs). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27876>
This commit is contained in:
parent
e8ef184677
commit
bb191e3af5
1 changed files with 3 additions and 1 deletions
|
|
@ -146,8 +146,10 @@ brw_fs_optimize(fs_visitor &s)
|
|||
OPT(brw_fs_lower_derivatives);
|
||||
OPT(brw_fs_lower_regioning);
|
||||
if (progress) {
|
||||
if (OPT(brw_fs_opt_copy_propagation))
|
||||
if (OPT(brw_fs_opt_copy_propagation)) {
|
||||
OPT(brw_fs_opt_algebraic);
|
||||
OPT(brw_fs_opt_combine_constants);
|
||||
}
|
||||
OPT(brw_fs_opt_dead_code_eliminate);
|
||||
OPT(brw_fs_lower_simd_width);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue