Kaynağa Gözat

gpu: Expose Maxwell3D engine.

bunnei 8 yıl önce
ebeveyn
işleme
7c3a263839
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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;