diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2020-12-28 01:02:06 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-01-07 14:33:45 -0500 |
| commit | 762de858e66a8ca99a65bea397b7bc063e58a934 (patch) | |
| tree | e72b7d973f5c0dd4a553f815a632bf8fcc687998 /src/video_core/command_classes/sync_manager.cpp | |
| parent | e1a0098d86ac19c7d0750807510ecc6bcd861371 (diff) | |
nvdec syncpt incorporation
laying the groundwork for async gpu, although this does not fully implement async nvdec operations
Diffstat (limited to 'src/video_core/command_classes/sync_manager.cpp')
| -rw-r--r-- | src/video_core/command_classes/sync_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/sync_manager.cpp b/src/video_core/command_classes/sync_manager.cpp index 19dc9e0abb..5798577663 100644 --- a/src/video_core/command_classes/sync_manager.cpp +++ b/src/video_core/command_classes/sync_manager.cpp @@ -38,7 +38,7 @@ u32 SyncptIncrManager::IncrementWhenDone(u32 class_id, u32 id) { } void SyncptIncrManager::SignalDone(u32 handle) { - const auto done_incr = + const auto& done_incr = std::find_if(increments.begin(), increments.end(), [handle](const SyncptIncr& incr) { return incr.id == handle; }); if (done_incr != increments.cend()) { |
