| 495 | } |
| 496 | |
| 497 | void FramePass::addInputStencilTarget( Attachment const & attachment ) |
| 498 | { |
| 499 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IRst"; |
| 500 | auto attach = addOwnAttach( attachment.imageAttach.views |
| 501 | , std::move( attachName ) |
| 502 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 503 | , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInput ) | ImageAttachment::FlagKind( ImageAttachment::Flag::Stencil ) |
| 504 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 505 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 506 | , ClearValue{ ClearDepthStencilValue{} } |
| 507 | , PipelineColorBlendAttachmentState{} |
| 508 | , ImageLayout::eDepthStencilAttachment |
| 509 | , &attachment ); |
| 510 | m_targets.emplace_back( attach ); |
| 511 | } |
| 512 | |
| 513 | void FramePass::addInputDepthStencilTarget( Attachment const & attachment ) |
| 514 | { |