summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-11 16:28:30 +0100
committerGitHub <noreply@github.com>2023-02-11 16:28:30 +0100
commit1040f1f5038832f12d71d6b80924d81b6c4d607c (patch)
tree40eace73fde2c2d6104a16e437eff79f624ef387 /src/video_core/gpu_thread.cpp
parentMerge pull request #9742 from liamwhite/svc-wrap-only (diff)
parentRemove OnCommandListEndCommand (diff)
downloadyuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.gz
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.bz2
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.lz
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.xz
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.tar.zst
yuzu-1040f1f5038832f12d71d6b80924d81b6c4d607c.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu_thread.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 164a5252a..9c103c0d4 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -40,8 +40,6 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
scheduler.Push(submit_list->channel, std::move(submit_list->entries));
} else if (const auto* data = std::get_if<SwapBuffersCommand>(&next.data)) {
renderer.SwapBuffers(data->framebuffer ? &*data->framebuffer : nullptr);
- } else if (std::holds_alternative<OnCommandListEndCommand>(next.data)) {
- rasterizer->ReleaseFences();
} else if (std::holds_alternative<GPUTickCommand>(next.data)) {
system.GPU().TickWork();
} else if (const auto* flush = std::get_if<FlushRegionCommand>(&next.data)) {
@@ -110,10 +108,6 @@ void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
rasterizer->OnCPUWrite(addr, size);
}
-void ThreadManager::OnCommandListEnd() {
- PushCommand(OnCommandListEndCommand());
-}
-
u64 ThreadManager::PushCommand(CommandData&& command_data, bool block) {
if (!is_async) {
// In synchronous GPU mode, block the caller until the command has executed