summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-04-09 11:52:18 -0700
committerGravatar GitHub2021-04-09 11:52:18 -0700
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.gz
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.tar.xz
yuzu-d6e5e053a6c4fe8538d4b97b8f5a1eba61e2fcac.zip
Merge pull request #6162 from degasus/no_spin_loops
video_core: Avoid spin loops.
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:
219 return *shader_notify; 219 return *shader_notify;
220 } 220 }
221 221
222 // Waits for the GPU to finish working 222 // Stops the GPU execution and waits for the GPU to finish working
223 void WaitIdle() const; 223 void ShutDown();
224 224
225 /// Allows the CPU/NvFlinger to wait on the GPU before presenting a frame. 225 /// Allows the CPU/NvFlinger to wait on the GPU before presenting a frame.
226 void WaitFence(u32 syncpoint_id, u32 value); 226 void WaitFence(u32 syncpoint_id, u32 value);