diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-22 19:22:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 19:22:43 +0200 |
commit | c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b (patch) | |
tree | b65e2a03400264d50cabb2d3f12239592fc4fdfb /src/video_core/shader/shader_ir.h | |
parent | Merge pull request #2983 from lioncash/fallthrough (diff) | |
parent | shader_ir/memory: Ignore global memory when tracking fails (diff) | |
download | yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar.gz yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar.bz2 yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar.lz yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar.xz yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.tar.zst yuzu-c4a0aa9207ee5d83535ecfa42ca526fb6c9e1e8b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 105981d67..91cd0a534 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -371,8 +371,9 @@ private: std::pair<Node, s64> TrackRegister(const GprNode* tracked, const NodeBlock& code, s64 cursor) const; - std::tuple<Node, Node, GlobalMemoryBase> TrackAndGetGlobalMemory( - NodeBlock& bb, Tegra::Shader::Instruction instr, bool is_write); + std::tuple<Node, Node, GlobalMemoryBase> TrackGlobalMemory(NodeBlock& bb, + Tegra::Shader::Instruction instr, + bool is_write); const ProgramCode& program_code; const u32 main_offset; |