Преглед изворни кода

spirv: Do not enable ShaderLayer

This is enabled by an extension instead of the capability.
ReinUsesLisp пре 5 година
родитељ
комит
d2a0f9d7ad
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      src/shader_recompiler/backend/spirv/emit_spirv.cpp

+ 0 - 3
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);
     }