summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-05 08:56:58 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:26 +0200
commit72daa2a039d58d23b0dca035bb5f6af8b10ce97b (patch)
treec971b1e78869a84198a2856b20ac00d31a04bf47 /src/shader_recompiler
parentshader: Fix splits on blocks using indirect branches (diff)
downloadyuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar.gz
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar.bz2
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar.lz
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar.xz
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.tar.zst
yuzu-72daa2a039d58d23b0dca035bb5f6af8b10ce97b.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp
index 5ef637fe7..002b305dc 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_context.cpp
@@ -45,7 +45,7 @@ Id ImageType(EmitContext& ctx, const TextureDescriptor& desc) {
case TextureType::ShadowCube:
return ctx.TypeImage(type, spv::Dim::Cube, true, false, false, 1, format);
case TextureType::ShadowArrayCube:
- return ctx.TypeImage(type, spv::Dim::Cube, false, true, false, 1, format);
+ return ctx.TypeImage(type, spv::Dim::Cube, true, true, false, 1, format);
}
throw InvalidArgument("Invalid texture type {}", desc.type);
}