diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-06-15 19:39:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 19:39:22 -0400 |
commit | 0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1 (patch) | |
tree | 94d07f494151a5701f48e147c75b9e4673d5b918 /src/video_core | |
parent | 5ace5c1b7a6ce80f3c1186ca72c7ea6d8b18900e (diff) | |
parent | 25429998e373c12287ae8da2a1c9c1bbe7bd7047 (diff) |
Merge pull request #8460 from Morph1984/bounded-q
bounded_threadsafe_queue: Use constexpr capacity and mask
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/gpu_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index ad9fd5eff..be0ac2214 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -98,7 +98,7 @@ struct CommandDataContainer { struct SynchState final { using CommandQueue = Common::MPSCQueue<CommandDataContainer>; std::mutex write_lock; - CommandQueue queue{512}; // size must be 2^n + CommandQueue queue; u64 last_fence{}; std::atomic<u64> signaled_fence{}; std::condition_variable_any cv; |