shader_ir: the docstring gives "invalid" as a count, which is what parse_file returns #365

Closed
KoLolX3 wants to merge 1 commit from upstream-pr/365 into main
KoLolX3 commented 2026-11-24 03:56:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by KoLolX3 on 2026-11-24T03:56:36Z.


Takes over draft #91 (carried over from the original repo by its author, KoLolX3). Corrects the shader_ir.parse_file docstring: invalid counts invalid instruction encoding lines rather than holding a list of PCs.

Rebased on main 237deb64. Verified python -I tests/test_rdna2_decode.py (20 tests), the full semantic suite (487 files, 6,279 tests, zero failed files), compileall, make_game.py --help, check_no_game_data.py for the changed file, and git diff --check on Linux. No GPU test is needed for this documentation-only change; synthetic tests only, no game data.

GPUs tested: n/a for this rebase.

AI-assisted: yes (Claude Code and OpenAI Codex).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465787412 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/365). Originally posted by [KoLolX3](https://github.com/KoLolX3) on 2026-11-24T03:56:36Z. --- Takes over draft #91 (carried over from the original repo by its author, KoLolX3). Corrects the `shader_ir.parse_file` docstring: `invalid` counts invalid instruction encoding lines rather than holding a list of PCs. Rebased on `main` `237deb64`. Verified `python -I tests/test_rdna2_decode.py` (20 tests), the full semantic suite (487 files, 6,279 tests, zero failed files), compileall, `make_game.py --help`, `check_no_game_data.py` for the changed file, and `git diff --check` on Linux. No GPU test is needed for this documentation-only change; synthetic tests only, no game data. GPUs tested: n/a for this rebase. AI-assisted: yes (Claude Code and OpenAI Codex).
DadaCap commented 2026-11-28 10:33:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T10:33:51Z.


Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures.

Reason: docstring wording only.

If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7237977860 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/365#issuecomment-7237977860). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T10:33:51Z. --- Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures. Reason: docstring wording only. If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!365
No description provided.