Suppressing debug text rendering until debug font texture has been streamed to the GPU. Fixes Vulkan validation errors on MacOS.
Fix Vulkan validation error on macOS when clearing with the black frame pass render pass during initialization.
This commit is contained in:
@@ -236,7 +236,7 @@ KrResult KRSurface::createSwapChain()
|
||||
|
||||
info.clearColor = true;
|
||||
info.keepColor = true;
|
||||
info.clearDepth = false;
|
||||
info.clearDepth = true;
|
||||
info.keepDepth = false;
|
||||
info.finalPass = true;
|
||||
m_blackFramePass->create(*device, selectedSurfaceFormat.format, depthImageFormat, info);
|
||||
|
||||
Reference in New Issue
Block a user