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

Method addImplicit

source/RenderGraph/FramePass.cpp:670–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 }
669
670 void FramePass::addImplicit( Attachment const & attachment
671 , AccessState wantedAccess )
672 {
673 auto attachName = fpass::adjustName( *this, attachment.buffer().data->name ) + "/Impl";
674 auto attach = addOwnAttach( attachment.bufferAttach.buffers
675 , std::move( attachName )
676 , Attachment::FlagKind( Attachment::Flag::Input )
677 , BufferAttachment::FlagKind( BufferAttachment::FlagKind( BufferAttachment::Flag::Transition ) | attachment.bufferAttach.getFormatFlags() )
678 , std::move( wantedAccess )
679 , &attachment );
680 m_inputs.try_emplace( ImplicitOffset + uint32_t( m_inputs.size() ), attach );
681 }
682
683 void FramePass::addImplicit( Attachment const & attachment
684 , ImageLayout wantedLayout )

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls 5

adjustNameFunction · 0.85
bufferMethod · 0.80
sizeMethod · 0.80
viewMethod · 0.80
getFormatFlagsMethod · 0.45

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64