Просмотр исходного кода

maxwell_3d: Make memory_manager public.

bunnei 8 лет назад
Родитель
Сommit
35aca0bf1f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/video_core/engines/maxwell_3d.h

+ 1 - 2
src/video_core/engines/maxwell_3d.h

@@ -504,6 +504,7 @@ public:
     };
     };
 
 
     State state{};
     State state{};
+    MemoryManager& memory_manager;
 
 
     /// Reads a register value located at the input method address
     /// Reads a register value located at the input method address
     u32 GetRegisterValue(u32 method) const;
     u32 GetRegisterValue(u32 method) const;
@@ -518,8 +519,6 @@ public:
     std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const;
     std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const;
 
 
 private:
 private:
-    MemoryManager& memory_manager;
-
     std::unordered_map<u32, std::vector<u32>> uploaded_macros;
     std::unordered_map<u32, std::vector<u32>> uploaded_macros;
 
 
     /// Macro method that is currently being executed / being fed parameters.
     /// Macro method that is currently being executed / being fed parameters.