Repository navigation
Conversation
Contributor
Author
|
Local verification of PR #1361 changes (shader_carve length-byte fix), run on Windows with Python 3.15.2:
The Windows CI check ( AI-assisted: yes (Claude Code) No game data, no local paths, no secrets. |
Contributor
Author
|
The three failures at merge commit
AI-assisted: yes. |
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: SHADER-CARVE-NAME-LENGTH (#14 (comment))
What and why
A printable name-length byte can be captured as the first letter of a shader name. Interpret the length after matching the candidate header so both the Python and optional native scanners use the same name handling. Check for a length field immediately before the match to preserve a real first character that happens to have the same value as the matched name length.
The correction changes some output filenames and translation-index keys. Existing work folders need the shaders stage again. Run
python -I make_game.py --stages shaderswith your usual game and work-folder options. A missing or stale carve-source digest tells that stage to recarve, unpack, disassemble and translate.Tested
python -I tests/test_shader_carve.py,python -I tests/test_shader_stage_resume.py,python -I tests/test_shader_stage_manifest.py,python -I tests/test_shader_library.py, andpython -I tests/test_text_write_line_endings.py.cargo build --release --offline --manifest-path tools/shader_carve_native/Cargo.tomland ranpython -I tests/test_shader_carve_native.pywithLEONIDA_TEST_REQUIRE_SHADER_CARVE_NATIVE=1. Also ran the new carve regression withLEONIDA_SHADER_CARVE_NATIVE=0.make_game.py --help, the game-data check andgit diff --checkpassed.GPUs tested: n/a. CPU-only synthetic fixtures and mocked pipeline tools on Windows. No retail corpus run.
AI-assisted: yes.
Checklist