Track pending texture-to-buffer readbacks #150
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by gomeaw on 2026-11-26T07:44:33Z.
A 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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by opp31337 on 2026-11-26T08:12:10Z.
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.)


Imported from avatarmanz/VIctory-7900XTX. Originally posted by Cuebert on 2026-11-26T20:27:07Z.
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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Cuebert on 2026-11-26T20:41:21Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.