summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-17 21:04:14 +0200
committerLioncash <mathew1800@gmail.com>2020-09-17 21:04:17 +0200
commitffc66f089d8a3aade2758e382501f87e4d98e7ff (patch)
tree3bc816bc895068d0ff9444754bd9db517421a681 /src/video_core
parentMerge pull request #4653 from ReinUsesLisp/gc-warns (diff)
downloadyuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar.gz
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar.bz2
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar.lz
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar.xz
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.tar.zst
yuzu-ffc66f089d8a3aade2758e382501f87e4d98e7ff.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/decode/texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp
index 29ebf65ba..a03b50e39 100644
--- a/src/video_core/shader/decode/texture.cpp
+++ b/src/video_core/shader/decode/texture.cpp
@@ -763,7 +763,7 @@ Node4 ShaderIR::GetTld4Code(Instruction instr, TextureType texture_type, bool de
Node4 ShaderIR::GetTldCode(Tegra::Shader::Instruction instr) {
const auto texture_type{instr.tld.texture_type};
- const bool is_array{instr.tld.is_array};
+ const bool is_array{instr.tld.is_array != 0};
const bool lod_enabled{instr.tld.GetTextureProcessMode() == TextureProcessMode::LL};
const std::size_t coord_count{GetCoordCount(texture_type)};