test(gpu): validate descriptor copies through shader execution #157

Open
github-bot wants to merge 1 commit from github-bot/gh-157 into main AGit
Owner

@⁠Mustafaiq1998x on GitHub · 2026-11-26 08:25 UTC · original
Mustafaiq1998x:research/rdna2-memory-safety → main · +74 −7 · 1 files · 1 commits · open

Replace 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.

**@⁠Mustafaiq1998x** on GitHub · 2026-11-26 08:25 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/157) `Mustafaiq1998x:research/rdna2-memory-safety` → `main` · +74 −7 · 1 files · 1 commits · open Replace 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.
Replace opaque descriptor byte comparisons with GPU-visible SRV reads, dimension checks and null-view validation. Verified on Radeon RX 6800 and Microsoft WARP with 20 repeated functional passes and 724 passing GPU unit test executions.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:31:31 +00:00
Author
Owner

@⁠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 reached DESCRIPTOR_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 0x22334455 and 0xaabbccdd and reported 1,024 bytes. After switching the same slot to a null raw SRV, both reads returned zero. Both dispatches wrote 0x13579bdf. 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.

**@⁠UncommonDLL** on GitHub · 2026-11-26 19:40 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/157#issuecomment-7201849114) The unmodified descriptor test passed in 10/10 fresh processes on Windows 11 build 26200 at `593cfc37024082dbc97c4d0950e6a7f9e2350240`. Every run reached `DESCRIPTOR_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 `0x22334455` and `0xaabbccdd` and reported 1,024 bytes. After switching the same slot to a null raw SRV, both reads returned zero. Both dispatches wrote `0x13579bdf`. 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.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/157/head:github-bot/gh-157'
git switch 'github-bot/gh-157'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-157'
git switch 'github-bot/gh-157'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-157'
git switch 'github-bot/gh-157'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-157'
git switch 'main'
git merge --squash 'github-bot/gh-157'
git switch 'main'
git merge --ff-only 'github-bot/gh-157'
git switch 'main'
git merge 'github-bot/gh-157'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.