| 288 | } |
| 289 | |
| 290 | void FramePass::addInputTransferImage( ImageViewIdArray views ) |
| 291 | { |
| 292 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/ITrf"; |
| 293 | auto attach = addOwnAttach( std::move( views ) |
| 294 | , std::move( attachName ) |
| 295 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 296 | , ImageAttachment::FlagKind( ImageAttachment::Flag::Transfer ) |
| 297 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 298 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 299 | , ClearValue{} |
| 300 | , PipelineColorBlendAttachmentState{} |
| 301 | , ImageLayout::eTransferSrc |
| 302 | , nullptr ); |
| 303 | m_inputs.try_emplace( TransferOffset + uint32_t( m_inputs.size() ), attach ); |
| 304 | } |
| 305 | |
| 306 | void FramePass::addInputTransfer( Attachment const & attachment ) |
| 307 | { |