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

Method doRecordTargetsInto

test/Common.cpp:831–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829 }
830
831 void doRecordTargetsInto( crg::RecordContext & context
832 , VkCommandBuffer commandBuffer
833 , uint32_t index )const
834 {
835 for ( auto attach : getPass().getTargets() )
836 {
837 auto view = attach->view( index );
838 context.runImplicitTransition( commandBuffer, index, view );
839 context.setLayoutState( crg::resolveView( view, index )
840 , crg::makeLayoutState( attach->getImageLayout( context->separateDepthStencilLayouts ) ) );
841 }
842 }
843
844 test::TestCounts & m_testCounts;
845 crg::PipelineStageFlags m_pipelineStageFlags;

Callers

nothing calls this directly

Calls 5

makeLayoutStateFunction · 0.85
viewMethod · 0.80
runImplicitTransitionMethod · 0.80
getImageLayoutMethod · 0.80
setLayoutStateMethod · 0.45

Tested by

no test coverage detected