renderer_vulkan: Restore Vulkan version to 1.3 (#2827)

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
This commit is contained in:
squidbus
2025-04-23 03:28:31 -07:00
committed by GitHub
parent 5db162cbcd
commit aeee7706ee
7 changed files with 55 additions and 75 deletions

View File

@@ -335,8 +335,7 @@ void DefineEntryPoint(const Info& info, EmitContext& ctx, Id main) {
ctx.AddExecutionMode(main, spv::ExecutionMode::OriginUpperLeft);
}
if (info.has_discard) {
ctx.AddExtension("SPV_EXT_demote_to_helper_invocation");
ctx.AddCapability(spv::Capability::DemoteToHelperInvocationEXT);
ctx.AddCapability(spv::Capability::DemoteToHelperInvocation);
}
if (info.stores.GetAny(IR::Attribute::Depth)) {
ctx.AddExecutionMode(main, spv::ExecutionMode::DepthReplacing);