summaryrefslogtreecommitdiff
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorGravatar bunnei2020-11-05 16:25:00 -0800
committerGravatar GitHub2020-11-05 16:25:00 -0800
commita111a9ae2c0d3009e405ed7735f214437dbf6c47 (patch)
treea2e32633a8d097a5d37a991c3252d91ddc292c7a /src/video_core/shader
parentMerge pull request #4889 from lioncash/setting-global (diff)
parentshader: Partially implement texture cube array shadow (diff)
downloadyuzu-a111a9ae2c0d3009e405ed7735f214437dbf6c47.tar.gz
yuzu-a111a9ae2c0d3009e405ed7735f214437dbf6c47.tar.xz
yuzu-a111a9ae2c0d3009e405ed7735f214437dbf6c47.zip
Merge pull request #4854 from ReinUsesLisp/cube-array-shadow
shader: Partially implement texture cube array shadow
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/texture.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp
index 4e932a4b6..02fdccd86 100644
--- a/src/video_core/shader/decode/texture.cpp
+++ b/src/video_core/shader/decode/texture.cpp
@@ -556,7 +556,6 @@ Node4 ShaderIR::GetTextureCode(Instruction instr, TextureType texture_type,
556 const bool is_shadow = depth_compare != nullptr; 556 const bool is_shadow = depth_compare != nullptr;
557 const bool is_bindless = bindless_reg.has_value(); 557 const bool is_bindless = bindless_reg.has_value();
558 558
559 UNIMPLEMENTED_IF(texture_type == TextureType::TextureCube && is_array && is_shadow);
560 ASSERT_MSG(texture_type != TextureType::Texture3D || !is_array || !is_shadow, 559 ASSERT_MSG(texture_type != TextureType::Texture3D || !is_array || !is_shadow,
561 "Illegal texture type"); 560 "Illegal texture type");
562 561