summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-04-07 23:24:50 -0400
committerGravatar bunnei2018-04-13 23:48:27 -0400
commit35aca0bf1f22379c82f26edade0d18eb47565cf4 (patch)
tree1aabb671f5a4785f25032ac43229e0ced97387d3 /src
parentmaxwell_3d: Fix shader_config decodings. (diff)
downloadyuzu-35aca0bf1f22379c82f26edade0d18eb47565cf4.tar.gz
yuzu-35aca0bf1f22379c82f26edade0d18eb47565cf4.tar.xz
yuzu-35aca0bf1f22379c82f26edade0d18eb47565cf4.zip
maxwell_3d: Make memory_manager public.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/engines/maxwell_3d.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 528bb31d3..9c6236c39 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -504,6 +504,7 @@ public:
504 }; 504 };
505 505
506 State state{}; 506 State state{};
507 MemoryManager& memory_manager;
507 508
508 /// Reads a register value located at the input method address 509 /// Reads a register value located at the input method address
509 u32 GetRegisterValue(u32 method) const; 510 u32 GetRegisterValue(u32 method) const;
@@ -518,8 +519,6 @@ public:
518 std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const; 519 std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const;
519 520
520private: 521private:
521 MemoryManager& memory_manager;
522
523 std::unordered_map<u32, std::vector<u32>> uploaded_macros; 522 std::unordered_map<u32, std::vector<u32>> uploaded_macros;
524 523
525 /// Macro method that is currently being executed / being fed parameters. 524 /// Macro method that is currently being executed / being fed parameters.