tests: follow the f-suffixed literals in three shader fixtures #3622
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-30T15:55:07Z.
Change
#3568 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 #3621,
native_direct_mesh, is already fixed onmainby #3616 (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. #3606 added theslot 86 heap checks to that preset; #3554 is the case for extending it to these fixtures.
Refs #3621 (three of its four cases; the fourth is #3616).
Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-11-30T16:16:47Z.
@KelboLive, #3616 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).Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-30T17:13:56Z.
Review: APPROVED
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)$'.