D3D11: Add support for viewing the depth and stencil buffers in the GE debugger

This commit is contained in:
Henrik Rydgard committed 2017-02-23 16:27:26 +01:00
1 parent acde17e3ce
commit 79bd01efb8
5 files changed
+89 -6

No files matched your search

+4
View File
@@ -1366,6 +1366,10 @@ bool FramebufferManagerGLES::GetDepthbuffer(u32 fb_address, int fb_stride, u32 z
return true;
}
if (!vfb->fbo) {
return false;
}
if (gstate_c.Supports(GPU_SCALE_DEPTH_FROM_24BIT_TO_16BIT)) {
buffer.Allocate(vfb->renderWidth, vfb->renderHeight, GPU_DBG_FORMAT_FLOAT_DIV_256, !useBufferedRendering_);
} else {