summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-03-19 19:24:18 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-03-22 00:20:21 +0100
commit407dc917f170cc9d08f3f1f9bdeb9e44ddebc653 (patch)
tree6275a084c767fd96e4d9ccbedc117d3fb43b7e68 /src/video_core
parentbounded_threadsafe_queue: Add TryPush (diff)
downloadyuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar.gz
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar.bz2
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar.lz
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar.xz
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.tar.zst
yuzu-407dc917f170cc9d08f3f1f9bdeb9e44ddebc653.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 469a59cf9..3c5317777 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -118,7 +118,7 @@ u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) {
std::unique_lock lk(state.write_lock);
const u64 fence{++state.last_fence};
- state.queue.Push(std::move(command_data), fence, block);
+ state.queue.EmplaceWait(std::move(command_data), fence, block);
if (block) {
Common::CondvarWait(state.cv, lk, thread.get_stop_token(), [this, fence] {