diff options
| author | 2018-02-11 21:34:20 -0500 | |
|---|---|---|
| committer | 2018-02-11 22:42:48 -0500 | |
| commit | e01a8f218707b6f3ed0f111c432440b07ea5b6ff (patch) | |
| tree | f5a95dc16a129a5c1a8a4d1309dfbbc3e4ccdb3f /src/video_core/engines | |
| parent | nvdrv: Make the GPU memory manager available to nvhost-gpu. (diff) | |
| download | yuzu-e01a8f218707b6f3ed0f111c432440b07ea5b6ff.tar.gz yuzu-e01a8f218707b6f3ed0f111c432440b07ea5b6ff.tar.xz yuzu-e01a8f218707b6f3ed0f111c432440b07ea5b6ff.zip | |
GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/fermi_2d.cpp | 15 | ||||
| -rw-r--r-- | src/video_core/engines/fermi_2d.h | 18 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 15 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 18 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_compute.cpp | 15 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_compute.h | 18 |
6 files changed, 99 insertions, 0 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp new file mode 100644 index 000000000..3d62c321f --- /dev/null +++ b/src/video_core/engines/fermi_2d.cpp | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "video_core/engines/fermi_2d.h" | ||
| 6 | |||
| 7 | namespace Tegra { | ||
| 8 | namespace Engines { | ||
| 9 | namespace Fermi2D { | ||
| 10 | |||
| 11 | void WriteReg(u32 method, u32 value) {} | ||
| 12 | |||
| 13 | } // namespace Fermi2D | ||
| 14 | } // namespace Engines | ||
| 15 | } // namespace Tegra | ||
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h new file mode 100644 index 000000000..6f3f5dfbc --- /dev/null +++ b/src/video_core/engines/fermi_2d.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "common/common_types.h" | ||
| 8 | |||
| 9 | namespace Tegra { | ||
| 10 | namespace Engines { | ||
| 11 | namespace Fermi2D { | ||
| 12 | |||
| 13 | void WriteReg(u32 method, u32 value); | ||
| 14 | |||
| 15 | } // namespace Fermi2D | ||
| 16 | |||
| 17 | } // namespace Engines | ||
| 18 | } // namespace Tegra | ||
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp new file mode 100644 index 000000000..c2697c960 --- /dev/null +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "video_core/engines/maxwell_3d.h" | ||
| 6 | |||
| 7 | namespace Tegra { | ||
| 8 | namespace Engines { | ||
| 9 | namespace Maxwell3D { | ||
| 10 | |||
| 11 | void WriteReg(u32 method, u32 value) {} | ||
| 12 | |||
| 13 | } // namespace Maxwell3D | ||
| 14 | } // namespace Engines | ||
| 15 | } // namespace Tegra | ||
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h new file mode 100644 index 000000000..6957fb721 --- /dev/null +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "common/common_types.h" | ||
| 8 | |||
| 9 | namespace Tegra { | ||
| 10 | namespace Engines { | ||
| 11 | namespace Maxwell3D { | ||
| 12 | |||
| 13 | void WriteReg(u32 method, u32 value); | ||
| 14 | |||
| 15 | } // namespace Maxwell3D | ||
| 16 | |||
| 17 | } // namespace Engines | ||
| 18 | } // namespace Tegra | ||
diff --git a/src/video_core/engines/maxwell_compute.cpp b/src/video_core/engines/maxwell_compute.cpp new file mode 100644 index 000000000..c2134d63b --- /dev/null +++ b/src/video_core/engines/maxwell_compute.cpp | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "video_core/engines/maxwell_compute.h" | ||
| 6 | |||
| 7 | namespace Tegra { | ||
| 8 | namespace Engines { | ||
| 9 | namespace MaxwellCompute { | ||
| 10 | |||
| 11 | void WriteReg(u32 method, u32 value) {} | ||
| 12 | |||
| 13 | } // namespace MaxwellCompute | ||
| 14 | } // namespace Engines | ||
| 15 | } // namespace Tegra | ||
diff --git a/src/video_core/engines/maxwell_compute.h b/src/video_core/engines/maxwell_compute.h new file mode 100644 index 000000000..dc9a13593 --- /dev/null +++ b/src/video_core/engines/maxwell_compute.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "common/common_types.h" | ||
| 8 | |||
| 9 | namespace Tegra { | ||
| 10 | namespace Engines { | ||
| 11 | namespace MaxwellCompute { | ||
| 12 | |||
| 13 | void WriteReg(u32 method, u32 value); | ||
| 14 | |||
| 15 | } // namespace MaxwellCompute | ||
| 16 | |||
| 17 | } // namespace Engines | ||
| 18 | } // namespace Tegra | ||