Ver Fonte

gpu: Expose Maxwell3D engine.

bunnei há 8 anos atrás
pai
commit
7c3a263839
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/video_core/gpu.h

+ 4 - 0
src/video_core/gpu.h

@@ -36,6 +36,10 @@ public:
 
     std::unique_ptr<MemoryManager> memory_manager;
 
+    Engines::Maxwell3D& Maxwell3D() {
+        return *maxwell_3d;
+    }
+
 private:
     static constexpr u32 InvalidGraphMacroEntry = 0xFFFFFFFF;