mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Revert minor optimization that needs some more work first
This commit is contained in:
1 parent
d52651f1d2
commit
0bdbffd12f
1 file changed
+1
-1
@@ -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_);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user