Track pending texture-to-buffer readbacks #150
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!150
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-150"
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?
@gomeaw on GitHub · 2026-11-26 07:44 UTC · original
gomeaw:fix/track-texture-readbacks-in-flight→main· +65 −12 · 2 files · 1 commits · openA texture copied into a small title buffer lands after its host flight. The late-submission range index covered shader-written buffers and texture writebacks, but omitted these explicit texture-to-buffer copies. A subsequent CPU copy, upload fill, or texture preparation could therefore use the destination before the relay put the new bytes there.
Collect the destinations from both kinds of texture readback. The relay, the check before joining submissions, and the card-step planner use the same ranges. The existing copy routine still writes each row at the original title pitch.
Windows WARP validation exercises an actual D3D12 late submission. With the original collection the CPU dependency check receives no range and allows a copy from the pending second row. With the patch the dependency is detected, and the test checks the two landed rows and untouched padding. Eleven host scheduling tests passed (one opt-in test was skipped).
This applies to the small exposure targets mentioned in the renderer's readback code. It gives #62 and #112 a concrete dependency to retest on the same checkpoint. The visual symptom still needs an RTX comparison.
The matched NVIDIA builds use the same shader cache version and differ by this patch alone.
@opp31337 on GitHub · 2026-11-26 08:12 UTC · original
Tested PR #150 (
1a4298f) on my RTX 5060 Ti 16 GB (Blackwell, driver 621.35) withVICTORY_THIN='1'active (Series X profile,6000/2560VRAM caps,2,861warmed pipelines):12 fps(84.3–85.0 ms/frame@3,782–3,819draws).VICTORY_THIN='1':85.0 ms/frameshot).84.3 ms/frameshot).VICTORY_THIN='0'/-Saferemains sharp and artifact-free (100.3–104.2 ms/frame).(Tested by me on my own hardware; summary written with Gemini.)


@Cuebert on GitHub · 2026-11-26 20:27 UTC · original
I’m preparing a local Series X profile retest of this branch. The WARP fixture’s row and padding assertion is clear; for a narrow hardware check, what is the most reliable observable that the copied destination range stayed pending until the fence completed: an expected relay trace, or only the subsequent CPU bytes? I’d like to verify the ordering separately from the final scene image.
@Cuebert on GitHub · 2026-11-26 20:41 UTC · original
Following up on my question: on the adapted Windows D3D12 WARP fixture (software adapter), the delayed two-row readback passed its repair-arm check. Title bytes stayed zero before landing; an overlapping consumer of row 2 was classified pending/blocked; after landing, both row payloads matched and padding stayed untouched. I have not reproduced an integrated baseline-negative on my fork, and this is not a physical NVIDIA test. A separate native 4K bridge sample was 17.44 FPS versus prior 17.64–17.67; no visual difference or performance gain is established.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.