Skip to content

docs: README lists all five fallback flags, not four - #3154

Open
FreeFlex3244 wants to merge 1 commit into
ItsNotRexed:mainfrom
FreeFlex3244:docs/fallback-flags
Open

FreeFlex3244 wants to merge 1 commit into
ItsNotRexed:mainfrom
FreeFlex3244:docs/fallback-flags

Conversation

@FreeFlex3244

@FreeFlex3244 FreeFlex3244 commented Nov 22, 2026 •

Copy link
Copy Markdown

Claimed in the coordination issue as: #3047 (comment)

What and why

make_game.FALLBACK_FLAGS (make_game.py:886-888) forwards five translator fallbacks, but the README paragraph said "Four" and named four: --f16-interp-fallback (#1407, documented at docs/design.md:356) was missing. That is the flag Apple/MoltenVK users need, and it is also the one the build turns on by itself when the runtime's GPU can't take per-vertex inputs (make_game.py:1594-1597), so the README hid both the flag and the automatic behaviour. The same sentence still said --no-float-controls "needs PR #664's translator flag", although #664 merged at 18:06 today and the flag is on main.

Changes:

No translator, runtime or format change.

Tested

Windows 11, Python 3.15.0 (-I throughout; newer than CI's 3.12). No game files.

python -I tests/test_docs_fallback_flags.py      Ran 4 tests ... OK
python -I tests/test_docs_links.py               Ran 5 tests ... OK
python -I tests/test_docs_repo_paths.py          Ran 2 tests ... OK
python -I tests/test_docs_list_items.py          Ran 2 tests ... OK
python -I tests/test_docs_design_rows.py         Ran 2 tests ... OK
python -I tests/test_i18n_index.py               Ran 5 tests ... OK
python -I tests/test_make_game_argparse.py       Ran 36 tests ... OK
python -I tests/test_make_game_preflight.py      Ran 65 tests ... OK
python -m compileall -q make_game.py tools tests exit 0
python -I make_game.py --help                    exit 0

The new test was also run against git show HEAD:README.md before the fix, where it reports the missing flag and Four, so it fails on the defect rather than passing regardless.

No GPU used: the machine has a GTX 1080 Ti (NVIDIA driver 32.0.15.8278), but nothing here touches it, and no shader, runtime or GPU test was run.

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a: no translator rule)

Depends on: none.

OpenCode AI-Assisted.

make_game.FALLBACK_FLAGS forwards five translator fallbacks, including --f16-interp-fallback (ItsNotRexed#1407), which the README never named, and the sentence kept saying 'Four'. Name the flag the way its --help does, and drop the note that --no-float-controls needs ItsNotRexed#664's translator flag, since ItsNotRexed#664 merged.
@bobcatchris

Copy link
Copy Markdown
Contributor

Verified #3154 on origin/main 16282101, Windows 11, Python 3.12.0 — the "five, not four" claim holds, and the test fails without the README change.

  • On the PR branch, make_game.py forwards all five: --no-float-controls, --bary-fallback, --texel-offset-fallback, --f16-interp-fallback, --mesh-compute (three occurrences each: definition, help text, forward site). Main's "four" came from counting only the --*-fallback names — --no-float-controls and --mesh-compute are the two that don't match that pattern, which is exactly how the count drifted.
  • python -IB tests/test_docs_fallback_flags.py → 4 tests, OK on the branch.
  • Control: same test, PR's make_game.py, but README.md restored to main → 2 failures, test_readme_names_every_forwarded_fallback and test_readme_states_how_many_there_are. So the test pins the prose, not just its own existence, and it would have caught the original off-by-one.

The (Depends on: #664) removal in the --no-float-controls help is fine by me — that issue is long closed and the rest of the sentence still says what the flag does. One nit, non-blocking: test_docs_fallback_flags.py parses README.md, so it is a docs test living in the stdlib-checked tree; it runs in 9 ms and needs no network, so the check job handles it fine — no action needed.

@tomgamer22 tomgamer22 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README now names all five entries of FALLBACK_FLAGS (make_game.py:886-888), and the automatic --f16-interp-fallback claim matches make_game.py:1594-1597. The new test fails on the old README (a missing flag, and "Four"). test_make_game_argparse and test_ci_registration still pass. AI-assisted review (Claude Code).

t91a60 added a commit to t91a60/Leonida that referenced this pull request Nov 23, 2026
Applies the five changes @Dom-in listed for 3faac55: the conda-forge llvm-tools route for llvm-mc, the pipeline cache the runtime does not load yet, gta6rt --overlay for a read-only package, spirv/index.json next to the .s files, and the decoder record. Also lists all six fallback flags instead of a stale four (the English README still says four; ItsNotRexed#3154 covers it) and moves the synced commit in the header and in docs/i18n/README.md.
t91a60 added a commit to t91a60/Leonida that referenced this pull request Nov 23, 2026
Applies the five changes @Dom-in listed for 3faac55: the conda-forge llvm-tools route for llvm-mc, the pipeline cache the runtime does not load yet, gta6rt --overlay for a read-only package, spirv/index.json next to the .s files, and the decoder record. Also lists all six fallback flags instead of a stale four (the English README still says four; ItsNotRexed#3154 covers it) and moves the synced commit in the header and in docs/i18n/README.md.
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.

3 participants