| 128 | } |
| 129 | |
| 130 | void FramePass::addInputStorageImage( ImageViewIdArray views |
| 131 | , uint32_t binding ) |
| 132 | { |
| 133 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/IStr"; |
| 134 | auto attach = addOwnAttach( std::move( views ) |
| 135 | , std::move( attachName ) |
| 136 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 137 | , ImageAttachment::FlagKind( ImageAttachment::Flag::Storage ) |
| 138 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 139 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 140 | , ClearValue{} |
| 141 | , PipelineColorBlendAttachmentState{} |
| 142 | , ImageLayout::eGeneral |
| 143 | , nullptr ); |
| 144 | m_inputs.try_emplace( binding, attach ); |
| 145 | } |
| 146 | |
| 147 | void FramePass::addInputStorage( Attachment const & attachment |
| 148 | , uint32_t binding ) |