mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Vulkan: Fix depth transition barrier.
This commit is contained in:
parent
1dead5f095
commit
6c08a7a121
@ -1130,7 +1130,7 @@ void VulkanQueueRunner::PerformRenderPass(const VKRStep &step, VkCommandBuffer c
|
||||
}
|
||||
if (step.render.framebuffer->depth.layout == VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL) {
|
||||
recordBarrier_.TransitionImage(
|
||||
step.render.framebuffer->color.image,
|
||||
step.render.framebuffer->depth.image,
|
||||
0,
|
||||
1,
|
||||
VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT,
|
||||
|
Loading…
Reference in New Issue
Block a user