diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-18 07:35:01 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-21 03:38:59 +0200 |
commit | f78ef617b66e81b6095156fa0ff435cf8307aef7 (patch) | |
tree | c822e8d45e7b33bd36f8778bff56f67a8e461fec /src/video_core/shader/shader_ir.h | |
parent | Merge pull request #2455 from lioncash/config (diff) | |
download | yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar.gz yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar.bz2 yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar.lz yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar.xz yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.tar.zst yuzu-f78ef617b66e81b6095156fa0ff435cf8307aef7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 0bf124252..0f769ed8d 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -818,10 +818,8 @@ private: std::pair<Node, s64> TrackRegister(const GprNode* tracked, const NodeBlock& code, s64 cursor) const; - std::tuple<Node, Node, GlobalMemoryBase> TrackAndGetGlobalMemory(NodeBlock& bb, - Node addr_register, - u32 immediate_offset, - bool is_write); + std::tuple<Node, Node, GlobalMemoryBase> TrackAndGetGlobalMemory( + NodeBlock& bb, Tegra::Shader::Instruction instr, bool is_write); template <typename... T> Node Operation(OperationCode code, const T*... operands) { |