Add GPU stat for number of depth copies per frame
Will be useful for evaluating #15700
This commit is contained in:
parent
b02fa4ec00
commit
89845eae7a
3 changed files with 6 additions and 1 deletions
|
@ -494,6 +494,8 @@ void FramebufferManagerCommon::BlitFramebufferDepth(VirtualFramebuffer *src, Vir
|
|||
return;
|
||||
}
|
||||
|
||||
gpuStats.numDepthCopies++;
|
||||
|
||||
int w = std::min(src->renderWidth, dst->renderWidth);
|
||||
int h = std::min(src->renderHeight, dst->renderHeight);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue