diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-22 04:08:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 04:08:57 +0100 |
commit | 27d57e0c4a296f4011c4d8758137a3d259dd1141 (patch) | |
tree | d45b569c0c060eed74fb28037b07e41cd4b5cd0e | |
parent | Merge pull request #3433 from namkazt/patch-1 (diff) | |
parent | shader/texture: Fix illegal 3D texture assert (diff) | |
download | yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar.gz yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar.bz2 yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar.lz yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar.xz yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.tar.zst yuzu-27d57e0c4a296f4011c4d8758137a3d259dd1141.zip |
-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 542636430..bee7d8cad 100644 --- a/src/video_core/shader/decode/texture.cpp +++ b/src/video_core/shader/decode/texture.cpp @@ -527,7 +527,7 @@ Node4 ShaderIR::GetTextureCode(Instruction instr, TextureType texture_type, const bool is_bindless = bindless_reg.has_value(); UNIMPLEMENTED_IF(texture_type == TextureType::TextureCube && is_array && is_shadow); - ASSERT_MSG(texture_type != TextureType::Texture3D || is_array || is_shadow, + ASSERT_MSG(texture_type != TextureType::Texture3D || !is_array || !is_shadow, "Illegal texture type"); const SamplerInfo info{texture_type, is_array, is_shadow, false}; |