summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-23 09:19:27 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:29 +0200
commitd2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be (patch)
treebae08a36eb087d846acab669834af948c88e6cae
parentspirv: Enable DemoteToHelperInvocationEXT only when supported (diff)
downloadyuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar.gz
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar.bz2
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar.lz
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar.xz
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.tar.zst
yuzu-d2a0f9d7ad89184294e4d3f05ae0843e4ff4e6be.zip
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
index eb192e3c9..745a834e3 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp
@@ -300,9 +300,6 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct
ctx.AddExtension("SPV_EXT_demote_to_helper_invocation");
ctx.AddCapability(spv::Capability::DemoteToHelperInvocationEXT);
}
- if (info.stores_layer) {
- ctx.AddCapability(spv::Capability::ShaderLayer);
- }
if (info.stores_viewport_index) {
ctx.AddCapability(spv::Capability::MultiViewport);
}