| 843 | } |
| 844 | |
| 845 | void 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 | |
| 862 | uint64_t Tr2DlssPlugin::GetEstimatedVRAMUsageInBytes() |
| 863 | { |
nothing calls this directly
no test coverage detected