runtime: bind startup FP32 compute array UAV views #2777

Manually merged
github merged 1 commit from gh-pr/2777/head into gh-pr/2777/base 2026-11-27 01:22:00 +00:00
Owner

@⁠xiaoqi72665 on GitHub · 2026-11-26 08:04 UTC · original
xiaoqi72665:runtime-fp32-array-uav → main · +198 −13 · 7 files · 1 commits · merged 2026-11-26 08:09 UTC

Refs #2742. Follow-up to the merged translator-only #2744 (624f5927).

Changes

Consume the existing tex2da FP32 compute UAV manifest through the production fixed-table startup runtime. Validate the explicitly described array UAV and its mip/slice range, retain the caller's FirstArraySlice and ArraySize, and refuse an incompatible 2D view before dispatch. The merged translator and its pixel/packed-D16 array refusals are unchanged.

Reuse the existing slot-67/slot-14 consumer and encoded fixture. The test fills six physical RGBA32_FLOAT slices with distinct sentinels, selects four with FirstArraySlice=1, checks relative layers 1/3, full/partial EXEC, and compares all 6,144 words after the fence.

Verified locally

Commit d378c2d3e5; Windows 10 build 19045, DXC 1.8.2502.11. WARP 10.0.19041.5794 and RX 7900 XT 32.0.32029.2010. All four positive array cases per adapter had zero mismatches; wrong-layer and dropped-EXEC controls produced 128 and 32 mismatches respectively. A plain 2D UAV was refused with all 1,024 words unchanged. The ordinary 2D runtime regression also passed on both adapters.

cmake --build --preset dev --target startup_stream_consumer offscreen_check
ctest --preset dev --no-tests=error -j 1 -R '^startup_compute_dispatch_(array|texture)_(warp|hardware)$' -V

4/4 passed on the exact commit; 30/30 adjacent CTests passed on an identical Git source tree (bb834b2), no skips. The D3D12 debug layer is unavailable locally (D3D12GetDebugInterface: 0x887A002D); no debug-layer-clean claim. The unchanged encoded translator fixture passed LLVM 15 assembly verification in the upstream CI job; not a local LLVM run.

Source-built synthetic fixtures only; no game data or title execution. AI-assisted; commands and local GPU tests above were actually executed. Thanks to triggered02 and the maintainers for the translator and review work.

**@⁠xiaoqi72665** on GitHub · 2026-11-26 08:04 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2777) `xiaoqi72665:runtime-fp32-array-uav` → `main` · +198 −13 · 7 files · 1 commits · merged 2026-11-26 08:09 UTC Refs #2742. Follow-up to the merged translator-only #2744 (624f5927). ## Changes Consume the existing `tex2da` FP32 compute UAV manifest through the production fixed-table startup runtime. Validate the explicitly described array UAV and its mip/slice range, retain the caller's FirstArraySlice and ArraySize, and refuse an incompatible 2D view before dispatch. The merged translator and its pixel/packed-D16 array refusals are unchanged. Reuse the existing slot-67/slot-14 consumer and encoded fixture. The test fills six physical RGBA32_FLOAT slices with distinct sentinels, selects four with FirstArraySlice=1, checks relative layers 1/3, full/partial EXEC, and compares all 6,144 words after the fence. ## Verified locally Commit d378c2d3e5bdc38ad48256493293a74de8c278db; Windows 10 build 19045, DXC 1.8.2502.11. WARP 10.0.19041.5794 and RX 7900 XT 32.0.32029.2010. All four positive array cases per adapter had zero mismatches; wrong-layer and dropped-EXEC controls produced 128 and 32 mismatches respectively. A plain 2D UAV was refused with all 1,024 words unchanged. The ordinary 2D runtime regression also passed on both adapters. ```powershell cmake --build --preset dev --target startup_stream_consumer offscreen_check ctest --preset dev --no-tests=error -j 1 -R '^startup_compute_dispatch_(array|texture)_(warp|hardware)$' -V ``` 4/4 passed on the exact commit; 30/30 adjacent CTests passed on an identical Git source tree (bb834b2), no skips. The D3D12 debug layer is unavailable locally (D3D12GetDebugInterface: 0x887A002D); no debug-layer-clean claim. The unchanged encoded translator fixture passed LLVM 15 assembly verification in the upstream [CI job](https://github.com/R0Y00/Xbox2Windows/actions/runs/45777913254/job/139765987360); not a local LLVM run. Source-built synthetic fixtures only; no game data or title execution. AI-assisted; commands and local GPU tests above were actually executed. Thanks to triggered02 and the maintainers for the translator and review work.
Refs #2742. Depends on the translator-only #2744; preserves upstream author and maintainer changes. AI-assisted; synthetic fixtures only.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:21:58 +00:00
github manually merged commit d378c2d3e5 into gh-pr/2777/base 2026-11-27 01:22:00 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 08:08 UTC · original

Review + Win2025 WARP receipt for head d378c2d3.

Review (code + fixture tests only; no game data, startup behavior on the title is not claimed):

  • tex2da manifest line parsed; array UAV view validated (dimension, plane, mip, FirstArraySlice/ArraySize inside the resource, single sample); caller's slice range kept; plain 2D view refused for an array slot. Packed/float format checks still run on both paths.
  • Test startup_compute_dispatch_array_check.py compares all words after the fence, with wrong-layer and dropped-EXEC controls.
  • Linux: python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD: clean.

Verified on Windows Server 2025 (Build 26100, MSVC 14.44 + D3D12 WARP):

  • Debug: ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$': 2/2 passed (array_warp, texture_warp)
  • Release: same regex: 2/2 passed

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 08:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2777#issuecomment-7186232236) Review + Win2025 WARP receipt for head d378c2d3. Review (code + fixture tests only; no game data, startup behavior on the title is not claimed): - `tex2da` manifest line parsed; array UAV view validated (dimension, plane, mip, FirstArraySlice/ArraySize inside the resource, single sample); caller's slice range kept; plain 2D view refused for an array slot. Packed/float format checks still run on both paths. - Test `startup_compute_dispatch_array_check.py` compares all words after the fence, with wrong-layer and dropped-EXEC controls. - Linux: `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `git diff --check origin/main...HEAD`: clean. Verified on Windows Server 2025 (Build 26100, MSVC 14.44 + D3D12 WARP): - Debug: `ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$'`: 2/2 passed (array_warp, texture_warp) - Release: same regex: 2/2 passed AI-assisted; commands listed were executed locally.
Author
Owner

@⁠tedin7 on GitHub · 2026-11-26 08:08 UTC · original · reviewed

Review + Win2025 WARP receipt for head d378c2d3.

Review (code + fixture tests only; no game data, startup behavior on the title is not claimed):

  • tex2da manifest line parsed; array UAV view validated (dimension, plane, mip, FirstArraySlice/ArraySize inside the resource, single sample); caller's slice range kept; plain 2D view refused for an array slot. Packed/float format checks still run on both paths.
  • Test startup_compute_dispatch_array_check.py compares all words after the fence, with wrong-layer and dropped-EXEC controls.
  • Linux: python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, git diff --check origin/main...HEAD: clean.

Verified on Windows Server 2025 (Build 26100, MSVC 14.44 + D3D12 WARP):

  • Debug: ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$': 2/2 passed (array_warp, texture_warp)
  • Release: same regex: 2/2 passed

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-26 08:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2777#pullrequestreview-6070461349) · **reviewed** Review + Win2025 WARP receipt for head d378c2d3. Review (code + fixture tests only; no game data, startup behavior on the title is not claimed): - `tex2da` manifest line parsed; array UAV view validated (dimension, plane, mip, FirstArraySlice/ArraySize inside the resource, single sample); caller's slice range kept; plain 2D view refused for an array slot. Packed/float format checks still run on both paths. - Test `startup_compute_dispatch_array_check.py` compares all words after the fence, with wrong-layer and dropped-EXEC controls. - Linux: `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `git diff --check origin/main...HEAD`: clean. Verified on Windows Server 2025 (Build 26100, MSVC 14.44 + D3D12 WARP): - Debug: `ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$'`: 2/2 passed (array_warp, texture_warp) - Release: same regex: 2/2 passed AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.