runtime: publish narrow half-float texture UAV stores #3766

Open
Leyukaka wants to merge 4 commits from upstream-pr/3766 into main
Leyukaka commented 2026-12-01 17:41:43 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-12-01T17:41:43Z.


Refs #3224

Takes over #3305 by @RonLogic, which had no activity for 48 h. Their commits are kept unchanged; I will hand back if they resume. Supersedes #3305.

Changes

Rebased the two original commits onto main 959306d4, retaining the indexed atomic guards and the existing volume fixture modes. The publication control covers refusal of a 1D array. Two test commits on top: a finite WSize on the D16 volume view, and an out-of-range WSize control that expects the refusal, no translated Dispatch and no debug-layer error.

Verification

Commit 215a07cff, dev preset, targets compile_dxil startup_stream_consumer offscreen_check:

ctest --preset dev --no-tests=error -R '^(startup_compute_((half_image_uav|indexed_atomic_uav)_(controls|warp|hardware)|dispatch_texture_(native_)?(warp|hardware)|image_store.*|dispatch_two_mips_(warp|hardware))|native_image_store_exact_width_.*)$' -V

32 selected, 0 failed: 23 passed, 9 WARP cases skipped (the WARP adapter lacks the required capability; the hardware cases ran).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5591136267 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3766). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-12-01T17:41:43Z. --- Refs #3224 Takes over #3305 by @RonLogic, which had no activity for 48 h. Their commits are kept unchanged; I will hand back if they resume. Supersedes #3305. ## Changes Rebased the two original commits onto `main` `959306d4`, retaining the indexed atomic guards and the existing volume fixture modes. The publication control covers refusal of a 1D array. Two test commits on top: a finite WSize on the D16 volume view, and an out-of-range WSize control that expects the refusal, no translated Dispatch and no debug-layer error. ## Verification Commit `215a07cff`, `dev` preset, targets `compile_dxil startup_stream_consumer offscreen_check`: ``` ctest --preset dev --no-tests=error -R '^(startup_compute_((half_image_uav|indexed_atomic_uav)_(controls|warp|hardware)|dispatch_texture_(native_)?(warp|hardware)|image_store.*|dispatch_two_mips_(warp|hardware))|native_image_store_exact_width_.*)$' -V ``` 32 selected, 0 failed: 23 passed, 9 WARP cases skipped (the WARP adapter lacks the required capability; the hardware cases ran).
R0Y00 commented 2026-12-02 02:09:29 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-02T02:09:29Z.


Windows fails startup_triage_run because a D16 image store requires a matching half-float UAV and resource is missing from COMPUTE_DISPATCH_REASONS. Linux reports both startup_triage_run_check.py and standin_exports_check.py. Please add the new reason and reconcile the export expectations on the rebased head.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7332534632 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7332534632). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-02T02:09:29Z. --- Windows fails `startup_triage_run` because `a D16 image store requires a matching half-float UAV and resource` is missing from `COMPUTE_DISPATCH_REASONS`. Linux reports both `startup_triage_run_check.py` and `standin_exports_check.py`. Please add the new reason and reconcile the export expectations on the rebased head.
R0Y00 commented 2026-12-03 07:14:31 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T07:14:31Z.


I traced the remaining merge conflict at 215a07cf against main 29bb2aed: it’s in startup_stream_consumer.cpp, where the volume modes and Texture3D setup now overlap. When rebasing, please keep main’s texture-volume-atomic and texture-volume-atomic-bad-w modes and their WSize refusal alongside the half-float shifted and bad-WSize cases. The old Windows failure is still the triage reason check discussed above. Please rerun both CI jobs after resolving the consumer conflict and updating the reason/export assertions.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7370760226 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7370760226). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-03T07:14:31Z. --- I traced the remaining merge conflict at `215a07cf` against `main` `29bb2aed`: it’s in `startup_stream_consumer.cpp`, where the volume modes and `Texture3D` setup now overlap. When rebasing, please keep main’s `texture-volume-atomic` and `texture-volume-atomic-bad-w` modes and their WSize refusal alongside the half-float shifted and bad-WSize cases. The old [Windows failure](https://github.com/R0Y00/Xbox2Windows/actions/runs/46706147270/job/142852710892) is still the triage reason check discussed above. Please rerun both CI jobs after resolving the consumer conflict and updating the reason/export assertions.
R0Y00 commented 2026-12-03 08:20:53 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T08:20:53Z.


I tested a local integration of 215a07cf with main d2e6a4ed. I kept the current atomic volume modes and WSize checks alongside the half-float volume modes in startup_stream_consumer.cpp. The stand-in catalog already passes on that baseline (478 cases, all six mutations), with no extra count change. The triage check reproduces the old failure until a D16 image store requires a matching half-float UAV and resource is added to COMPUTE_DISPATCH_REASONS; it passes with that one addition.

MSVC Debug, Windows 11 build 26300, serial source-built tests: startup_compute_half_image_uav, startup_compute_indexed_atomic_uav, startup_compute_dispatch_texture and native_image_store_exact_width selected 24 tests. 15 passed, including the RTX 4060 Laptop runtime cases and compile/refusal controls. Nine WARP cases skipped for wave32 capability, zero failures. Please carry the consumer resolution and reason entry into the branch update so hosted CI can validate the resulting commit.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7372147127 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7372147127). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-12-03T08:20:53Z. --- I tested a local integration of `215a07cf` with `main` `d2e6a4ed`. I kept the current atomic volume modes and WSize checks alongside the half-float volume modes in `startup_stream_consumer.cpp`. The stand-in catalog already passes on that baseline (478 cases, all six mutations), with no extra count change. The triage check reproduces the old failure until `a D16 image store requires a matching half-float UAV and resource` is added to `COMPUTE_DISPATCH_REASONS`; it passes with that one addition. MSVC Debug, Windows 11 build 26300, serial source-built tests: `startup_compute_half_image_uav`, `startup_compute_indexed_atomic_uav`, `startup_compute_dispatch_texture` and `native_image_store_exact_width` selected 24 tests. 15 passed, including the RTX 4060 Laptop runtime cases and compile/refusal controls. Nine WARP cases skipped for wave32 capability, zero failures. Please carry the consumer resolution and reason entry into the branch update so hosted CI can validate the resulting commit.
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/3766:upstream-pr/3766'
git switch 'upstream-pr/3766'

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