| 415 | } |
| 416 | |
| 417 | void FramePass::addInputDepthTargetImage( ImageViewIdArray views ) |
| 418 | { |
| 419 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRdp"; |
| 420 | auto result = addOwnAttach( std::move( views ) |
| 421 | , std::move( attachName ) |
| 422 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 423 | , ImageAttachment::FlagKind( ImageAttachment::Flag::Depth ) |
| 424 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 425 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 426 | , ClearValue{ ClearDepthStencilValue{} } |
| 427 | , PipelineColorBlendAttachmentState{} |
| 428 | , ImageLayout::eDepthStencilAttachment |
| 429 | , nullptr ); |
| 430 | m_targets.emplace_back( result ); |
| 431 | } |
| 432 | |
| 433 | void FramePass::addInputStencilTargetImage( ImageViewIdArray views ) |
| 434 | { |