diff options
Diffstat (limited to 'src/shader_recompiler/ir_opt/texture_pass.cpp')
| -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) { | |||
| 121 | ConstBufferAddr addr; | 121 | ConstBufferAddr addr; |
| 122 | if (IsBindless(inst)) { | 122 | if (IsBindless(inst)) { |
| 123 | VisitedBlocks visited; | 123 | VisitedBlocks visited; |
| 124 | const std::optional<ConstBufferAddr> track_addr{Track(block, IR::Value{&inst}, visited)}; | 124 | const std::optional<ConstBufferAddr> track_addr{Track(block, inst.Arg(0), visited)}; |
| 125 | if (!track_addr) { | 125 | if (!track_addr) { |
| 126 | throw NotImplementedException("Failed to track bindless texture constant buffer"); | 126 | throw NotImplementedException("Failed to track bindless texture constant buffer"); |
| 127 | } | 127 | } |