maxwell_3d: Make memory_manager public.

This commit is contained in:
bunnei 2018-04-07 23:24:50 -04:00
parent 33bb53571b
commit 35aca0bf1f

View File

@ -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.