tests: fix NameError in the carry-chain draw that breaks pixel_aot_predicate_rounding on main #746
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/752"
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 rasptum on 2026-11-23T00:50:17Z.
Change
mainis red since #695 merged (67edabe):pixel_aot_predicate_rounding_warpandpixel_aot_predicate_rounding_hardwareraiseThe last loop of
check_scalar_carry_chain_drawintests/pixel_aot_check.pycallssubprocess.run(draw, check=True), but that function has nodraw. It looks like the line was written against an older shape of the function. This PR replaces it with the command the rest of the function uses for the case it has just written:One line, tests only. No translator change, no reference value changed. The two rows that loop draws (
s_addc_u32with a0xffffffffoperand, high A = 1 and 0) now actually run and match.Verification
Windows 10 Pro 22H2 (10.0.19045), DXC from Windows SDK 10.0.26100.0, debug layer enabled. Based on
356a7be.356a7bepython -B tests/pixel_aot_check.py draw-predicate-rounding <dxc> <offscreen_check> warp(WARP 10.0.19041.5794)NameErrorhardware(NVIDIA GeForce RTX 3060, driver 32.0.15.9636)I did not run the full CTest suite for this one-line change; CI on this PR covers it.
cc @Leyukaka since this touches the control added in #695.
AI assistance: found and written with Claude (Claude Code); the commands above were run on my own machine.
🤖 Generated with Claude Code