mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
brw: Remove extra iteration on instructions from brw_opt_address_reg_load
The helper function already iterate instructions.
Fixes: 8ac7802ac8 ("brw: move final send lowering up into the IR")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36478>
This commit is contained in:
parent
56f88cd360
commit
f222b16f92
1 changed files with 1 additions and 3 deletions
|
|
@ -59,9 +59,7 @@ brw_opt_address_reg_load(brw_shader &s)
|
|||
const brw_def_analysis &defs = s.def_analysis.require();
|
||||
|
||||
foreach_block(block, s.cfg) {
|
||||
foreach_inst_in_block_safe(brw_inst, inst, block) {
|
||||
progress = opt_address_reg_load_local(s, block, defs) || progress;
|
||||
}
|
||||
progress = opt_address_reg_load_local(s, block, defs) || progress;
|
||||
}
|
||||
|
||||
if (progress) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue