summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Subv2018-02-11 21:34:20 -0500
committerGravatar Subv2018-02-11 22:42:48 -0500
commite01a8f218707b6f3ed0f111c432440b07ea5b6ff (patch)
treef5a95dc16a129a5c1a8a4d1309dfbbc3e4ccdb3f /src/video_core/engines
parentnvdrv: Make the GPU memory manager available to nvhost-gpu. (diff)
downloadyuzu-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.cpp15
-rw-r--r--src/video_core/engines/fermi_2d.h18
-rw-r--r--src/video_core/engines/maxwell_3d.cpp15
-rw-r--r--src/video_core/engines/maxwell_3d.h18
-rw-r--r--src/video_core/engines/maxwell_compute.cpp15
-rw-r--r--src/video_core/engines/maxwell_compute.h18
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
7namespace Tegra {
8namespace Engines {
9namespace Fermi2D {
10
11void 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
9namespace Tegra {
10namespace Engines {
11namespace Fermi2D {
12
13void 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
7namespace Tegra {
8namespace Engines {
9namespace Maxwell3D {
10
11void 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
9namespace Tegra {
10namespace Engines {
11namespace Maxwell3D {
12
13void 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
7namespace Tegra {
8namespace Engines {
9namespace MaxwellCompute {
10
11void 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
9namespace Tegra {
10namespace Engines {
11namespace MaxwellCompute {
12
13void WriteReg(u32 method, u32 value);
14
15} // namespace MaxwellCompute
16
17} // namespace Engines
18} // namespace Tegra