mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
i965/fs: Rename "cont" to "progress" in dataflow algorithm.
This variable indicates that the fixed-point algorithm made changes to the data at this step, so it needs to run for another iteration. "progress" seems a nicer name for that. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
0225dea6c4
commit
7d86042dee
1 changed files with 5 additions and 5 deletions
|
|
@ -162,10 +162,10 @@ fs_copy_prop_dataflow::setup_kills()
|
|||
void
|
||||
fs_copy_prop_dataflow::run()
|
||||
{
|
||||
bool cont;
|
||||
bool progress;
|
||||
|
||||
do {
|
||||
cont = false;
|
||||
progress = false;
|
||||
|
||||
for (int b = 0; b < cfg->num_blocks; b++) {
|
||||
for (int i = 0; i < bitset_words; i++) {
|
||||
|
|
@ -174,7 +174,7 @@ fs_copy_prop_dataflow::run()
|
|||
~bd[b].liveout[i]);
|
||||
if (new_liveout) {
|
||||
bd[b].liveout[i] |= new_liveout;
|
||||
cont = true;
|
||||
progress = true;
|
||||
}
|
||||
|
||||
/* Update livein: if it's live at the end of all parents, it's
|
||||
|
|
@ -190,11 +190,11 @@ fs_copy_prop_dataflow::run()
|
|||
}
|
||||
if (new_livein) {
|
||||
bd[b].livein[i] |= new_livein;
|
||||
cont = true;
|
||||
progress = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
} while (cont);
|
||||
} while (progress);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue