Turn off annoying "debug flicker" I used to see if we were swapping buffers properly early on

Also minor logging changes, refine the false-positive debug layer check
This commit is contained in:
Henrik Rydgard committed 2016-03-20 19:31:02 +01:00
1 parent 79fd828d16
commit 575cc890b7
3 files changed
+12 -5

No files matched your search

+4 -2
View File
@@ -680,8 +680,10 @@ void Thin3DVKContext::Begin(bool clear, uint32_t colorval, float depthVal, int s
VkClearValue clearVal[2] = {};
Uint8x4ToFloat4(colorval, clearVal[0].color.float32);
if (frameNum_ & 1)
clearVal[0].color.float32[2] = 1.0f;
// // Debug flicker - used to see if we swap at all. no longer necessary
// if (frameNum_ & 1)
// clearVal[0].color.float32[2] = 1.0f;
clearVal[1].depthStencil.depth = depthVal;
clearVal[1].depthStencil.stencil = stencilVal;