| 875 | } |
| 876 | |
| 877 | void Tr2DlssPlugin::Dispatch( Tr2RenderContextAL& renderContext ) |
| 878 | { |
| 879 | |
| 880 | const sl::BaseStructure* inputs[] = { &m_view }; |
| 881 | auto cb = StreamlineUtils::GetCommandBuffer( renderContext ); |
| 882 | |
| 883 | DECLARE_STATIC_SL_FUNC( slEvaluateFeature ); |
| 884 | |
| 885 | if( m_framegeneration ) |
| 886 | { |
| 887 | UpdateState(); |
| 888 | } |
| 889 | if( SL_FAILED( result, s_slEvaluateFeature( sl::kFeatureDLSS, *Tr2Streamline::s_frameToken, inputs, _countof( inputs ), cb ) ) ) |
| 890 | { |
| 891 | CCP_LOGERR( "DLSS Failed to Dispatch (%d)", result ); |
| 892 | } |
| 893 | } |
| 894 | |
| 895 | uint64_t Tr2DlssPlugin::GetEstimatedVRAMUsageInBytes() |
| 896 | { |
no test coverage detected