mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #939] [MERGED] [integration] Windows offline boot to the first-run UI (RT-WINDOWS-FIRST-RUN-UI) #979
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#979
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/939
Author: @Rain156
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:integration/windows-first-run-ui📝 Commits (10+)
c0a5d66feat(vulkan): support Texture1D, Texture1DArray and Texture3D UAVs1e63e09test(vulkan): exercise D3D-78 texture UAVs in the GPU runner57cb669fix(vulkan): require formatless reads for all D3D-78 UAVse925b63d3d12_xs: route command queue slot 35 to ExecuteCommandListsd3a1c29d3d12: persist the pipeline cache across launches (D3D-704)86cd0c5d3d12: draw the console's rectangle lists (17, PSO type 19) and quad lists (19) as trianglesa6b31d5d3d12: rectangle list stage emits (v1 v2 v4) (v1 v4 v3) with capability Geometry, log cut-off quads (review fixes)a3da512d3d12: checkpoint slow compute pipeline compiles49410a5d3d12: a slot-133 buffer whose pages are not imported is a shadow at the title's VA14dc9afd3d12: enable SSE4.1 for Clang's slot-133 streaming copy📊 Changes
131 files changed (+14089 additions, -953 deletions)
View changed files
📝
README.md(+3 -1)📝
docs/README.md(+2 -1)📝
docs/boot.md(+4 -8)📝
docs/d3d12_vulkan.md(+120 -55)📝
docs/design.md(+6 -4)📝
docs/embedded_shaders.md(+10 -2)➕
docs/first_run_ui.md(+37 -0)📝
docs/pipeline_check.md(+5 -3)📝
docs/runtime_imports.md(+44 -11)📝
docs/shader_library.md(+10 -10)📝
docs/testing.md(+22 -3)📝
make_game.py(+2 -2)📝
runtime/CMakeLists.txt(+186 -14)📝
runtime/README.md(+13 -0)📝
runtime/shims/d3d12_com.cpp(+148 -18)📝
runtime/shims/d3d12_com.h(+37 -5)📝
runtime/shims/d3d12_com_object.h(+9 -0)📝
runtime/shims/d3d12_vulkan_device.cpp(+1630 -236)📝
runtime/shims/d3d12_xs_device.cpp(+623 -32)📝
runtime/shims/d3d12_xs_device.h(+83 -4)...and 80 more files
📄 Description
Claimed in the coordination issue as: RT-WINDOWS-FIRST-RUN-UI (claim).
Depends on: #321, #213, #261, #281, #461, #526, #593, #596, #682, #722, #513, #681, #689.
The last three items overlap on specific code paths: #513 (constant-buffer rows), #681 (on-demand graphics pipelines), #689 (placed depth shapes). The native shader index from #497 is now on main.
What and why
This branch packages the source required to reproduce the offline first-run interface on Windows. The commit history includes the public frame-loop stack, the shader and resource implementations, the responsive presentation window and the rectangle fix. Contributors can build this head directly using their own unpacked Xbox 1.0.2.1 files.
The shader stage generates the native container catalog and translates the executable and library stages as well as the main archive. Native and derived PSOs retain the appropriate shader and root state. The Vulkan paths cover GPU-completed labels, generation-checked title memory, linear and tiled texture uploads, depth/stencil views, and rectangle compositing. Vertex and index data stays alive until its submission completes.
The new
gta6rt --first-run-ui <exe>entry point selects the settings for this milestone. The runbook includes external build and work directories, the normalmake_game.pycommand and the launch command. Build and launch from this branchTested
eb6a08cd3build, the documented--first-run-ui <exe>command displayed the full first-run controller-prompt row on a plain background. This launch used the default overlay and XMem paths, with tracing and internal frame capture off. Windows Graphics Capture independently recorded the game window at 2,856 × 1,464. Its RGB pixels matched previous independent launches. In the readback-enabled runs, the swapchain contained 1,855,276 non-black pixels out of 1,858,304. The runs used a locally supplied Xbox 1.0.2.1 package in a Windows AppContainer with zero network capabilities. Testing stopped at this first-run interface. Gameplay and 3D scenes remain unverified.check,shaders,runtimecommand regenerated the shaders with the updated assembler. The later catalog CLI help change reproduced the identical native catalog, and the final clean runtime was staged withcheck,runtime.d3d12_vulkan_devicetest reported the same three committed-resource flag HRESULT differences (0x200,0x400) on an unmodified upstream checkout on this adapter. The translated-draw and rectangle tests passed with synchronization validation enabled. A synthetic compute seed now hits the runtime cache after making the checker use the runtime mesh-query features, including for a compute-only batch.GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 617.42, Windows 11 x64 build 26200, MSVC x64 RelWithDebInfo.
AI-assisted: Yes (Codex).
Checklist
mainand checked for a clean merge.docs/design.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.