Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4b9a891
fspx_unpack: code_range takes the 24-byte prologue of some pipeline-l…
Tyrannys Nov 24, 2026
ebcb0ac
tools: decode the pipeline-library compute programs llvm-mc refuses
Kokonotcu Nov 24, 2026
bf0c4d9
tests: fspx_unpack takes the decoder listing when llvm-mc reports inv…
Kokonotcu Nov 24, 2026
bec14f2
tools: the last pipeline-library compute programs of 1.0.2.1
Kokonotcu Nov 24, 2026
4e1ca11
fix: shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 wo…
tedin7 Nov 23, 2026
570db1d
shader_library: keep each state of a compute program, select by code …
Moriz82 Nov 24, 2026
0cb367c
Merge #674 (vcc-tuple-resync): restore_vcc_tuples, the one restore pass
ubiquitarianism Nov 25, 2026
156a056
Merge #583 (FSPX short prologue)
ubiquitarianism Nov 25, 2026
79cf7e7
Merge #1281 (shader library keeps each compute state, select by code …
ubiquitarianism Nov 25, 2026
f7b4aa7
Merge #1317 (print the v_dot4_i32_i8 op_sel words llvm-mc rejects)
ubiquitarianism Nov 25, 2026
c9b3ec1
Merge #998 (pipeline-library compute programs llvm-mc refuses)
ubiquitarianism Nov 25, 2026
9dd0be2
test_vcc_tuple_fallback: widened scalar load with an SGPR offset, buf…
ubiquitarianism Nov 25, 2026
970837c
d3d12_xs: null-resource texture barriers and null-view RTV clears on …
ubiquitarianism Nov 25, 2026
62d8f38
rdna2spirv: a v_dot4_i32_i8 printed with default op_sel takes the sto…
ubiquitarianism Nov 25, 2026
bb0b884
s_bitreplicate_b64_b32 of a lane-mask half into data: test and contra…
ubiquitarianism Nov 25, 2026
3f22007
test_rdna2spirv_decode: the undecodable dot4 word is the measured one…
ubiquitarianism Nov 25, 2026
f0611b7
Remove the title's executable addresses #984 brought in; read them fr…
ubiquitarianism Nov 25, 2026
1c5aa29
Merge branch 'integration/translator-fixes' into local/boot-combined
ubiquitarianism Nov 25, 2026
7551c8a
Merge branch 'fix/rt-null-barrier-clear-v2' into local/boot-combined
ubiquitarianism Nov 25, 2026
6c8a89d
docs: the scripted-pad route through the first-run pages to the story…
ubiquitarianism Nov 25, 2026
8d68630
Merge main into integration/boot-combined (RT-BOOT-COMBINED)
aslan2142 Nov 26, 2026
f25bd77
shader_disasm: pass wave32 through the dot4 op_sel re-decode (#1317 h…
aslan2142 Nov 26, 2026
95d1878
fspx_unpack: keep main's literal-form check for the 24-byte prologue …
aslan2142 Nov 26, 2026
d09286f
rdna2spirv: translate only the measured dot4 op_sel forms; keep resto…
aslan2142 Nov 26, 2026
7b1fe62
Keep main's watchdog switch and say where the peek default went
aslan2142 Nov 26, 2026
b3e541b
d3d12_xs: drop the null-RTV marks of a descriptor heap when it is rel…
aslan2142 Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ Original author's Git Mirror: https://git.notrexed.dev/notrexed/Leonida
**Early. Nothing is playable yet.** On `main`, the game boots from your own copy on native Windows and on Linux
through Proton: it shows the launch movie, the first-run pages and the landing prompt, which respond to a pad or
the keyboard pad, then runs the story load to its end and enters the world phase. A first world frame has not been
verified yet on any test machine. [First-run UI on Windows](docs/first_run_ui.md) has the build and launch steps;
verified yet on any test machine. On native Windows a scripted pad alone (`LEONIDA_INPUT_SCRIPT`, no keyboard or
controller) gets through every first-run page, including the legal-terms page whose Confirm waits for both boxes, to
the loading screen of the story load ([the route](docs/first_run_ui.md#through-the-first-run-pages-with-the-scripted-pad)).
[First-run UI on Windows](docs/first_run_ui.md) has the build and launch steps;
[the Linux/Proton report](docs/linux_proton.md) has the timings and where it stops.

| What | Status |
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ method, scope and caveats. No game data is included.
|---|---|
| [d3d12_vulkan.md](d3d12_vulkan.md) | Xbox D3D12 to Vulkan plan and status; device proxy, queues, command lists, barriers, copies. |
| [mobile.md](mobile.md) | arm64/mobile path: the x86-64 → arm64 static-recompiler groundwork (`tools/x64_recomp.py`), the `.pdata` coverage census (`tools/recomp_census.py`), and what still blocks iOS. |
| [first_run_ui.md](first_run_ui.md) | Build the Windows integration and display the offline first-run controller prompts. |
| [first_run_ui.md](first_run_ui.md) | Build the Windows integration and display the offline first-run controller prompts; the scripted-pad route through the first-run pages to the story load. |
| [boot.md](boot.md) | The first real boot: the `gta6rt --trace`/`--trace-d3d12` runbook, the startup + D3D12 trace summary (`tools/boot_trace.py`), the triage order and the Q1–Q22 checklist. |
| [retail_boot_chain.md](retail_boot_chain.md) | How far `gta6rt --run` gets with the retail executable: the stops in order and what clears each, the physical-page export shapes, device slots 26, 48 and 73, and the device slots the executable calls, counted from the file (`tools/d3d12_device_calls.py`). |
| [retail_boot_intel_host.md](retail_boot_intel_host.md) | The retail boot on an Intel host with 16 GB: which stops of the two boot pages hold there with #7111, the commit-limit stop at the 6.1 GiB physical-page request that #7556 clears, the frame loop to the 900 s timeout with stub pipelines, and what the layer refuses at that depth (the console mesh-shader subobject among it). |
Expand Down
6 changes: 5 additions & 1 deletion docs/d3d12_vulkan.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ enough for the bundled middleware's `d3d12_xs` calls, not for the game. The laye
out)`, `n` = 1..4 records of 0x14c bytes: a u32 tag, then the payload at +4) patches a copy of that stream and creates
the PSO through the same path. Tags 0 (`D3D12_DEPTH_STENCIL_DESC`, on DEPTH_STENCIL or DEPTH_STENCIL1), 1
(`D3D12_RASTERIZER_DESC`), 2 (`D3D12_BLEND_DESC`) and 3 (sample mask) are the TomBox layout (GPL-3.0,
`create_derived_pso_x`), checked against the title's record writes in the retail build (RVA 0x2479f40): tag 1 is the
`create_derived_pso_x`), checked against the title's record writes in the retail build: tag 1 is the
rasterizer (0x2c bytes, always record 0 when present), tag 0 the DEPTH_STENCIL (0x34), tag 2 the BLEND (0x148). Tag 3 (sample mask, from TomBox)
is served although that function does not write it. Tag 5 (0x16 bytes: 16 zero bytes, then the StencilReadMask and
StencilWriteMask bytes at the DEPTH_STENCIL offsets 0x10/0x11, then zeros) overlays only those two bytes of the base's
Expand Down Expand Up @@ -4269,8 +4269,12 @@ to be recovered from call sites (or the NDA GDK headers, if a developer has acce
| Mesh shader tier | Public `D3D12_MESH_SHADER_TIER` | `VK_EXT_mesh_shader`; the 9,282 translated mesh shaders make this a hard requirement for any content that uses them. |
| Wave MMA | Public `D3D12_WAVE_MMA_TIER` | Not used: no shader sets `WAVE_MMA` in SFI0 and none contains `v_mfma`/`v_wmma` (all 26,503, `tools/feature_scan.py`). Answer the tier query truthfully; no cooperative-matrix mapping is needed. |
| Enhanced barriers | Public Xbox Series `D3D12_BARRIER_GROUP` | `VK_KHR_synchronization2`; implement directly. |
| List slot 146: texture barrier with no resource | The retail title records `D3D12_BARRIER_TYPE_TEXTURE` barriers whose `pResource` is null in its `Barrier(NumBarrierGroups, pBarrierGroups)` calls; on the console such a barrier is a global memory and execution barrier | `d3d12_xs_device.cpp` turns each into a `D3D12_GLOBAL_BARRIER` with the same `SyncBefore`/`SyncAfter`/`AccessBefore`/`AccessAfter` (layouts, subresource range and flags dropped) before it calls GCL7 `Barrier` (PC slot 80). A texture group with both kinds is split into runs, in order, in storage that lives for the call; a call with nothing to convert goes through with the title's own pointer. Without this the PC list goes into its error state, `Close` fails and `ExecuteCommandLists` drops the submission. A group array the proxy cannot read safely (null with a nonzero count, a group type it does not know, more than 1,024 groups or 65,536 barriers in one group) is refused whole, nothing recorded, and logged once per reason. **Confirmed by the mock tests only** (`xs_proxy_mock_test`), not by a retail run. |
| List slot 52: clear of an RTV made with no resource | The title creates some render-target views with `CreateRenderTargetView(nullptr, ...)` and clears them every frame; on the console that clear does nothing | The device proxy marks the real handle when device slot 20 gets no resource; a view made there with a resource removes the mark, and `CopyDescriptors`/`CopyDescriptorsSimple` of RTVs move it with the descriptors. Releasing an RTV heap drops the marks in its real CPU range, so a heap made later at the same address starts unmarked. List slot 52 skips the clear of a marked view (logged the first time) and the list stays valid. The mark is the proxy's own because the real descriptor cannot tell: the Vulkan layer writes the same empty record for a view it could not make, and a PC runtime's handles are opaque. Any other view, valid or not, still reaches `ClearRenderTargetView` (PC slot 48); RTV records the title copies with its own `memcpy` are not followed. **Confirmed by the mock tests only** (`xs_proxy_mock_test`), not by a retail run. |
| XDXR batched/streaming BVH | `XboxBvhBuilder.dll` exports | See 4.8. |

The null-resource barrier and null-view clear behaviour were first reported by luizwidmer/palmetto.

### 4.10 Debug markers and private data

Games and middleware call these every frame (PIX events), so they must be cheap and never fail. Implemented
Expand Down
Loading
Loading