summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-22 21:19:35 +0100
committerSubv <subv2112@gmail.com>2018-03-24 17:31:49 +0100
commit77fd0d47e70968bcbc87a3b5607cd29e6211f656 (patch)
tree54e91cede780bbd5bec2612547a61bdd799e36af /src/video_core/gpu.h
parentGPU: Added a method to unswizzle a texture without decoding it. (diff)
downloadyuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.gz
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.bz2
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.lz
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.xz
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.tar.zst
yuzu-77fd0d47e70968bcbc87a3b5607cd29e6211f656.zip
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 206b3e05e..778b63218 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -13,6 +13,8 @@
namespace Tegra {
+class DebugContext;
+
/**
* Struct describing framebuffer configuration
*/
@@ -66,6 +68,9 @@ public:
/// Processes a command list stored at the specified address in GPU memory.
void ProcessCommandList(GPUVAddr address, u32 size);
+ /// Returns a reference to the Maxwell3D GPU engine.
+ const Engines::Maxwell3D& Get3DEngine() const;
+
std::unique_ptr<MemoryManager> memory_manager;
Engines::Maxwell3D& Maxwell3D() {