| 511 | } |
| 512 | |
| 513 | void FramePass::addInputDepthStencilTarget( Attachment const & attachment ) |
| 514 | { |
| 515 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IRds"; |
| 516 | auto attach = addOwnAttach( attachment.imageAttach.views |
| 517 | , std::move( attachName ) |
| 518 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 519 | , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInput ) | ImageAttachment::FlagKind( ImageAttachment::Flag::DepthStencil ) |
| 520 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 521 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 522 | , ClearValue{ ClearDepthStencilValue{} } |
| 523 | , PipelineColorBlendAttachmentState{} |
| 524 | , ImageLayout::eDepthStencilAttachment |
| 525 | , &attachment ); |
| 526 | m_targets.emplace_back( attach ); |
| 527 | } |
| 528 | |
| 529 | Attachment const * FramePass::addInOutColourTarget( Attachment const & attachment |
| 530 | , PipelineColorBlendAttachmentState blendState ) |