scan_unsupported_shaders: track 32-bit integer operations from #232 #505

Manually merged
github merged 2 commits from gh-pr/505/head into gh-pr/505/base 2026-11-26 21:57:24 +00:00
Owner

@⁠Holastor on GitHub · 2026-11-22 08:28 UTC · original
Holastor:scanner/track-integer-bitwise → main · +24 −2 · 3 files · 2 commits · merged 2026-11-22 08:48 UTC

Change

Follow up on #232 to register the newly lowered 32-bit vector bitwise and shift operations (pixel_aot.INTEGER: v_and_b32, v_or_b32, v_xor_b32, v_not_b32, v_bfi_b32, v_lshlrev_b32, v_lshrrev_b32, v_ashrrev_i32) in tools/scan_unsupported_shaders.py.

Also adds v_bfi_b32 to recognized RDNA 2 base VOP3 opcodes, verifies scanner tracking in tests/pso_readiness_check.py, and adds GFX10 VOP2 disassembly vectors for the shift and bitwise instructions in tests/rdna2_tools_check.py.

Refs #232

Verification

Tested on commit 28d3f41:

.\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py
# Ran 30 tests in 0.705s: OK (skipped=1)

.\out\pe-env\Scripts\python.exe -B tests/pso_readiness_check.py
# PSO census, evidence states, and native hash control passed: OK

.\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py
# Checked 464 tracked source, script and build/CI files: no bidirectional controls.

Evidence and follow-up

The opcodes and arity are imported directly from pixel_aot.INTEGER, ensuring scan_unsupported_shaders.py cannot drift from the translator. tests/pso_readiness_check.py asserts that all pixel_aot.INTEGER instructions are recognized and marked supported.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted: rebased and drafted with Google Antigravity.

**@⁠Holastor** on GitHub · 2026-11-22 08:28 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/505) `Holastor:scanner/track-integer-bitwise` → `main` · +24 −2 · 3 files · 2 commits · merged 2026-11-22 08:48 UTC ## Change Follow up on #232 to register the newly lowered 32-bit vector bitwise and shift operations (`pixel_aot.INTEGER`: `v_and_b32`, `v_or_b32`, `v_xor_b32`, `v_not_b32`, `v_bfi_b32`, `v_lshlrev_b32`, `v_lshrrev_b32`, `v_ashrrev_i32`) in `tools/scan_unsupported_shaders.py`. Also adds `v_bfi_b32` to recognized RDNA 2 base VOP3 opcodes, verifies scanner tracking in `tests/pso_readiness_check.py`, and adds GFX10 VOP2 disassembly vectors for the shift and bitwise instructions in `tests/rdna2_tools_check.py`. Refs #232 ## Verification Tested on commit `28d3f41`: ```powershell .\out\pe-env\Scripts\python.exe -B tests/rdna2_tools_check.py # Ran 30 tests in 0.705s: OK (skipped=1) .\out\pe-env\Scripts\python.exe -B tests/pso_readiness_check.py # PSO census, evidence states, and native hash control passed: OK .\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py # Checked 464 tracked source, script and build/CI files: no bidirectional controls. ``` ## Evidence and follow-up The opcodes and arity are imported directly from `pixel_aot.INTEGER`, ensuring `scan_unsupported_shaders.py` cannot drift from the translator. `tests/pso_readiness_check.py` asserts that all `pixel_aot.INTEGER` instructions are recognized and marked supported. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted: rebased and drafted with Google Antigravity.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:57:23 +00:00
github manually merged commit f4e859e978 into gh-pr/505/base 2026-11-26 21:57:24 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.