diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-16 05:52:33 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-16 05:52:33 +0100 |
commit | 3d9fff82c036908dcc20af0746cc592cc484af5e (patch) | |
tree | bbc6a57ad53e936b4260bf74f05070f2eedde4a5 | |
parent | Merge pull request #3219 from FernandoS27/fix-bindless (diff) | |
download | yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar.gz yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar.bz2 yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar.lz yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar.xz yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.tar.zst yuzu-3d9fff82c036908dcc20af0746cc592cc484af5e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode/texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp index 994c05611..38992e19c 100644 --- a/src/video_core/shader/decode/texture.cpp +++ b/src/video_core/shader/decode/texture.cpp @@ -367,7 +367,7 @@ const Sampler* ShaderIR::GetSampler(const Tegra::Shader::Sampler& sampler, if (it != used_samplers.end()) { ASSERT(!it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && it->IsShadow() == info.is_shadow && it->IsBuffer() == info.is_buffer); - return &(*it); + return &*it; } // Otherwise create a new mapping for this sampler @@ -397,7 +397,7 @@ const Sampler* ShaderIR::GetBindlessSampler(Tegra::Shader::Register reg, if (it != used_samplers.end()) { ASSERT(it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && it->IsShadow() == info.is_shadow); - return &(*it); + return &*it; } // Otherwise create a new mapping for this sampler |