summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-06-16 01:39:22 +0200
committerGitHub <noreply@github.com>2022-06-16 01:39:22 +0200
commit0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1 (patch)
tree94d07f494151a5701f48e147c75b9e4673d5b918 /src/video_core
parentMerge pull request #8317 from german77/notifa (diff)
parentbounded_threadsafe_queue: Use constexpr capacity and mask (diff)
downloadyuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar.gz
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar.bz2
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar.lz
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar.xz
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.tar.zst
yuzu-0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu_thread.h2
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;