summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-09 20:52:18 +0200
committerGitHub <noreply@github.com>2021-04-09 20:52:18 +0200
commitd6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac (patch)
tree71dafa020afef119e3d3b57e22ca14f4ba42d9d8 /src/video_core/gpu.h
parentMerge pull request #6164 from Morph1984/service-update-12.x (diff)
parentvideo_core: Use a CV for blocking commands. (diff)
downloadyuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.gz
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.bz2
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.lz
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.xz
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.zst
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.zip
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index b2ee45496..ecab35d3b 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -219,8 +219,8 @@ public:
return *shader_notify;
}
- // Waits for the GPU to finish working
- void WaitIdle() const;
+ // Stops the GPU execution and waits for the GPU to finish working
+ void ShutDown();
/// Allows the CPU/NvFlinger to wait on the GPU before presenting a frame.
void WaitFence(u32 syncpoint_id, u32 value);