Skip to content

gpu: Perform waits using separate command list - #1801

Open
squidbus wants to merge 1 commit into
hedge-dev:mainfrom
squidbus:fix-wait
Open

squidbus wants to merge 1 commit into
hedge-dev:mainfrom
squidbus:fix-wait

Conversation

@squidbus

@squidbus squidbus commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

We encountered this problem in MarathonRecomp, basically with the newer platform-agnostic WaitForGPU code it's possible to double-begin the first command list if it was already in progress from a frame, which crashes on an assertion.

This can happen during the installer-to-game transition, where the command list is started after the last present, then the installer exits and calls WaitForGPU before destroying textures. Simple fix is to give WaitForGPU a dedicated command list instance to use.

This branch is waiting to be deployed

1 waiting deployment
external — 01fdc359 Waiting Nov 4, 2026 by squidbus via authorize #457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant