Fix initial layout
This commit is contained in:
parent
52b2d5a06a
commit
fd351960a7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue