runtime: bind startup FP32 compute array UAV views #2769
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2777"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by xiaoqi72665 on 2026-11-26T08:04:26Z.
Refs #2742. Follow-up to the merged translator-only #2744 (
624f5927).Changes
Consume the existing
tex2daFP32 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.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.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T08:08:27Z.
Review: COMMENTED
Review + Win2025 WARP receipt for head
d378c2d3.Review (code + fixture tests only; no game data, startup behavior on the title is not claimed):
tex2damanifest 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.startup_compute_dispatch_array_check.pycompares all words after the fence, with wrong-layer and dropped-EXEC controls.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):
ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$': 2/2 passed (array_warp, texture_warp)AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T08:08:22Z.
Review + Win2025 WARP receipt for head
d378c2d3.Review (code + fixture tests only; no game data, startup behavior on the title is not claimed):
tex2damanifest 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.startup_compute_dispatch_array_check.pycompares all words after the fence, with wrong-layer and dropped-EXEC controls.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):
ctest --preset dev -R '^startup_compute_dispatch_(array|texture)_warp$': 2/2 passed (array_warp, texture_warp)AI-assisted; commands listed were executed locally.