test(gpu): validate descriptor copies through shader execution #157
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!157
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-157"
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?
@Mustafaiq1998x on GitHub · 2026-11-26 08:25 UTC · original
Mustafaiq1998x:research/rdna2-memory-safety→main· +74 −7 · 1 files · 1 commits · openReplace opaque descriptor byte comparisons with functional GPU shader reads, dimension checks and null-view validation. Verified on Radeon RX 6800 and Microsoft WARP: 20 repeated functional passes, 338 standard GPU tests and 386 diagnostic GPU tests passed. Workspace tests passed. Strict Clippy fails on the unchanged upstream baseline. Test-only correction, no runtime performance claims.
@UncommonDLL on GitHub · 2026-11-26 19:40 UTC · original
The unmodified descriptor test passed in 10/10 fresh processes on Windows 11 build 26200 at
593cfc37024082dbc97c4d0950e6a7f9e2350240. Every run reachedDESCRIPTOR_FUNCTIONAL_PASS. Zero skips or failures.In 10 additional runs, we instrumented the test to confirm which adapter it used and what the shader returned. The test’s D3D12 device was the physical RTX 5070 Ti on NVIDIA driver 621.24. All 20 dispatches completed, with each fence reaching its signaled value of
1.The copied raw SRV returned
0x22334455and0xaabbccddand reported 1,024 bytes. After switching the same slot to a null raw SRV, both reads returned zero. Both dispatches wrote0x13579bdf. The dimension check applies only to the copied view.AI-assisted validation with local Codex. Per-process logs, binary hashes and the observation patch are available.
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.