shader: translate and dispatch fixed and indexed compute UAV stores #477

Merged
R0Y00 merged 2 commits from upstream-pr/483 into main 2026-11-22 06:45:45 +00:00
R0Y00 commented 2026-11-22 06:34:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T06:34:48Z.


Adds the first bounded compute-store translation and D3D12 execution path for local package records. Reuses the existing FSSM reader and desktop dispatch harness. The caller binds a linear raw UAV, a table pointer, and for indexed stores, a group register and stride. The Windows tests compare stored values, inter-element gaps and the untouched tail, and deliberately corrupt both an output and a guard. Input is a source-built fixture in CI.

Local tests on RTX 4060 Laptop 32.0.16.1656 and WARP 10.0.26100.9818:

  • ctest --preset dev --no-tests=error -R '^compute_(store_aot|root|tables)_(hardware|warp)$' --output-on-failure passed 6/6.
  • python3 -B tests/compute_store_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1 passed including both CLI container round trips and the rejected profiles.
  • Full local scan under explicit test bindings: 12/2689 CS records (10 distinct native programs) compiled and created compute pipelines. Both adapters executed all 12 records, 14 dispatches each. Every dispatch matched 320 independent expected words including guards. Original dispatch configuration is unknown.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6539369366 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/483). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T06:34:48Z. --- Adds the first bounded compute-store translation and D3D12 execution path for local package records. Reuses the existing FSSM reader and desktop dispatch harness. The caller binds a linear raw UAV, a table pointer, and for indexed stores, a group register and stride. The Windows tests compare stored values, inter-element gaps and the untouched tail, and deliberately corrupt both an output and a guard. Input is a source-built fixture in CI. Local tests on RTX 4060 Laptop 32.0.16.1656 and WARP 10.0.26100.9818: - `ctest --preset dev --no-tests=error -R '^compute_(store_aot|root|tables)_(hardware|warp)$' --output-on-failure` passed 6/6. - `python3 -B tests/compute_store_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1` passed including both CLI container round trips and the rejected profiles. - Full local scan under explicit test bindings: 12/2689 CS records (10 distinct native programs) compiled and created compute pipelines. Both adapters executed all 12 records, 14 dispatches each. Every dispatch matched 320 independent expected words including guards. Original dispatch configuration is unknown. AI-assisted.
upstream-sync closed this pull request 2026-11-24 06:43:16 +00:00
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
R0Y00/Xbox2Windows!477
No description provided.