shader: cover five 64-bit scalar bit-field extract lowerings #685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/691"
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 Leyukaka on 2026-11-22T20:34:49Z.
Change
This closes five coverage gaps in the
s_bfe_u64/s_bfe_i64lowering oftools/pixel_aot.py. Each was a one-line mutation that passed every WARP test onmain. Onlytests/pixel_aot_check.pychanges (4 added lines); the translator does not.(1, 0x800000): only reserved bit 23 set, so width and offset stay 0 and the result is 0(0x1000000010000000, 0x3c0001): a 60-bit field at offset 1Both rows go through the existing
scalar_bfe64program and its Python reference, and are appended after the existing ones, so the cross-op mismatch control keeps its index.Verification
On
9be5a34(branch on3b9bb1a), Windows 11 build 26300.9974, MSVC 14.44.35207, Python 3.14, WARP:All 297 tests pass.
Each mutation was applied to
tools/pixel_aot.pyone at a time, and all WARP tests were run. Onmain, all of them passed for each mutation. A control that shifted the alignment by one bit was caught bypixel_aot_blend_scalar_warp, so the run does detect a broken translator. On this branch, each of the five mutations failspixel_aot_blend_scalar_warp.#688 also edits the
s_bfe_[ui]64handling andtests/pixel_aot_check.py, so one of the two may need a rebase.Checklist
AI-assisted.