| 115 | } |
| 116 | |
| 117 | void FramePass::addInputStorageBuffer( BufferViewIdArray buffers |
| 118 | , uint32_t binding ) |
| 119 | { |
| 120 | auto attachName = fpass::adjustName( *this, buffers.front().data->name ) + "/SB"; |
| 121 | auto attach = addOwnAttach( std::move( buffers ) |
| 122 | , std::move( attachName ) |
| 123 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 124 | , BufferAttachment::FlagKind( BufferAttachment::Flag::Storage ) |
| 125 | , AccessState{} |
| 126 | , nullptr ); |
| 127 | m_inputs.try_emplace( binding, attach ); |
| 128 | } |
| 129 | |
| 130 | void FramePass::addInputStorageImage( ImageViewIdArray views |
| 131 | , uint32_t binding ) |