mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-04 21:13:09 +00:00
Patch up renderpass initial/final layout if PRESENT_SRC. Refs #209
This commit is contained in:
1 parent
8832d43215
commit
4beb59aef9
1 file changed
+4
@@ -546,6 +546,10 @@ bool WrappedVulkan::Serialise_vkCreateRenderPass(
|
||||
{
|
||||
att[i].storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
att[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
|
||||
// renderpass can't start or end in presentable layout on replay
|
||||
ReplacePresentableImageLayout(att[i].initialLayout);
|
||||
ReplacePresentableImageLayout(att[i].finalLayout);
|
||||
}
|
||||
|
||||
VkResult ret = ObjDisp(device)->CreateRenderPass(Unwrap(device), &info, NULL, &rp);
|
||||
|
||||
Reference in new issue
Block a user