mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #10785 from unknownbrackets/skipdraw
GPU: Count clears during frameskip
This commit is contained in:
commit
84203e8d3d
1 changed files with 3 additions and 0 deletions
|
@ -1466,6 +1466,9 @@ void GPUCommon::Execute_Prim(u32 op, u32 diff) {
|
|||
if (gstate_c.skipDrawReason & (SKIPDRAW_SKIPFRAME | SKIPDRAW_NON_DISPLAYED_FB)) {
|
||||
// Rough estimate, not sure what's correct.
|
||||
cyclesExecuted += EstimatePerVertexCost() * count;
|
||||
if (gstate.isModeClear()) {
|
||||
gpuStats.numClears++;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue