diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-24 23:38:37 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:24 +0200 |
commit | 49e87ea8ab86f94239a6830666f3a8f897a0167a (patch) | |
tree | 014b8dcdb8b480e3ad8fbe560d0a6d1146ef877d | |
parent | shader: Properly insert Prologue instruction (diff) | |
download | yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar.gz yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar.bz2 yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar.lz yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar.xz yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.tar.zst yuzu-49e87ea8ab86f94239a6830666f3a8f897a0167a.zip |
-rw-r--r-- | src/shader_recompiler/ir_opt/texture_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/ir_opt/texture_pass.cpp b/src/shader_recompiler/ir_opt/texture_pass.cpp index de9d633e2..2c8164b8a 100644 --- a/src/shader_recompiler/ir_opt/texture_pass.cpp +++ b/src/shader_recompiler/ir_opt/texture_pass.cpp @@ -121,7 +121,7 @@ TextureInst MakeInst(Environment& env, IR::Block* block, IR::Inst& inst) { ConstBufferAddr addr; if (IsBindless(inst)) { VisitedBlocks visited; - const std::optional<ConstBufferAddr> track_addr{Track(block, IR::Value{&inst}, visited)}; + const std::optional<ConstBufferAddr> track_addr{Track(block, inst.Arg(0), visited)}; if (!track_addr) { throw NotImplementedException("Failed to track bindless texture constant buffer"); } |