| 447 | } |
| 448 | |
| 449 | void FramePass::addInputDepthStencilTargetImage( ImageViewIdArray views ) |
| 450 | { |
| 451 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRds"; |
| 452 | auto result = addOwnAttach( std::move( views ) |
| 453 | , std::move( attachName ) |
| 454 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 455 | , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInput ) | ImageAttachment::FlagKind( ImageAttachment::Flag::DepthStencil ) |
| 456 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 457 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 458 | , ClearValue{ ClearDepthStencilValue{} } |
| 459 | , PipelineColorBlendAttachmentState{} |
| 460 | , ImageLayout::eDepthStencilAttachment |
| 461 | , nullptr ); |
| 462 | m_targets.emplace_back( result ); |
| 463 | } |
| 464 | |
| 465 | void FramePass::addInputColourTarget( Attachment const & attachment ) |
| 466 | { |