mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
i965/fs: Move a block out of a loop in live variables setup.
This was accidentally copy-and-pasted inside. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
cd5cd85a43
commit
40cd60a315
1 changed files with 5 additions and 4 deletions
|
|
@ -192,11 +192,12 @@ fs_visitor::calculate_live_intervals()
|
|||
|
||||
use[reg] = ip;
|
||||
}
|
||||
if (inst->dst.file == GRF) {
|
||||
int reg = inst->dst.reg;
|
||||
}
|
||||
|
||||
def[reg] = MIN2(def[reg], ip);
|
||||
}
|
||||
if (inst->dst.file == GRF) {
|
||||
int reg = inst->dst.reg;
|
||||
|
||||
def[reg] = MIN2(def[reg], ip);
|
||||
}
|
||||
|
||||
ip++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue