vulkan: fix RenderingAttachmentInfo layout
This commit is contained in:
parent
1ea909e685
commit
1b46fd0ceb
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ impl VulkanRenderer {
|
||||||
let rendering_attachment_info = {
|
let rendering_attachment_info = {
|
||||||
let mut rai = RenderingAttachmentInfo::default()
|
let mut rai = RenderingAttachmentInfo::default()
|
||||||
.image_view(fb.render_view.unwrap_or(fb.texture_view))
|
.image_view(fb.render_view.unwrap_or(fb.texture_view))
|
||||||
.image_layout(ImageLayout::GENERAL)
|
.image_layout(ImageLayout::COLOR_ATTACHMENT_OPTIMAL)
|
||||||
.load_op(AttachmentLoadOp::LOAD)
|
.load_op(AttachmentLoadOp::LOAD)
|
||||||
.store_op(AttachmentStoreOp::STORE);
|
.store_op(AttachmentStoreOp::STORE);
|
||||||
if let Some(clear) = load_clear {
|
if let Some(clear) = load_clear {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue