diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-28 22:11:23 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-30 06:45:50 +0100 |
commit | 477d616f7df3b609afcb67d69d9570098cc00029 (patch) | |
tree | 4e4395842d44583d88abaacfb23e88073223bf5c /src/video_core/shader/decode/float_set.cpp | |
parent | Merge pull request #2070 from ReinUsesLisp/cubearray-view (diff) | |
download | yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar.gz yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar.bz2 yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar.lz yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar.xz yuzu-477d616f7df3b609afcb67d69d9570098cc00029.tar.zst yuzu-477d616f7df3b609afcb67d69d9570098cc00029.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/float_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/float_set.cpp b/src/video_core/shader/decode/float_set.cpp index ba846f1bd..9f9da2278 100644 --- a/src/video_core/shader/decode/float_set.cpp +++ b/src/video_core/shader/decode/float_set.cpp @@ -25,7 +25,7 @@ u32 ShaderIR::DecodeFloatSet(BasicBlock& bb, const BasicBlock& code, u32 pc) { } else if (instr.is_b_gpr) { return GetRegister(instr.gpr20); } else { - return GetConstBuffer(instr.cbuf34.index, instr.cbuf34.offset); + return GetConstBuffer(instr.cbuf34.index, instr.cbuf34.GetOffset()); } }(); |