diff options
Diffstat (limited to 'src')
| -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, | |||
| 367 | if (it != used_samplers.end()) { | 367 | if (it != used_samplers.end()) { |
| 368 | ASSERT(!it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && | 368 | ASSERT(!it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && |
| 369 | it->IsShadow() == info.is_shadow && it->IsBuffer() == info.is_buffer); | 369 | it->IsShadow() == info.is_shadow && it->IsBuffer() == info.is_buffer); |
| 370 | return &(*it); | 370 | return &*it; |
| 371 | } | 371 | } |
| 372 | 372 | ||
| 373 | // Otherwise create a new mapping for this sampler | 373 | // Otherwise create a new mapping for this sampler |
| @@ -397,7 +397,7 @@ const Sampler* ShaderIR::GetBindlessSampler(Tegra::Shader::Register reg, | |||
| 397 | if (it != used_samplers.end()) { | 397 | if (it != used_samplers.end()) { |
| 398 | ASSERT(it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && | 398 | ASSERT(it->IsBindless() && it->GetType() == info.type && it->IsArray() == info.is_array && |
| 399 | it->IsShadow() == info.is_shadow); | 399 | it->IsShadow() == info.is_shadow); |
| 400 | return &(*it); | 400 | return &*it; |
| 401 | } | 401 | } |
| 402 | 402 | ||
| 403 | // Otherwise create a new mapping for this sampler | 403 | // Otherwise create a new mapping for this sampler |