| 53 | } |
| 54 | |
| 55 | void FramePass::addInputUniformBuffer( BufferViewIdArray buffers |
| 56 | , uint32_t binding ) |
| 57 | { |
| 58 | auto attachName = fpass::adjustName( *this, buffers.front().data->name ) + "/UB"; |
| 59 | auto attach = addOwnAttach( std::move( buffers ) |
| 60 | , std::move( attachName ) |
| 61 | , Attachment::FlagKind( Attachment::Flag::Input ) |
| 62 | , BufferAttachment::FlagKind( BufferAttachment::Flag::Uniform ) |
| 63 | , AccessState{} |
| 64 | , nullptr ); |
| 65 | m_uniforms.try_emplace( binding, attach ); |
| 66 | } |
| 67 | |
| 68 | void FramePass::addInputSampledImage( ImageViewIdArray views |
| 69 | , uint32_t binding |