diff options
| author | 2020-12-12 00:24:33 -0800 | |
|---|---|---|
| committer | 2020-12-28 16:33:48 -0800 | |
| commit | 40571c073faa02a6a4301e7f0ce365ef50a400aa (patch) | |
| tree | f36bf8633469b5fc370495477e3c7cbc6e97a9c6 /src/video_core/gpu.h | |
| parent | video_core: gpu: Refactor out synchronous/asynchronous GPU implementations. (diff) | |
| download | yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.gz yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.tar.xz yuzu-40571c073faa02a6a4301e7f0ce365ef50a400aa.zip | |
video_core: gpu: Implement synchronous mode using threaded GPU.
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index a2bb4d82d..d81e38680 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h | |||
| @@ -406,10 +406,10 @@ private: | |||
| 406 | u64 last_flush_fence{}; | 406 | u64 last_flush_fence{}; |
| 407 | std::mutex flush_request_mutex; | 407 | std::mutex flush_request_mutex; |
| 408 | 408 | ||
| 409 | const bool is_async; | ||
| 410 | |||
| 409 | VideoCommon::GPUThread::ThreadManager gpu_thread; | 411 | VideoCommon::GPUThread::ThreadManager gpu_thread; |
| 410 | std::unique_ptr<Core::Frontend::GraphicsContext> cpu_context; | 412 | std::unique_ptr<Core::Frontend::GraphicsContext> cpu_context; |
| 411 | |||
| 412 | const bool is_async; | ||
| 413 | }; | 413 | }; |
| 414 | 414 | ||
| 415 | #define ASSERT_REG_POSITION(field_name, position) \ | 415 | #define ASSERT_REG_POSITION(field_name, position) \ |