| 431 | } |
| 432 | |
| 433 | void FramePass::addInputStencilTargetImage( ImageViewIdArray views ) |
| 434 | { |
| 435 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IRst"; |
| 436 | auto result = addOwnAttach( std::move( views ) |
| 437 | , std::move( attachName ) |
| 438 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 439 | , ImageAttachment::FlagKind( ImageAttachment::Flag::StencilInput ) | ImageAttachment::FlagKind( ImageAttachment::Flag::Stencil ) |
| 440 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 441 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 442 | , ClearValue{ ClearDepthStencilValue{} } |
| 443 | , PipelineColorBlendAttachmentState{} |
| 444 | , ImageLayout::eDepthStencilAttachment |
| 445 | , nullptr ); |
| 446 | m_targets.emplace_back( result ); |
| 447 | } |
| 448 | |
| 449 | void FramePass::addInputDepthStencilTargetImage( ImageViewIdArray views ) |
| 450 | { |