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

Open
github-bot wants to merge 4 commits from github-bot/gh-3766 into main AGit
Owner

@⁠Leyukaka on GitHub · 2026-12-01 17:41 UTC · original
Leyukaka:takeover-3305 → main · +280 −22 · 7 files · 4 commits · open

Refs #3226

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

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).

**@⁠Leyukaka** on GitHub · 2026-12-01 17:41 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3766) `Leyukaka:takeover-3305` → `main` · +280 −22 · 7 files · 4 commits · open Refs #3226 Takes over #3307 by @⁠RonLogic, which had no activity for 48 h. Their commits are kept unchanged; I will hand back if they resume. Supersedes #3307. ## 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).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 17:46:30 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-12-02 02:09 UTC · original

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** on GitHub · 2026-12-02 02:09 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7332534632) 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.
Author
Owner

@⁠R0Y00 on GitHub · 2026-12-03 07:14 UTC · original

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.

**@⁠R0Y00** on GitHub · 2026-12-03 07:14 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7370760226) 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.
Author
Owner

@⁠R0Y00 on GitHub · 2026-12-03 08:20 UTC · original

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.

**@⁠R0Y00** on GitHub · 2026-12-03 08:20 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/3766#issuecomment-7372147127) 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 has changes conflicting with the target branch.
  • src/direct_compute_cache.cpp
  • src/startup_stubs/d3d12_compute_dispatch.inl
  • tests/startup_stream_consumer.cpp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3768/head:github-bot/gh-3766'
git switch 'github-bot/gh-3766'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3766'
git switch 'github-bot/gh-3766'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3766'
git switch 'github-bot/gh-3766'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3766'
git switch 'main'
git merge --squash 'github-bot/gh-3766'
git switch 'main'
git merge --ff-only 'github-bot/gh-3766'
git switch 'main'
git merge 'github-bot/gh-3766'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.