Fix initial layout

This commit is contained in:
hodasemi 2023-01-21 22:51:18 +01:00
parent 52b2d5a06a
commit fd351960a7

View file

@ -334,7 +334,7 @@ impl<'a> SubPassBuilder<'a> {
VK_ATTACHMENT_STORE_OP_STORE, VK_ATTACHMENT_STORE_OP_STORE,
VK_ATTACHMENT_LOAD_OP_DONT_CARE, VK_ATTACHMENT_LOAD_OP_DONT_CARE,
VK_ATTACHMENT_STORE_OP_DONT_CARE, VK_ATTACHMENT_STORE_OP_DONT_CARE,
VK_IMAGE_LAYOUT_UNDEFINED, prepared_targets[0].image_layout(),
prepared_targets[0].image_layout(), prepared_targets[0].image_layout(),
), ),
usage: AttachmentInfoUsage::Resolve, usage: AttachmentInfoUsage::Resolve,