tests: four main failures are stale expectations after the shader merges, not the async-compute change #3623
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#3623
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@KelboLive on GitHub · 2026-11-30 15:46 UTC · original
tests: four
mainfailures are stale expectations after the shader merges, not the async-compute changeSummary
A full in-box run of the non-hardware suite on
35a3f6d54(2,274 tests) gives 2,212 passed, 57 skipped,5 failed. One is the census report fixed by #3604. The other four are pre-existing expectations that
recent shader merges invalidated.
I checked attribution rather than assuming: all four fail identically at
077bff3ac, which is before#3453's worker-thread compute translation, so the async-compute change introduced none of them.
Environment: Windows 10.0.26200, RTX 4070 Ti SUPER driver 32.0.16.2101, in-box dev preset.
1.
native_direct_mesh: a refusal became a clamptests/native_direct_mesh_check.py:521expectstoo-many-primitivesto be refused withexceeds declared range. It now compiles (returncode 0, 2,386 bytes). #3539 (617ce7cf9) replaced thatrefusal with a clamp:
The string now exists only in the test. Either the case should assert the clamped value, or it should go.
2 and 3.
startup_image_sample_b_flow_warp,startup_image_get_lod_flow_warp: parser versus emitted HLSLBoth fail in
mutants()before any pixel check runs:write = re.search(r'\n\s*if \(exec & 1\) v2 = U\(-?0\.5 \+ F\(v2\)\);', hlsl)no longer matches thegenerated HLSL, so the mutation cannot be built. The tests report their normal first lines and then die in
the parser, so the shader may well be correct — the fixture needs the new shape.
4.
startup_gfx2hlsl_cvt_off_f32_i4_warp: a program that is now acceptedThe failure is an assertion whose message is
(0, <generated HLSL>): the case expected a refusal and thetranslator returned success. The generated text uses
minmax_zero32fromtools/pixel_aot.py, which is thesigned-zero min/max lowering, so the case looks like a refusal that the newer lowering made supported.
Suggested resolution
All four are test-only; none is a translator defect that I can see. They are the same class as #3604: a
behaviour change landed and the fixture that pins the old behaviour was not updated in the same change.
Happy to send them as one PR per test, or one PR for the two flow fixtures if that is preferred.
The count also says something about CI: none of these four runs in the
prpreset, so each merged green andonly failed on
main. #3608 just added the slot 86 heap checks to that preset, which is the mechanism;this is the case for extending it to the shader fixtures too (#3556).
Refs #3539, #3604, #3608, #3556.
github-bot referenced this issue2026-11-30 15:55:48 +00:00
@lukaslw-lab on GitHub · 2026-11-30 15:50 UTC · original
@KelboLive, item 1 (
native_direct_mesh) is fixed in #3618, which makes the test expect #3539's clamp instead of the old refusal. The test passes on this host with #3618 applied (ctest -R "^native_direct_mesh$": 1/1 passed); #3621 also depends on it.@KelboLive on GitHub · 2026-11-30 17:47 UTC · original
All four cases are fixed:
native_direct_mesh: #3618 (9cb905e4f), with a stronger assertion than mine — it checks the clamped values reachsetMeshOutputCounts.startup_image_sample_b_flow_warp,startup_image_get_lod_flow_warpandstartup_gfx2hlsl_cvt_off_f32_i4_warp: #3624 (a14423129), thef-suffixed literal patterns.Verified on hardware at
bee9c64d9:startup_gfx2hlsl_cvt_off_f32_i4_hardware1.98 s,startup_image_sample_b_flow_hardware13.57 s,startup_image_get_lod_flow_hardware6.25 s, all passed.The remaining failure from the same sweep,
startup_compute_dispatch_sampler_heap_hardware, was a separate regression from #3453 and is fixed by #3628 — reported and closed in #3631.