diff options
| author | 2023-10-21 02:25:27 -0300 | |
|---|---|---|
| committer | 2023-10-21 02:25:27 -0300 | |
| commit | b76a1d987ff83b831a19a0c19f9fcd96c504c077 (patch) | |
| tree | 4b08482cc3d34e341d7d8620182854c248f899b5 /src/video_core/fence_manager.h | |
| parent | Reverted dirty code in main. (diff) | |
| parent | Merge pull request #11748 from liamwhite/kern_1700 (diff) | |
| download | yuzu-b76a1d987ff83b831a19a0c19f9fcd96c504c077.tar.gz yuzu-b76a1d987ff83b831a19a0c19f9fcd96c504c077.tar.xz yuzu-b76a1d987ff83b831a19a0c19f9fcd96c504c077.zip | |
Merge branch 'yuzu-emu:master' into new-shortcut
Diffstat (limited to 'src/video_core/fence_manager.h')
| -rw-r--r-- | src/video_core/fence_manager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index 805a89900..c0e6471fe 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h | |||
| @@ -86,7 +86,10 @@ public: | |||
| 86 | uncommitted_operations.emplace_back(std::move(func)); | 86 | uncommitted_operations.emplace_back(std::move(func)); |
| 87 | } | 87 | } |
| 88 | pending_operations.emplace_back(std::move(uncommitted_operations)); | 88 | pending_operations.emplace_back(std::move(uncommitted_operations)); |
| 89 | QueueFence(new_fence); | 89 | { |
| 90 | std::scoped_lock lock{buffer_cache.mutex, texture_cache.mutex}; | ||
| 91 | QueueFence(new_fence); | ||
| 92 | } | ||
| 90 | if (!delay_fence) { | 93 | if (!delay_fence) { |
| 91 | func(); | 94 | func(); |
| 92 | } | 95 | } |