diff options
| author | 2019-04-23 08:44:52 -0400 | |
|---|---|---|
| committer | 2019-04-23 08:44:52 -0400 | |
| commit | e140e2ebc65a7ad0a25ba979141e80e9376f5eff (patch) | |
| tree | 4196afa732560efe6dd81faa5114a7710b5c59ef /src | |
| parent | Corrections and styling (diff) | |
| download | yuzu-e140e2ebc65a7ad0a25ba979141e80e9376f5eff.tar.gz yuzu-e140e2ebc65a7ad0a25ba979141e80e9376f5eff.tar.xz yuzu-e140e2ebc65a7ad0a25ba979141e80e9376f5eff.zip | |
Add Documentation Headers to all the GPU Engines
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/fermi_2d.h | 6 | ||||
| -rw-r--r-- | src/video_core/engines/kepler_compute.h | 6 | ||||
| -rw-r--r-- | src/video_core/engines/kepler_memory.h | 6 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 6 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_dma.h | 5 |
5 files changed, 29 insertions, 0 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h index 2e51b7f13..45f59a4d9 100644 --- a/src/video_core/engines/fermi_2d.h +++ b/src/video_core/engines/fermi_2d.h | |||
| @@ -21,6 +21,12 @@ class RasterizerInterface; | |||
| 21 | 21 | ||
| 22 | namespace Tegra::Engines { | 22 | namespace Tegra::Engines { |
| 23 | 23 | ||
| 24 | /** | ||
| 25 | * This Engine is known as G80_2D. Documentation can be found in: | ||
| 26 | * https://github.com/envytools/envytools/blob/master/rnndb/graph/g80_2d.xml | ||
| 27 | * https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h | ||
| 28 | */ | ||
| 29 | |||
| 24 | #define FERMI2D_REG_INDEX(field_name) \ | 30 | #define FERMI2D_REG_INDEX(field_name) \ |
| 25 | (offsetof(Tegra::Engines::Fermi2D::Regs, field_name) / sizeof(u32)) | 31 | (offsetof(Tegra::Engines::Fermi2D::Regs, field_name) / sizeof(u32)) |
| 26 | 32 | ||
diff --git a/src/video_core/engines/kepler_compute.h b/src/video_core/engines/kepler_compute.h index ab2781b4b..50f318848 100644 --- a/src/video_core/engines/kepler_compute.h +++ b/src/video_core/engines/kepler_compute.h | |||
| @@ -27,6 +27,12 @@ class RasterizerInterface; | |||
| 27 | 27 | ||
| 28 | namespace Tegra::Engines { | 28 | namespace Tegra::Engines { |
| 29 | 29 | ||
| 30 | /** | ||
| 31 | * This Engine is known as GK104_Compute. Documentation can be found in: | ||
| 32 | * https://github.com/envytools/envytools/blob/master/rnndb/graph/gk104_compute.xml | ||
| 33 | * https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nve4_compute.xml.h | ||
| 34 | */ | ||
| 35 | |||
| 30 | #define KEPLER_COMPUTE_REG_INDEX(field_name) \ | 36 | #define KEPLER_COMPUTE_REG_INDEX(field_name) \ |
| 31 | (offsetof(Tegra::Engines::KeplerCompute::Regs, field_name) / sizeof(u32)) | 37 | (offsetof(Tegra::Engines::KeplerCompute::Regs, field_name) / sizeof(u32)) |
| 32 | 38 | ||
diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.h index c6b738eb9..473bff20a 100644 --- a/src/video_core/engines/kepler_memory.h +++ b/src/video_core/engines/kepler_memory.h | |||
| @@ -23,6 +23,12 @@ class MemoryManager; | |||
| 23 | 23 | ||
| 24 | namespace Tegra::Engines { | 24 | namespace Tegra::Engines { |
| 25 | 25 | ||
| 26 | /** | ||
| 27 | * This Engine is known as P2MF. Documentation can be found in: | ||
| 28 | * https://github.com/envytools/envytools/blob/master/rnndb/graph/gk104_p2mf.xml | ||
| 29 | * https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nve4_p2mf.xml.h | ||
| 30 | */ | ||
| 31 | |||
| 26 | #define KEPLERMEMORY_REG_INDEX(field_name) \ | 32 | #define KEPLERMEMORY_REG_INDEX(field_name) \ |
| 27 | (offsetof(Tegra::Engines::KeplerMemory::Regs, field_name) / sizeof(u32)) | 33 | (offsetof(Tegra::Engines::KeplerMemory::Regs, field_name) / sizeof(u32)) |
| 28 | 34 | ||
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 47fe1f137..eae427412 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -33,6 +33,12 @@ class RasterizerInterface; | |||
| 33 | 33 | ||
| 34 | namespace Tegra::Engines { | 34 | namespace Tegra::Engines { |
| 35 | 35 | ||
| 36 | /** | ||
| 37 | * This Engine is known as GF100_3D. Documentation can be found in: | ||
| 38 | * https://github.com/envytools/envytools/blob/master/rnndb/graph/gf100_3d.xml | ||
| 39 | * https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nvc0_3d.xml.h | ||
| 40 | */ | ||
| 41 | |||
| 36 | #define MAXWELL3D_REG_INDEX(field_name) \ | 42 | #define MAXWELL3D_REG_INDEX(field_name) \ |
| 37 | (offsetof(Tegra::Engines::Maxwell3D::Regs, field_name) / sizeof(u32)) | 43 | (offsetof(Tegra::Engines::Maxwell3D::Regs, field_name) / sizeof(u32)) |
| 38 | 44 | ||
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h index c6b649842..35b25e6b9 100644 --- a/src/video_core/engines/maxwell_dma.h +++ b/src/video_core/engines/maxwell_dma.h | |||
| @@ -25,6 +25,11 @@ class RasterizerInterface; | |||
| 25 | 25 | ||
| 26 | namespace Tegra::Engines { | 26 | namespace Tegra::Engines { |
| 27 | 27 | ||
| 28 | /** | ||
| 29 | * This Engine is known as GK104_Copy. Documentation can be found in: | ||
| 30 | * https://github.com/envytools/envytools/blob/master/rnndb/fifo/gk104_copy.xml | ||
| 31 | */ | ||
| 32 | |||
| 28 | class MaxwellDMA final { | 33 | class MaxwellDMA final { |
| 29 | public: | 34 | public: |
| 30 | explicit MaxwellDMA(Core::System& system, VideoCore::RasterizerInterface& rasterizer, | 35 | explicit MaxwellDMA(Core::System& system, VideoCore::RasterizerInterface& rasterizer, |