| 562 | } |
| 563 | |
| 564 | Attachment const * FramePass::addInOutStencilTarget( Attachment const & attachment ) |
| 565 | { |
| 566 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IORst"; |
| 567 | auto result = addOwnAttach( attachment.imageAttach.views |
| 568 | , std::move( attachName ) |
| 569 | , Attachment::FlagKind( Attachment::Flag::InOut ) |
| 570 | , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInOut ) | ImageAttachment::FlagKind( ImageAttachment::Flag::Stencil ) |
| 571 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 572 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eStore |
| 573 | , ClearValue{ ClearDepthStencilValue{} } |
| 574 | , PipelineColorBlendAttachmentState{} |
| 575 | , ImageLayout::eDepthStencilAttachment |
| 576 | , &attachment ); |
| 577 | m_targets.emplace_back( result ); |
| 578 | return result; |
| 579 | } |
| 580 | |
| 581 | Attachment const * FramePass::addInOutDepthStencilTarget( Attachment const & attachment ) |
| 582 | { |