diff options
Diffstat (limited to 'src/video_core/command_classes')
| -rw-r--r-- | src/video_core/command_classes/host1x.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/video_core/command_classes/host1x.cpp b/src/video_core/command_classes/host1x.cpp deleted file mode 100644 index 11855fe10..000000000 --- a/src/video_core/command_classes/host1x.cpp +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "common/assert.h" | ||
| 5 | #include "video_core/command_classes/host1x.h" | ||
| 6 | #include "video_core/gpu.h" | ||
| 7 | |||
| 8 | Tegra::Host1x::Host1x(GPU& gpu_) : gpu(gpu_) {} | ||
| 9 | |||
| 10 | Tegra::Host1x::~Host1x() = default; | ||
| 11 | |||
| 12 | void Tegra::Host1x::ProcessMethod(Method method, u32 argument) { | ||
| 13 | switch (method) { | ||
| 14 | case Method::LoadSyncptPayload32: | ||
| 15 | syncpoint_value = argument; | ||
| 16 | break; | ||
| 17 | case Method::WaitSyncpt: | ||
| 18 | case Method::WaitSyncpt32: | ||
| 19 | Execute(argument); | ||
| 20 | break; | ||
| 21 | default: | ||
| 22 | UNIMPLEMENTED_MSG("Host1x method 0x{:X}", static_cast<u32>(method)); | ||
| 23 | break; | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | void Tegra::Host1x::Execute(u32 data) { | ||
| 28 | gpu.WaitFence(data, syncpoint_value); | ||
| 29 | } | ||