<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/embedded_shaders.md, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-25T06:00:37+00:00</updated>
<entry>
<title>Remove the title's executable addresses #984 brought in; read them from the environment</title>
<updated>2026-11-25T06:00:37+00:00</updated>
<author>
<name>ubiquitarianism</name>
<email>283527159+ubiquitarianism@users.noreply.github.com</email>
</author>
<published>2026-11-25T06:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f0611b752fd2c7b52f25688be7d6c17909ee3533'/>
<id>urn:sha1:f0611b752fd2c7b52f25688be7d6c17909ee3533</id>
<content type='text'>
#984 (273b3bdf9) put RVAs and file offsets of the retail executable into code, docs and scripts.
The code paths that need one now read it from an environment variable and are off when it is
unset; the docs and examples say the location is measured locally.

- runtime/src/main.cpp: the hang-watchdog kick takes its trap and kick RVAs from
  LEONIDA_TITLE_WATCHDOG_KICK="&lt;trap RVA&gt;,&lt;kick RVA&gt;" (hex), still only when the trap
  instruction is at the first one. Unset, the watchdog stays armed, as before by default;
  LEONIDA_TITLE_WATCHDOG=1 keeps it armed, and LEONIDA_TITLE_WATCHDOG=0 without the RVAs says
  once that it needs them. The LEONIDA_PEEK example uses placeholders.
- runtime/shims/startup_trace.h: the transient-pool dump fires at the int3 that
  LEONIDA_POOL_DIAG_AT names (`&lt;module&gt;+0x&lt;offset&gt;`, as the trace prints it), off when unset.
- scripts/windows-boot/boot.ps1: LEONIDA_PEEK's default comes from LEONIDA_GAME_STATE_RVA and
  LEONIDA_SESSION_STATE_RVA (no peek when unset), and the RESULT digest matches those values;
  the examples and README use placeholders.
- runtime/README.md documents LEONIDA_TITLE_WATCHDOG_KICK and LEONIDA_POOL_DIAG_AT.
- docs/fspx.md, docs/d3d12_vulkan.md, docs/movies.md, docs/embedded_shaders.md and a comment in
  runtime/shims/d3d12_xs_alloc_size.h drop the addresses and offsets.

This follows the same change on the earlier integration branch (#1495).
</content>
</entry>
<entry>
<title>Merge main (0aecc5efa: #984 and #968) into the #939 merge</title>
<updated>2026-11-25T02:09:27+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T02:09:27+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=7ea226e65b87491b0977f23d6ff693145d64d02b'/>
<id>urn:sha1:7ea226e65b87491b0977f23d6ff693145d64d02b</id>
<content type='text'>
main now holds the #984 merge (18a22c1ae) and #968, queue slot 31 as CopyPageMappingsBatchX. Two conflicts: the include list of d3d12_xs_device.cpp (both includes kept) and the call order in xmem_test.cpp (the two page-mapping tests of #968 run after test_physical_pages, after the early return of #939's file-pools mode). The slot 31 dispatch of #968 stays ahead of the presentation routes, so #939's rule for queue slots 30 to 32 on a device that had a presentation handler does not reach it where xmem is linked.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>docs/embedded_shaders.md: twelve executable programs, and the AMD pipeline check of the ten plain ones</title>
<updated>2026-11-25T02:07:46+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T02:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=52ef7df72f856e4be441bc2cb274838a17cfce28'/>
<id>urn:sha1:52ef7df72f856e4be441bc2cb274838a17cfce28</id>
<content type='text'>
The merged pe_shader_containers.py is the base's: it extracts the ten plain containers and the two packed pixel shaders, so the base's count of 12 (1 VS, 11 PS) is what the merged tool gives and stays. The measurement #939 made with its own extractor (the ten plain containers: translation with and without wave64 emulation, the shader library lookup, vk_pipeline_check 10/10 on an RX 9070 XT and a Ryzen integrated GPU under RADV) is added as a second measurement and says that the two packed shaders were not in it. No hash is changed.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #984 from Moriz82/integration/proton-story-load</title>
<updated>2026-11-25T01:37:19+00:00</updated>
<author>
<name>aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T01:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=18a22c1aefa227fd2eda047bab3385147d569f9d'/>
<id>urn:sha1:18a22c1aefa227fd2eda047bab3385147d569f9d</id>
<content type='text'>
[integration] Linux/Proton and native Windows: boot through the story load (RT-PROTON-STORY-LOAD)</content>
</entry>
<entry>
<title>Merge the #984 result (main + RT-PROTON-STORY-LOAD) into #939</title>
<updated>2026-11-25T01:26:00+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T01:26:00+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=154e4ec034902deffa4b89b2cbca9a949f38baec'/>
<id>urn:sha1:154e4ec034902deffa4b89b2cbca9a949f38baec</id>
<content type='text'>
The base is 8a242efeb, the merge of main and #984. 68 files conflicted; they were resolved in seven groups by
one rule: the same change in two forms keeps the base's form, everything only #939 has is kept, and where the
two solve one problem in two ways the base's is the frame and #939's plugs into it.

A, the Xbox proxy (d3d12_xs_device.cpp/.h, d3d12_xs.cpp, d3d12_xs_pso_stream.cpp/.h, d3d12_xs_alloc_size.h,
d3d12_xs_desc_clean.h, device_proxy_test.cpp, queue_proxy_test.cpp): the base's files with #939's additions
ported in. Device slot 57 asks #939's NativeGraphicsFactory first and falls back to the base's
proxy_create_graphics_pipeline_from_native_code on E_NOTIMPL. Kept from #939: the providers (texture lease,
raw texture view, resource by address, constant view, descriptor mapping, depth-stencil UAV, texture pages),
the title-backed descriptor mirror, slot 13's feature answers, GPU labels on list slots 71/72. Dropped: #939's
duplicates of the boot ladder routes, its fallback window, its slot 133 stand-in.

A2 (xs_proxy_mock_test.cpp): the base's test with #939's slot 70 raw-buffer case; presentation cases follow
#939's rule that a device which ever had a handler has no queue fallback.

B1, the Vulkan device (d3d12_vulkan_device.cpp, d3d12_com.cpp/.h, shader_library.h, queue_families.h,
pipeline_cache_file.h, startup_trace.h): one lazy-pipeline mechanism, the base's; #939's pending_base_compile
and first_use_backend_pipelines dropped, prepare_on_bind and cold_graphics_compile kept. create_texture keeps
the base's signature; #939's deferred backing is folded into the base's placed-memory binder. #939's quad
lists as triangle indices.

B2, the D3D12 tests (d3d12_existing_heap, a8_dimensions, pipeline_cache_seed, title_va, rect_list,
shader_library, loader_tls_index0, draw, compute, xmem_placed, shader_library_corpus): the base's tests where
both carry the same case, #939's cases added (rebound tables, linear texture map, large vertex batch,
executable shaders, default A8 views).

C, the backend (vulkan_replay.h, vulkan_backend.h, vulkan_bindless.h, vulkan_scratch.h, vulkan_present.h,
rect_list_geometry.h, vk_test_device.h, vk_pipeline_check.cpp, vk_store_test.cpp, bindless_sizing_test.cpp,
replay_texture_barrier_test.cpp): the base's prepare_draw and lazy compute, its #1055 release rule and its
rectangle generator; #939's rectangle variants, GPU quad index expansion, 1D/3D and depth-stencil UAVs, the
label fence on the base's submit.

D, memory, services, presentation (xmem.cpp/.h, xg_xs.cpp, xg_xs_test.cpp, title_va_alias.h and its test,
main.cpp, frame_pacer.h, xbox_present.cpp/.h; xgameruntime_offline.cpp for one comment): the base's xmem with
#939's label hooks, file-backed sections and pin_mapped_data; both texture computers in xg_xs.cpp, the base's
answering first; --first-run-ui kept without host speech in its profile.

E, build, tools, docs (runtime/CMakeLists.txt, make_game.py, tools/rdna2spirv.py, tools/shader_disasm.py,
scripts, tests, docs; docs/README.md and tests/test_exe_shaders_stage.py beyond the conflicts): the base's
v_dot4 decode, #281's disassembler form and tests/semantic/test_fspx_dot4_op_sel_disasm.py dropped; the
base's executable-shader step with #939's cache fix; 366 registered tests.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>docs: the BVH builder's 52 programs all translate, and pipeline-state streams are implemented (DOC-BVH-BUILDER-52)</title>
<updated>2026-11-24T18:11:21+00:00</updated>
<author>
<name>milk4sale</name>
<email>53350507+milk4sale@users.noreply.github.com</email>
</author>
<published>2026-11-24T18:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=60e15c855f73d2ef12cc30ce22c3f68bb0dc81dc'/>
<id>urn:sha1:60e15c855f73d2ef12cc30ce22c3f68bb0dc81dc</id>
<content type='text'>
docs/d3d12_vulkan.md, docs/embedded_shaders.md and the index row in
docs/README.md said 51 of the 52 XboxBvhBuilder.dll programs translate and
one rule, buffer_store_short, was missing. The rule has been in
tools/rdna2spirv.py since 8f208d09a, and embedded_shaders.md section 7
already recorded 52 of 52 for main 8575d36e.

Measured on main 3aa975421 with a 1.0.2.1 package: 52 containers extracted,
52 translated, 52 pass spirv-val, natively and with --wave64-emulate.

- d3d12_vulkan.md: the eight passages that give the count (sections 4.8 and
  7.2, the M6 row, open question 7, the risks list, Appendix A.2). Section
  7.2 held the same paragraph twice, the second copy starting mid-sentence;
  it is one paragraph again. The Appendix A.2 measurement keeps its numbers
  and says what changed since.
- d3d12_vulkan.md section 3.6: pipeline-state streams (CreatePipelineState)
  were described as not implemented yet, 50 lines above the section that
  documents them; an unknown subobject type is E_INVALIDARG, not a logged
  hard error.
- embedded_shaders.md: sections 4, 5 and 7 (the result table, the blocker
  tables, "What this changes" and the build step's report line). The dated
  measurements of 51 modules stay as they are.

Open question 20's row in d3d12_vulkan.md has the same count and is left
alone: pull request 381 rewrites that line.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>[integration] Linux/Proton and native Windows: boot through the story load (RT-PROTON-STORY-LOAD)</title>
<updated>2026-11-24T17:42:12+00:00</updated>
<author>
<name>Moriz82</name>
<email>72836413+Moriz82@users.noreply.github.com</email>
</author>
<published>2026-11-24T17:42:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=273b3bdf9d6e736442ad584ad464df6e86ee928b'/>
<id>urn:sha1:273b3bdf9d6e736442ad584ad464df6e86ee928b</id>
<content type='text'>
One squashed commit of a fork that was developed on a Linux/Proton machine and
tested on two native Windows machines. On all of them the retail 1.0.2.1
package now launches, shows its launch movie, first-run pages and landing
prompt, runs the story load to its end with the loading slideshow drawing its
artwork, and enters the world phase. A first world frame is not verified yet.
docs/linux_proton.md has the setup, a healthy boot's timeline, the machines
and where it stops.

Runtime: frames in the title's own window; DirectStorage pinned reads,
page-list scatter/gather, BCPack and unshuffle with a locally generated
predictor file; pooled, device-local and deferred image backing for streamed
and placed textures; enhanced barriers into LAYOUT_UNDEFINED; a bindless table
that degrades instead of refusing a submission; a descriptor hash finalizer
(off until a library carries it); directly indexed heap offsets for compute
dispatches and VS/PS/GS draws; title buffer windows outside a fragmented
arena; opt-in device-local copies of streamed buffer views; write-fault
retries under the tracker lock, shared trackers and write-watched title memory
for native Windows; device-loss, compute-input and memory probes.

Translator: loop bounds at structured exits, the eight FidelityFX programs
that use a packed-dot form the disassembler skips, buffer bounds modes per
view kind, a compaction option, the hash finalizer option.

Tools and scripts: Linux boot scripts (Wine/Proton, no network), a Windows
boot script, the paired compute translation script.

No game data. AI-assisted (Claude Code and Codex agents), reviewed and booted
by people on the machines named in docs/linux_proton.md.

Co-authored-by: Plaaasma &lt;47513553+Plaaasma@users.noreply.github.com&gt;
Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>make_game, runtime: translate and load game_scarlett_master.exe embedded shaders</title>
<updated>2026-11-23T17:28:36+00:00</updated>
<author>
<name>Faterek</name>
<email>seweryn.fater@proton.me</email>
</author>
<published>2026-11-23T17:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ab03d8dd12760bb760d4dcd19d771fd46282503c'/>
<id>urn:sha1:ab03d8dd12760bb760d4dcd19d771fd46282503c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: the AMD driver took 34 minutes on LeafRehydration's dispatch-loop module; the current translation compiles in 3 s (SHADER-995) (#6739)</title>
<updated>2026-11-23T16:49:09+00:00</updated>
<author>
<name>Emma</name>
<email>47298336+zzEmmazz@users.noreply.github.com</email>
</author>
<published>2026-11-23T16:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e76640014a33598dec88e55f49159dfa49c69bd9'/>
<id>urn:sha1:e76640014a33598dec88e55f49159dfa49c69bd9</id>
<content type='text'>
Squash-merged after diff review of PR #6739</content>
</entry>
<entry>
<title>pe_shader_containers: read shader stage from PSV0 and document game_scarlett_master.exe's 10 embedded shaders (RT-5) (#6840)</title>
<updated>2026-11-23T15:36:48+00:00</updated>
<author>
<name>sanchaton</name>
<email>138723000+sanchaton@users.noreply.github.com</email>
</author>
<published>2026-11-23T15:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6c8eb8221e81de25d907f96f01f431947ea51236'/>
<id>urn:sha1:6c8eb8221e81de25d907f96f01f431947ea51236</id>
<content type='text'>
Squash-merged after diff review of PR #6840 - pe_shader_containers: read shader stage from PSV0 and document game_scarlett_master.exe's 10 embedded shaders (RT-5)</content>
</entry>
</feed>
