pixel_aot: support partial uncompressed export masks on the ordinary path #924
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/931"
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 triggered02 on 2026-11-23T17:43:39Z.
Implements the remaining ordinary/integer slice of #361: partial uncompressed RT0 export masks.
eturn_write_mask opt-in for floating-point and integer targets. Disabled integer channels pad with u. The pixel_aot.py CLI passes the opt-in and reports the mask as
t0_write_mask in its JSON summary so the caller can set the PSO. Full-mask behavior is unchanged.
Non-pair compressed masks remain rejected; that separate evidence requirement stays out of this PR.
Validation on Windows 11 Pro 26200, GTX 1660 SUPER (driver 32.0.16.1074), MSVC 19.52, DXC 1.9.2602.17:
elease: 14/14 selected pixel_aot_* tests pass, including pixel_aot_uncompressed_integer_export_{warp,hardware} and the existing uncompressed float draws.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-23T17:43:53Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
756bc6fℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:08:59Z.
I reviewed the refreshed head. The Python API already requires callers to opt in and apply the mask. The CLI still opts in on every call, so older callers can now receive a partial shader and unknowingly write disabled channels with a full PSO mask. It also changes the old compressed RG output shape. Please preserve the default CLI behavior and add an explicit --rt0-write-mask for uncompressed exports. I tested that local adjustment with LLVM 15, including refusal without the flag and refusal of compressed exports through the new option. The eight focused WARP and RTX draws also pass. I held the push when the branch advanced.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T18:15:17Z.
I applied the tested CLI opt-in to the refreshed head. The default CLI keeps its existing behavior. The LLVM 15 controls verify partial uncompressed output with the flag and refuse it without the flag, and the flag refuses compressed exports. The integer draw and both mutation controls passed on WARP and RTX 4060 Laptop on this candidate.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T18:18:14Z.
Synced the latest --rt0-write-mask change on this branch. Local in-process CLI checks confirm: a partial uncompressed export is refused without the flag, succeeds with it and reports
t0_write_mask, a compressed export is refused with the flag, and a full uncompressed export without the flag omits the field. docs_links_check.py, idi_controls_check.py and git diff --check pass; the LLVM binary job is rerunning.
AI-assisted.