summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/gpu_thread.h')
-rw-r--r--src/video_core/gpu_thread.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h
index 2775629e7..4cd951169 100644
--- a/src/video_core/gpu_thread.h
+++ b/src/video_core/gpu_thread.h
@@ -27,6 +27,7 @@ class System;
27} // namespace Core 27} // namespace Core
28 28
29namespace VideoCore { 29namespace VideoCore {
30class RasterizerInterface;
30class RendererBase; 31class RendererBase;
31} // namespace VideoCore 32} // namespace VideoCore
32 33
@@ -151,11 +152,12 @@ private:
151 /// Pushes a command to be executed by the GPU thread 152 /// Pushes a command to be executed by the GPU thread
152 u64 PushCommand(CommandData&& command_data); 153 u64 PushCommand(CommandData&& command_data);
153 154
154 SynchState state;
155 Core::System& system; 155 Core::System& system;
156 std::thread thread;
157 std::thread::id thread_id;
158 const bool is_async; 156 const bool is_async;
157 VideoCore::RasterizerInterface* rasterizer = nullptr;
158
159 SynchState state;
160 std::thread thread;
159}; 161};
160 162
161} // namespace VideoCommon::GPUThread 163} // namespace VideoCommon::GPUThread