mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Load stencil state from stencil attachment correctly
This commit is contained in:
@@ -64,7 +64,7 @@ void VulkanRenderState::BeginRenderPassAndApplyState(WrappedVulkan *vk, VkComman
|
||||
info.pDepthAttachment = &depth;
|
||||
if(depth.imageLayout == VK_IMAGE_LAYOUT_UNDEFINED)
|
||||
info.pDepthAttachment = NULL;
|
||||
VkRenderingAttachmentInfo stencil = dynamicRendering.depth;
|
||||
VkRenderingAttachmentInfo stencil = dynamicRendering.stencil;
|
||||
info.pStencilAttachment = &stencil;
|
||||
if(stencil.imageLayout == VK_IMAGE_LAYOUT_UNDEFINED)
|
||||
info.pStencilAttachment = NULL;
|
||||
|
||||
Reference in New Issue
Block a user