Add GPU stat for number of depth copies per frame

Will be useful for evaluating #15700
This commit is contained in:
Henrik Rydgård 2022-07-24 17:12:43 +02:00
parent b02fa4ec00
commit 89845eae7a
3 changed files with 6 additions and 1 deletions

View file

@ -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);