diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-17 23:17:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 23:17:54 +0200 |
commit | 31461589c596c00971da6f3d8c7be367595dd79b (patch) | |
tree | c020ea78874bc16fd6514a94aa2273e0b91d186b /src/video_core | |
parent | Merge pull request #4673 from lioncash/fallthrough (diff) | |
parent | decoder/texture: Eliminate narrowing conversion in GetTldCode() (diff) | |
download | yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar.gz yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar.bz2 yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar.lz yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar.xz yuzu-31461589c596c00971da6f3d8c7be367595dd79b.tar.zst yuzu-31461589c596c00971da6f3d8c7be367595dd79b.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/decode/texture.cpp | 2 |
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)}; |