| 463 | } |
| 464 | |
| 465 | void FramePass::addInputColourTarget( Attachment const & attachment ) |
| 466 | { |
| 467 | auto attachName = fpass::adjustName( *this, attachment.view().data->name ) + "/IRcl"; |
| 468 | auto result = addOwnAttach( attachment.imageAttach.views |
| 469 | , std::move( attachName ) |
| 470 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 471 | , ImageAttachment::FlagKind( ImageAttachment::Flag::None ) |
| 472 | , AttachmentLoadOp::eLoad, AttachmentStoreOp::eDontCare |
| 473 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 474 | , ClearValue{ ClearColorValue{} } |
| 475 | , PipelineColorBlendAttachmentState{} |
| 476 | , ImageLayout::eColorAttachment |
| 477 | , &attachment ); |
| 478 | m_targets.emplace_back( result ); |
| 479 | } |
| 480 | |
| 481 | void FramePass::addInputDepthTarget( Attachment const & attachment ) |
| 482 | { |