Skip to content

Scripts: print unbounded BVH ranges in ASCII - #2655

Open
luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/bvhb-unbounded-ascii
Open

luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/bvhb-unbounded-ascii

Conversation

@luckyteagirl

Copy link
Copy Markdown
Contributor

The BVH shader inspector prints an infinity symbol for an unbounded descriptor range. When stdout uses the common Windows CP1252 code page, printing that symbol raises UnicodeEncodeError and stops extraction even though the DXBC was valid. Spell the range as unbounded so the report remains readable on that console.

What is in it

  • Print unbounded for a UINT_MAX descriptor count; preserve the register class and starting register.
  • Add a synthetic DXBC/RTS0 CLI fixture with bounded and unbounded ranges under CP1252.

Tested

Regression run

  • Not applicable. Only the Python inspector and its synthetic fixture changed.

Not tested

  • Extraction from a retail binary, Rust workspace tests, GPU tests, or a title smoke run.

AI use

  • Codex (GPT-6.2 Sol) implemented and tested the change; another Codex Sol agent independently reproduced the main failure and reviewed the patch.

@luckyteagirl
luckyteagirl marked this pull request as ready for review November 26, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant