| 545 | } |
| 546 | |
| 547 | Attachment const * FramePass::addInOutDepthTarget( Attachment const & attachment ) |
| 548 | { |
| 549 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IORdp"; |
| 550 | auto result = addOwnAttach( attachment.imageAttach.views |
| 551 | , std::move( attachName ) |
| 552 | , Attachment::FlagKind( Attachment::Flag::InOut ) |
| 553 | , ImageAttachment::FlagKind( ImageAttachment::Flag::Depth ) |
| 554 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eStore |
| 555 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 556 | , ClearValue{ ClearDepthStencilValue{} } |
| 557 | , PipelineColorBlendAttachmentState{} |
| 558 | , ImageLayout::eDepthStencilAttachment |
| 559 | , &attachment ); |
| 560 | m_targets.emplace_back( result ); |
| 561 | return result; |
| 562 | } |
| 563 | |
| 564 | Attachment const * FramePass::addInOutStencilTarget( Attachment const & attachment ) |
| 565 | { |