diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-23 09:18:55 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:29 +0200 |
commit | 2b434b74af7be8c6ed2e96970e4e3965e351edbd (patch) | |
tree | 3625e165a1454e2d81a0ab6b4cf66304df76eb51 /src/shader_recompiler | |
parent | spirv: Use OriginLowerLeft when requested (diff) | |
download | yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar.gz yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar.bz2 yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar.lz yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar.xz yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.tar.zst yuzu-2b434b74af7be8c6ed2e96970e4e3965e351edbd.zip |
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cpp index 10de612cd..eb192e3c9 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp @@ -296,7 +296,7 @@ void SetupCapabilities(const Profile& profile, const Info& info, EmitContext& ct if (info.uses_sparse_residency) { ctx.AddCapability(spv::Capability::SparseResidency); } - if (info.uses_demote_to_helper_invocation) { + if (info.uses_demote_to_helper_invocation && profile.support_demote_to_helper_invocation) { ctx.AddExtension("SPV_EXT_demote_to_helper_invocation"); ctx.AddCapability(spv::Capability::DemoteToHelperInvocationEXT); } |