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

Open
Mustafaiq1998x wants to merge 1 commit from upstream-pr/157 into main
Mustafaiq1998x commented 2026-11-26 08:25:45 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by Mustafaiq1998x on 2026-11-26T08:25:45Z.


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.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:5506532955 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/157). Originally posted by [Mustafaiq1998x](https://github.com/Mustafaiq1998x) on 2026-11-26T08:25:45Z. --- 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.
UncommonDLL commented 2026-11-26 19:40:51 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by UncommonDLL on 2026-11-26T19:40:51Z.


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.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7201849114 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/157#issuecomment-7201849114). Originally posted by [UncommonDLL](https://github.com/UncommonDLL) on 2026-11-26T19:40:51Z. --- 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 cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/157:upstream-pr/157'
git switch 'upstream-pr/157'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/157'
git switch 'upstream-pr/157'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/157'
git switch 'upstream-pr/157'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/157'
git switch 'main'
git merge --squash 'upstream-pr/157'
git switch 'main'
git merge --ff-only 'upstream-pr/157'
git switch 'main'
git merge 'upstream-pr/157'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
avatarmanz/VIctory-7900XTX!157
No description provided.