Run synthetic GFX10 compute snippets on a selected Windows GPU #202

Open
GeaorgeAyvazov wants to merge 6 commits from upstream-pr/202 into main
GeaorgeAyvazov commented 2026-11-24 22:32:48 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by GeaorgeAyvazov on 2026-11-24T22:32:48Z.


This integration branch makes the tested Windows setup reproducible. Run-Rdna.ps1 uses Cargo to build and dispatch a one-thread synthetic GFX10 compute snippet through the shader translator and D3D12. Input words are hexadecimal; four input dwords are available in s0..s3 and v1..v4. The result is read back from v0.

Verified from PowerShell on the RTX 3070 Ti Laptop:

.\Run-Rdna.ps1 -Adapter NVIDIA -Words 'be861a00 7e000206' -Inputs 'face8000 0 0 0'

Result: v0 = 0xffff8000 (4294934528 unsigned, -32768 signed). The focused run passed; 215 other tests were filtered by its exact name. The integrated shader library test binary previously passed all 216 tests on this setup with VICTORY_STRICT_JOINS=1 and --include-ignored --test-threads=1.

This draft includes the changes proposed separately in #78 (original author retained), #171, #182, and #197. The terminal harness and PowerShell entry point are the additional changes. No game assets or prebuilt executable are required. Prepared and tested with OpenAI Codex.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6592742453 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/202). Originally posted by [GeaorgeAyvazov](https://github.com/GeaorgeAyvazov) on 2026-11-24T22:32:48Z. --- This integration branch makes the tested Windows setup reproducible. Run-Rdna.ps1 uses Cargo to build and dispatch a one-thread synthetic GFX10 compute snippet through the shader translator and D3D12. Input words are hexadecimal; four input dwords are available in s0..s3 and v1..v4. The result is read back from v0. Verified from PowerShell on the RTX 3070 Ti Laptop: ```powershell .\Run-Rdna.ps1 -Adapter NVIDIA -Words 'be861a00 7e000206' -Inputs 'face8000 0 0 0' ``` Result: v0 = 0xffff8000 (4294934528 unsigned, -32768 signed). The focused run passed; 215 other tests were filtered by its exact name. The integrated shader library test binary previously passed all 216 tests on this setup with VICTORY_STRICT_JOINS=1 and --include-ignored --test-threads=1. This draft includes the changes proposed separately in #78 (original author retained), #171, #182, and #197. The terminal harness and PowerShell entry point are the additional changes. No game assets or prebuilt executable are required. Prepared and tested with OpenAI Codex.
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/202:upstream-pr/202'
git switch 'upstream-pr/202'

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/202'
git switch 'upstream-pr/202'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/202'
git switch 'upstream-pr/202'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/202'
git switch 'main'
git merge --squash 'upstream-pr/202'
git switch 'main'
git merge --ff-only 'upstream-pr/202'
git switch 'main'
git merge 'upstream-pr/202'
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
fxceless/victory-fork!202
No description provided.