renderer_vulkan: Clear stencil with renderpass

* Fixes outline retension in pokemon games
This commit is contained in:
emufan4568
2022-10-10 21:42:36 +03:00
committed by GPUCode
parent 130e376c0c
commit b85d15b035

View File

@ -161,7 +161,7 @@ vk::RenderPass RenderpassCache::CreateRenderPass(vk::Format color, vk::Format de
.format = depth, .format = depth,
.loadOp = load_op, .loadOp = load_op,
.storeOp = vk::AttachmentStoreOp::eStore, .storeOp = vk::AttachmentStoreOp::eStore,
.stencilLoadOp = vk::AttachmentLoadOp::eLoad, .stencilLoadOp = load_op,
.stencilStoreOp = vk::AttachmentStoreOp::eStore, .stencilStoreOp = vk::AttachmentStoreOp::eStore,
.initialLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal, .initialLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal,
.finalLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal}; .finalLayout = vk::ImageLayout::eDepthStencilAttachmentOptimal};