From 0bdbffd12f316dfb2c1c2306dc39efe07b0ac5e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 7 Apr 2024 15:15:24 +0200 Subject: [PATCH] Revert minor optimization that needs some more work first --- Common/GPU/Vulkan/VulkanQueueRunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/GPU/Vulkan/VulkanQueueRunner.cpp b/Common/GPU/Vulkan/VulkanQueueRunner.cpp index a0164c03ad..085ab52e88 100644 --- a/Common/GPU/Vulkan/VulkanQueueRunner.cpp +++ b/Common/GPU/Vulkan/VulkanQueueRunner.cpp @@ -1443,7 +1443,7 @@ VKRRenderPass *VulkanQueueRunner::PerformBindFramebufferAsRenderTarget(const VKR } TransitionColorToOptimal(cmd, fb->color.image, fb->color.layout, fb->numLayers, &recordBarrier_); - if (fb->depth.image && RenderPassTypeHasDepth(step.render.renderPassType)) { + if (fb->depth.image) { // } && RenderPassTypeHasDepth(step.render.renderPassType)) { TransitionDepthToOptimal(cmd, fb->depth.image, fb->depth.layout, fb->numLayers, &recordBarrier_); }