fix(gpu): preserve CPU-source waits during GPU forwarding #117
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!117
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-117"
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?
@krofty on GitHub · 2026-11-27 18:23 UTC · original
fix/placed-source-wait→main· +40 −5 · 1 files · 1 commits · closed without mergingA GPU-forwarded fill could bypass a wait still needed by a placed copy's CPU upload source. A list recorded before that source's first GPU writer can retain upload scratch; if an earlier submission later writes the source, preparing the scratch before landing reads stale bytes.
Carry the existing
Placed::waitsCPU-source requirement into the step planner and reject that GPU plan before it records or redirects anything. GPU-backed and already-landed sources retain ordered forwarding. This preserves the existing wait and alias rules; it adds no locks or resource-lifetime changes.Closes #109.
Validation on the working integration baseline, with the same patched planner file:
build.shbuild passed; 3 texture-room, 4 game and 44 loader tests passed.Ordered splitting remains opt-in and disabled in the working preset: its separate off/on experiment did not show a performance gain. No claim is made that this fixes the capture crash or all GPU/guest ownership issues. This PR should remain open until the user authorizes merging.
Pull request closed