aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-08 12:04:26 -0500
committerGitHub <noreply@github.com>2019-03-08 12:04:26 -0500
commit944d93c013e56a772f6ebece3ca2f79f0eec8a17 (patch)
tree27aef9b133400e514a1de3208e150367ad45ac22 /src
parentfc3d9ebe417a00a5feaabdee57cbbf6bb900f009 (diff)
parent8e1dbd7c45df6a22e65a3b0b06df732b4b2fd248 (diff)
Merge pull request #2209 from lioncash/reorder
video_core/gpu_thread: Silence a -Wreorder warning
Diffstat (limited to 'src')
-rw-r--r--src/video_core/gpu_thread.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index 2ad8214cce..edb148b14b 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -113,9 +113,6 @@ public:
/// Notify rasterizer that any caches of the specified region should be flushed and invalidated
void FlushAndInvalidateRegion(VAddr addr, u64 size);
- /// Waits the caller until the GPU thread is idle, used for synchronization
- void WaitForIdle();
-
private:
/// Pushes a command to be executed by the GPU thread
void PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu);
@@ -127,10 +124,10 @@ private:
private:
SynchState state;
- std::thread thread;
- std::thread::id thread_id;
VideoCore::RendererBase& renderer;
Tegra::DmaPusher& dma_pusher;
+ std::thread thread;
+ std::thread::id thread_id;
};
} // namespace VideoCommon::GPUThread