| 479 | } |
| 480 | |
| 481 | void FramePass::addInputDepthTarget( Attachment const & attachment ) |
| 482 | { |
| 483 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IRdp"; |
| 484 | auto attach = addOwnAttach( attachment.imageAttach.views |
| 485 | , std::move( attachName ) |
| 486 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 487 | , ImageAttachment::FlagKind( ImageAttachment::Flag::Depth ) |
| 488 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 489 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 490 | , ClearValue{ ClearDepthStencilValue{} } |
| 491 | , PipelineColorBlendAttachmentState{} |
| 492 | , ImageLayout::eDepthStencilAttachment |
| 493 | , &attachment ); |
| 494 | m_targets.emplace_back( attach ); |
| 495 | } |
| 496 | |
| 497 | void FramePass::addInputStencilTarget( Attachment const & attachment ) |
| 498 | { |