tests: preflight wave32 for native root UAV dispatch #3928

Open
R0Y00 wants to merge 1 commit from upstream-pr/3928 into main
R0Y00 commented 2026-12-03 11:12:06 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T11:12:06Z.


Refs #3507 and #3915.

The full Windows run reached startup_compute_root_uav_native_warp in Debug and Release. Both legs reported D3D12 error 622: the offline native module requires wave32 and the hosted WARP adapter offers four lanes. The fixture now checks the selected adapter's wave range and shader model before it first submits a published native shader. Unsupported hardware returns 77. The compiler and manifest validation still run first, and capable adapters still run all dispatch and guard assertions. No production runtime code changes.

Verification

MSVC Debug, Windows 11 build 26300, SDK DXC. Ran ctest --preset dev --no-tests=error -j 1 -V -R '^startup_compute_root_uav_native_(warp|hardware)$'.

  • Inbox WARP 10.0.26100.9818 ran the offline validation and returned 77 with wave lane range 4..4 before publishing a PSO.
  • RTX 4060 Laptop 32.0.16.1656 matched 320 words and buffer guards on each of the published and in-process paths. The published path passed all 13 refusal controls. D3D12 debug layer enabled, no debug errors.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5625300751 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3928). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-03T11:12:06Z. --- Refs #3507 and #3915. The full Windows run reached startup_compute_root_uav_native_warp in Debug and Release. Both legs reported D3D12 error 622: the offline native module requires wave32 and the hosted WARP adapter offers four lanes. The fixture now checks the selected adapter's wave range and shader model before it first submits a published native shader. Unsupported hardware returns 77. The compiler and manifest validation still run first, and capable adapters still run all dispatch and guard assertions. No production runtime code changes. ## Verification MSVC Debug, Windows 11 build 26300, SDK DXC. Ran ctest --preset dev --no-tests=error -j 1 -V -R '^startup_compute_root_uav_native_(warp|hardware)$'. - Inbox WARP 10.0.26100.9818 ran the offline validation and returned 77 with wave lane range 4..4 before publishing a PSO. - RTX 4060 Laptop 32.0.16.1656 matched 320 words and buffer guards on each of the published and in-process paths. The published path passed all 13 refusal controls. D3D12 debug layer enabled, no debug errors.
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/3928:upstream-pr/3928'
git switch 'upstream-pr/3928'

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/3928'
git switch 'upstream-pr/3928'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3928'
git switch 'upstream-pr/3928'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3928'
git switch 'main'
git merge --squash 'upstream-pr/3928'
git switch 'main'
git merge --ff-only 'upstream-pr/3928'
git switch 'main'
git merge 'upstream-pr/3928'
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
R0Y00/Xbox2Windows!3928
No description provided.