shader: derive the scanner's pixel ALU forms from pixel_aot #300
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!300
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/300/head"
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?
@Vonsek on GitHub · 2026-11-21 21:26 UTC · original
Vonsek:pso-scanner-pixel-forms→main· +26 −6 · 2 files · 1 commits · merged 2026-11-21 21:56 UTCChange
tools/scan_unsupported_shaders.pykept its own list of vector ALU opcodes. It had drifted frompixel_aot.ALU:v_floor_f32,v_fract_f32andv_trunc_f32were not recognized, sopso_readinessreportedunsupported_opcodesfor pipelines thatpixel_aotalready lowers. The supported-instruction regex also omitted the add/mul/sqrt/rsq/floor/fract/trunc/subrev forms.The scanner now builds
SUPPORTED_ALU, the supported-instruction regex alternation and the recognized opcode set frompixel_aot.ALU.pixel_aotwas already imported by the scanner, so there is no new dependency or import cycle.PRs that add entries to
pixel_aot.ALU(#274, #169, #232, #257) need no scanner edit once this lands. #274 also edits the scanner opcode list; its ceil/rndne entries become redundant but do not conflict semantically.Verification
python -B tests/pso_readiness_check.py: a pipeline whose shader usesv_floor_f32,v_fract_f32,v_trunc_f32,v_add_f32andv_mul_f32isneeds_pso_validation; a new check asserts everypixel_aot.ALUentry is recognized and supported by the scanner.unsupported_opcodes: v_floor_f32_e32, v_fract_f32_e32, v_trunc_f32_e32, and the drift check fails onv_sqrt_f32.ctest --preset dev --no-tests=error -R '^pso_readiness_check$' -Vat02dbbd4on Windows 11 build 26200.9974, VS Build Tools 2022 17.14 (MSVC 14.44.35207), Windows SDK 10.0.26100, Python 3.12: passed.tests/rdna2_tools_check.pyalso passes (27 tests, 1 skipped). The fullctest --preset dev --no-tests=errorpassed 136/136, withbvh_wave64_hardware,bvh_wave64_warpandwave_shuffle_warpskipped.Evidence and follow-up
Only entries in
pixel_aot.ALUare derived. Other lowered families (compares, conversions, scalar ops) still rely on the scanner's own lists; the compare family is already covered by thev_cmp_prefix rule.@chatgpt-codex-connector[bot] on GitHub · 2026-11-21 21:31 UTC · original · edited 2026-11-21 21:33 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
02dbbd4ℹ️ 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.