MCPcopy Create free account
hub / github.com/carbonengine/trinity / Dispatch

Method Dispatch

trinityal/dx11/Tr2StreamlineALDx11.cpp:845–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845void Tr2DlssPlugin::Dispatch( Tr2RenderContextAL& renderContext )
846{
847 const sl::BaseStructure* inputs[] = { &m_view };
848 auto cb = StreamlineUtils::GetCommandBuffer( renderContext );
849
850 DECLARE_STATIC_SL_FUNC( slEvaluateFeature );
851
852 if( m_framegeneration )
853 {
854 UpdateState();
855 }
856 if( SL_FAILED( result, s_slEvaluateFeature( sl::kFeatureDLSS, *Tr2Streamline::s_frameToken, inputs, _countof( inputs ), cb ) ) )
857 {
858 CCP_LOGERR( "DLSS Failed to Dispatch (%d)", result );
859 }
860}
861
862uint64_t Tr2DlssPlugin::GetEstimatedVRAMUsageInBytes()
863{

Callers

nothing calls this directly

Calls 1

GetCommandBufferFunction · 0.70

Tested by

no test coverage detected