tests: follow the f-suffixed literals in three shader fixtures #3624
No reviewers
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!3624
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3622"
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:55 UTC · original
KelboLive:tests/stale-shader-expectations→main· +4 −4 · 3 files · 1 commits · merged 2026-11-30 17:15 UTCChange
#3570 writes binary32 literals with an
fsuffix, so the patterns three fixtures mutate stopped matching:startup_image_sample_b_flow_check.pymutants()matched nothing and failed onNoneType.groupstartup_image_get_lod_flow_check.pystartup_gfx2hlsl_cvt_off_f32_i4_check.pyThe fourth case from #3623,
native_direct_mesh, is already fixed onmainby #3618 (9cb905e4f), with astronger assertion than I had: it checks the clamped values are wired into
setMeshOutputCounts. This branchnow leaves that file alone.
Verification
In-box dev preset, rebased onto
cf43986db:The two flow fixtures and the
cvt_offfixture run their full pixel comparisons and mutation checks afterthe pattern change, so the parsers are exercised rather than skipped.
Why nobody saw it
None of the three runs in the
prpreset, so each merged green and only failed onmain. #3608 added theslot 86 heap checks to that preset; #3556 is the case for extending it to these fixtures.
Refs #3623 (three of its four cases; the fourth is #3618).
tests: follow the clamp and the f-suffixed literals in four fixturesto tests: follow the f-suffixed literals in three shader fixturesd29539b535to8c52954613@lukaslw-lab on GitHub · 2026-11-30 16:16 UTC · original
@KelboLive, #3618 merged at 15:46 with the same
too-many-primitiveschange, so thenative_direct_mesh_check.pyhunk here now conflicts withmain. The merged version ties eachselectto itsicmp ugtand checks that those two values reachsetMeshOutputCounts, so the hunk can be dropped. The threef-suffix fixes are still needed (startup_gfx2hlsl_cvt_off_f32_i4_warpalso fails here on Windows 10 atmain).@R0Y00 on GitHub · 2026-11-30 17:13 UTC · original · approved these changes
Reviewed the three fixture-only changes at this revision. The mutations still exercise the original negative controls, and the replacement preserves the literal suffix. Windows Debug/WARP 3/3 via
ctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^(startup_image_(sample_b|get_lod)_flow_warp|startup_gfx2hlsl_cvt_off_f32_i4_warp)$'.