mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1841
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1829
Author: @potatoe0100
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:carry/old-9805📝 Commits (1)
1ddae51Cancel suspended Vulkan presents before enqueueing📊 Changes
3 files changed (+51 additions, -27 deletions)
View changed files
📝
runtime/shims/xbox_present.cpp(+3 -4)📝
runtime/src/vulkan_present.h(+17 -23)📝
runtime/test/vk_presenter_sync_test.cpp(+31 -0)📄 Description
Claimed in the coordination issue as: OLD-9805 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162809577)
What and why
Carries forward
old-pr/9805(draft #77) by @a-lebailly, rebased onmain0d80bc5dfwith the author's commit. The deferred-present capacity check and the enqueue now happen under one lock, a wait aborted by suspension returnsVK_NOT_READY, and a blankPresentXreports the suspended state instead of the raw failure.Rebase notes:
runtime/shims/xbox_present.cppconflicted withmain'spresent_diag()wrapper on the blank-present path. Kept the author's suspended-state check and wrapped both returns inpresent_diag(__LINE__, ...)asmaindoes.Supersedes draft #77 (its branch can be deleted once this lands).
Tested
VS 2022 (MSVC 19.44) RelWithDebInfo + Ninja, Vulkan SDK 1.4.363.0.
vk_presenter_syncpasses.ctest -j 6: 439 of 439 passed.GPUs tested: NVIDIA GeForce RTX 4060, driver 621.14, Windows 11 Pro 26H2 (build 26300)
AI-assisted: yes (the original commit says OpenAI Codex; the rebase and testing used Claude Code), by a non-developer tester.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.