mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:30:53 +01:00
[PR #2138] [MERGED] [integration] RT-BOOT-COMBINED: translator fixes + null-barrier fix on main; scripted pad past legal terms to the story load #2143
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2143
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2138
Author: @ubiquitarianism
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:integration/boot-combined📝 Commits (10+)
4b9a891fspx_unpack: code_range takes the 24-byte prologue of some pipeline-library programsebcb0actools: decode the pipeline-library compute programs llvm-mc refusesbf0c4d9tests: fspx_unpack takes the decoder listing when llvm-mc reports invalid wordsbec14f2tools: the last pipeline-library compute programs of 1.0.2.14e1ca11fix: shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 words llvm-mc rejects, so the FSR4 FSPX programs translate570db1dshader_library: keep each state of a compute program, select by code hash (TOOLS-LIBRARY-COMPUTE-BY-HASH)0cb367cMerge #674 (vcc-tuple-resync): restore_vcc_tuples, the one restore pass156a056Merge #583 (FSPX short prologue)79cf7e7Merge #1281 (shader library keeps each compute state, select by code hash)f7b4aa7Merge #1317 (print the v_dot4_i32_i8 op_sel words llvm-mc rejects)📊 Changes
31 files changed (+1378 additions, -79 deletions)
View changed files
📝
README.md(+4 -1)📝
docs/README.md(+1 -1)📝
docs/d3d12_vulkan.md(+5 -1)📝
docs/design.md(+2 -2)📝
docs/embedded_shaders.md(+2 -2)📝
docs/first_run_ui.md(+13 -0)📝
docs/fspx.md(+27 -6)📝
docs/movies.md(+2 -2)📝
docs/shader_library.md(+7 -2)📝
runtime/README.md(+4 -1)📝
runtime/shims/d3d12_xs_alloc_size.h(+1 -1)📝
runtime/shims/d3d12_xs_device.cpp(+228 -1)📝
runtime/shims/startup_trace.h(+11 -4)📝
runtime/src/main.cpp(+40 -13)📝
runtime/test/xs_proxy_mock_test.cpp(+315 -5)📝
scripts/windows-boot/README.md(+11 -4)📝
scripts/windows-boot/boot.ps1(+14 -5)📝
tests/semantic/test_alu_dot4_i8.py(+3 -1)➕
tests/semantic/test_dot4_printed_op_sel.py(+130 -0)➕
tests/semantic/test_fspx_dot4_op_sel_disasm.py(+157 -0)...and 11 more files
📄 Description
Claimed in the coordination issue as: RT-BOOT-COMBINED (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7175978134)
Depends on: #1495, #1504, #674, #583, #1281, #1317, #998
What this is
One integration branch on current
main(ae1b48288):op_sel,s_bitreplicateand vcc-tuple follow-ups), without the #984 merge, sincemainalready has #984. Each merged PR keeps its own commits.main. The only conflict was the list-values block inruntime/shims/d3d12_xs_device.cpp, and both sides were kept.runtime/src/main.cpp,scripts/windows-boot/anddocs/are removed. The peeks read them from the environment (LEONIDA_GAME_STATE_RVA,LEONIDA_SESSION_STATE_RVA,LEONIDA_PEEK).docs/first_run_ui.mdgets the scripted-pad route through the first-run pages, and the README status paragraph gets one sentence linking to it. The status rows from DOC-README-BOOT-STATUS (#1643) are unchanged.How far it boots
Native Windows 11, retail 1.0.2.1,
scripts/windows-boot/boot.ps1, the same translated shader set for every run, no device faults in any run:mainalone, default input: reaches the first-run "navigation experience" page.Getting through needed no code change, only input. The legal-terms page keeps Confirm greyed out until both boxes are ticked, and
downstops at Confirm, so ana/down-only script sits there looking stuck. The doc records the page order and theup/a/down/aretry that confirmed.Tested
python -m compileall -q make_game.py tools testsandpython -I make_game.py --helppass.tests/test_fspx_unpack.py,tests/test_rdna2spirv_decode.py,tests/test_shader_library.pyandtests/test_text_write_line_endings.pypass.python -I scripts/run_semantic_tests.py tests/semanticreports 493 files, 6328 tests, 0 files failed.-DLEONIDA_VULKAN_HEADERS_FETCH=ON -DLEONIDA_REQUIRE_VULKAN=ON, builtRelWithDebInfowith MSVC 19.50. CTest passes except four tests that fail the same way onmainon this machine:d3d12_texture_tiles,pipeline_cache_seedandd3d12_clearfail on both.d3d12_clearfails because a NaN depth clear reads back 1, apparently an AMD driver behaviour.vk_null_descriptordoes not compile withoutglslangValidator.ctest -j 8about 30 loader and file tests collide on shared temp folders; they pass when run one at a time.python -I scripts/check_no_game_data.pyover every changed file passes. No captures, logs or addresses are in the branch or this description.Not done
tools/stage_timeline.pyonmainstill carries title addresses. It is not touched here and is left for its own finding.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.