MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / addInputStorageImage

Method addInputStorageImage

source/RenderGraph/FramePass.cpp:130–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 )

Callers 1

TESTFunction · 0.80

Calls 1

adjustNameFunction · 0.85

Tested by 1

TESTFunction · 0.64