Skip to content

Commit

Permalink
Add a couple of TODOs for the future (not appropriate for current rel…
Browse files Browse the repository at this point in the history
…ease process)
  • Loading branch information
hrydgard committed May 3, 2023
1 parent 03bf19c commit 214d1d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/GPUCommonHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ void GPUCommonHW::FastRunLoop(DisplayList &list) {
if (info.flags & FLAG_EXECUTE) {
downcount = dc;
(this->*info.func)(op, diff);
// TODO: Check pc here, and break if invalid, as the func can change it. Might an have a performance impact though.
dc = downcount;
}
} else {
Expand All @@ -819,6 +820,7 @@ void GPUCommonHW::FastRunLoop(DisplayList &list) {
if (flags & (FLAG_EXECUTE | FLAG_EXECUTEONCHANGE)) {
downcount = dc;
(this->*info.func)(op, diff);
// TODO: Check pc here, and break if invalid, as the func can change it. Might have a performance impact though.
dc = downcount;
} else {
uint64_t dirty = flags >> 8;
Expand Down

0 comments on commit 214d1d2

Please sign in to comment.