renderer_vulkan: Clear stencil with renderpass
* Fixes outline retension in pokemon games
This commit is contained in:
@ -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};
|
||||||
|
Reference in New Issue
Block a user