Repository navigation
runtime: bind startup FP32 compute array UAV views - #2777
Merged
Merged
Conversation
Refs R0Y00#2742. Depends on the translator-only R0Y00#2744; preserves upstream author and maintainer changes. AI-assisted; synthetic fixtures only.
Collaborator
|
Review + Win2025 WARP receipt for head d378c2d. Review (code + fixture tests only; no game data, startup behavior on the title is not claimed):
Verified on Windows Server 2025 (Build 26100, MSVC 14.44 + D3D12 WARP):
AI-assisted; commands listed were executed locally. |
tedin7
reviewed
Nov 26, 2026
tedin7
left a comment
Collaborator
There was a problem hiding this comment.
Review + Win2025 WARP receipt for head d378c2d.
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.- Test
startup_compute_dispatch_array_check.pycompares 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #2742. Follow-up to the merged translator-only #2744 (624f592).
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 d378c2d; 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.