diff options
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 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}; |