summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-07 16:08:09 -0500
committerGravatar Lioncash2019-03-07 16:08:52 -0500
commitc2d4c8b95ed2052319608aab500b29c363d6b0bb (patch)
treee35ae81df98d106c943102fd240e763faa3a1cc7
parentvideo_core/gpu_thread: Amend constructor initializer list order (diff)
downloadyuzu-c2d4c8b95ed2052319608aab500b29c363d6b0bb.tar.gz
yuzu-c2d4c8b95ed2052319608aab500b29c363d6b0bb.tar.xz
yuzu-c2d4c8b95ed2052319608aab500b29c363d6b0bb.zip
video_core/gpu_thread: Remove unimplemented WaitForIdle function prototype
This function didn't have a definition, so we can remove it to prevent accidentally attempting to use it.
-rw-r--r--src/video_core/gpu_thread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index cedd9447b..edb148b14 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -113,9 +113,6 @@ public:
113 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated 113 /// Notify rasterizer that any caches of the specified region should be flushed and invalidated
114 void FlushAndInvalidateRegion(VAddr addr, u64 size); 114 void FlushAndInvalidateRegion(VAddr addr, u64 size);
115 115
116 /// Waits the caller until the GPU thread is idle, used for synchronization
117 void WaitForIdle();
118
119private: 116private:
120 /// Pushes a command to be executed by the GPU thread 117 /// Pushes a command to be executed by the GPU thread
121 void PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu); 118 void PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu);