Skip to content

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

Open
Leyukaka wants to merge 4 commits into
R0Y00:mainfrom
Leyukaka:takeover-3305
Open

Leyukaka wants to merge 4 commits into
R0Y00:mainfrom
Leyukaka:takeover-3305

Conversation

@Leyukaka

@Leyukaka Leyukaka commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

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 Dec 2, 2026

Copy link
Copy Markdown
Owner

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 Dec 3, 2026

Copy link
Copy Markdown
Owner

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 commented Dec 3, 2026

Copy link
Copy Markdown
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants