<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-12-01T15:04:33+00:00</updated>
<entry>
<title>d3d12/vulkan: bind/map staging before binding VRAM buffer &amp; document LEONIDA_EXTERNAL_WINDOWS_MB</title>
<updated>2026-12-01T15:04:33+00:00</updated>
<author>
<name>Dimitar Pavlov</name>
<email>360593571+azsekazvamdimitar@users.noreply.github.com</email>
</author>
<published>2026-12-01T15:04:33+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=4a305d0666c1e23df2a4d4c738dc6245b01203d9'/>
<id>urn:sha1:4a305d0666c1e23df2a4d4c738dc6245b01203d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>d3d12/vulkan + make_game: ReBAR DMA readback, budgeted staged slabs, test fixes &amp; CLI wiring</title>
<updated>2026-12-01T14:40:36+00:00</updated>
<author>
<name>Dimitar Pavlov</name>
<email>360593571+azsekazvamdimitar@users.noreply.github.com</email>
</author>
<published>2026-12-01T14:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8ebe7cc2e854b9467cd2d464307ece5cd4d2c2ac'/>
<id>urn:sha1:8ebe7cc2e854b9467cd2d464307ece5cd4d2c2ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>d3d12/vulkan: staged VRAM arena, DMA readback batching, parallel shadows, stream-pool fix</title>
<updated>2026-12-01T14:37:00+00:00</updated>
<author>
<name>Dimitar Pavlov</name>
<email>360593571+azsekazvamdimitar@users.noreply.github.com</email>
</author>
<published>2026-11-30T16:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=9d41505a44adc7157b71ae4595cee8cf84cf3619'/>
<id>urn:sha1:9d41505a44adc7157b71ae4595cee8cf84cf3619</id>
<content type='text'>
On top of PR #2566 (8db8335d2), combines verified runtime performance and
correctness improvements for non-ReBAR Vulkan GPUs (tested on Linux / Wine /
RTX 3090 24 GB, BAR1 = 246 MiB, driver 590.48.01):

- Stage 4 GiB GPU address arena + overflow TitleBufferWindows slabs in
  DEVICE_LOCAL VRAM with HOST_VISIBLE staging mirrors (arena_staging.h,
  arena_staging_test.cpp).
- Fix startup glibc realloc() race by caching max_compute_shared_memory_size,
  sharing mutex-guarded VkPipelineLayouts, and eagerly loading pipeline_cache()
  during single-threaded Device construction.
- Stage 9a-1: batch retired arena + external window host readbacks into a
  single copy_buffers_sync() submission on the dedicated DMA copy queue
  (wb: 27.6 ms -&gt; 2.35 ms/frame).
- Stage 9a-2: parallelize ShadowPages::refresh across 4 persistent threads
  via ShadowRefreshPool (shadows: 26.9 ms -&gt; 10.2 ms/frame).
- Fix resolve_pool_memory() zeroing out root descriptors probed with
  kRootViewBytes (64 KiB) near the end of committed stream-pool blocks
  (stream pool unbacked: 131,072 -&gt; 16-33, root view unbacked: 0).

AI-assisted. Verified with 151/151 portable Linux CTest passing and Windows
MSVC build + retail boots on RTX 3090 (590.48.01).
</content>
</entry>
<entry>
<title>Merge pull request #1397 from whoalin1/mask-regs-data-read</title>
<updated>2026-12-01T11:53:35+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-12-01T11:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3fbc120df483b5864165e4cde8951e7a86cb188e'/>
<id>urn:sha1:3fbc120df483b5864165e4cde8951e7a86cb188e</id>
<content type='text'>
rdna2spirv: a VALU data read of a lane-mask operand yields the wave's mask word</content>
</entry>
<entry>
<title>Merge pull request #1774 from Tauwni/fix/explicit-lod-bias-moltenvk</title>
<updated>2026-12-01T11:45:24+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-12-01T11:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a726736ec20a5a1ae8242a9efee75bcd2e1c5844'/>
<id>urn:sha1:a726736ec20a5a1ae8242a9efee75bcd2e1c5844</id>
<content type='text'>
rdna2spirv: --explicit-lod-bias applies the S# LOD bias where MoltenVK drops the sampler's; ps_ssharp passes on Macs (SHADER-EXPLICIT-LOD-BIAS-MVK)</content>
</entry>
<entry>
<title>Merge pull request #1880 from thiefyzheng/fix/texel-copy-fixedwidth</title>
<updated>2026-12-01T11:11:20+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-12-01T11:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=beefb8927a4f461aff46acd6539922b4a6549078'/>
<id>urn:sha1:beefb8927a4f461aff46acd6539922b4a6549078</id>
<content type='text'>
xg_xs copy_elements: dispatch fixed element widths 1/2/4/8/16 to a compile-time-sized copy loop (RT-TEXEL-COPY-FIXEDWIDTH)</content>
</entry>
<entry>
<title>runtime: make a missing return an error, not a warning (#2748)</title>
<updated>2026-12-01T10:49:12+00:00</updated>
<author>
<name>fiestorra</name>
<email>65175643+fiestorra@users.noreply.github.com</email>
</author>
<published>2026-12-01T10:49:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=47fa73a5664a0754507c7125fcab3e788e165bb8'/>
<id>urn:sha1:47fa73a5664a0754507c7125fcab3e788e165bb8</id>
<content type='text'>
* runtime: make a missing return on some paths an error

MSVC has two codes for a function that reaches its closing brace: C4716 whenthere is no return at all, already an error by default, and C4715 when somepaths return and others do not, which is a warning at the default warning level(measured: cl /EHsc alone reports it, /W4 is not needed). A change in this treedropped a return out; from a function with early returns, so it was C4715, andthe build stayed green. A full Release build of this commit reports none, sothe flag costs nothing today.

* runtime: keep /we4715 out of the assembler command

merzleckeier measured it on Windows Server 2025: add_compile_options
(/we4715) puts the switch on ml64's command line too, and MASM answers
'warning A4018: invalid command-line option : /we4715' - the same reason the
/utf-8 line above this one carries a COMPILE_LANGUAGE filter. Reproduced here:
unfiltered, one A4018 line from abi_probe.asm; filtered, none, and the C++
half still reports error C4715 when a return is removed.

---------

Co-authored-by: fiestorra &lt;fiestorra@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>d3d12_queue_wait_timeout: the same 60 s budget as d3d12_queue_wait (#761)</title>
<updated>2026-12-01T10:48:32+00:00</updated>
<author>
<name>whoalin1</name>
<email>whoalin414@gmail.com</email>
</author>
<published>2026-12-01T10:48:32+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=490210066863f0bac30719d2b33fb80f8105e930'/>
<id>urn:sha1:490210066863f0bac30719d2b33fb80f8105e930</id>
<content type='text'>
The control runs create_vulkan_device_standalone before it waits its 20 ms, so its TIMEOUT covers the whole device bring-up, exactly like the positive test above it (TIMEOUT 60). Under a parallel ctest that bring-up can pass 10 s, and CTest then kills the process: WILL_FAIL inverts an exit code but not a ***Timeout, so the negative control failed for a reason it does not control.

OLD-2970 / TEST-586

Co-authored-by: whoalin1 &lt;207920491+whoalin1@users.noreply.github.com&gt;
Co-authored-by: Gemini 4 Neon &lt;noreply@google.com&gt;</content>
</entry>
<entry>
<title>copy_elements: dispatch fixed element widths 1/2/4/8/16 to a compile-time-sized memcpy loop</title>
<updated>2026-11-30T23:34:45+00:00</updated>
<author>
<name>thiefyzheng</name>
<email>thiefyzheng@users.noreply.github.com</email>
</author>
<published>2026-11-25T14:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=1cd6eaf7c67e05d0f9183da0869843acc498fadb'/>
<id>urn:sha1:1cd6eaf7c67e05d0f9183da0869843acc498fadb</id>
<content type='text'>
copy_elements ran a runtime-sized std::memcpy per texel/block (the call is not
inlined), which dominates TitleImageUpload::write on runtime texture refresh.
The per-row element loop is now copy_tiled_row&lt;Into, Width&gt;, chosen by one
switch on format.bytes per row: 1/2/4/8/16 get a constant-size memcpy, every
other size takes the unchanged runtime-size loop. Addresses (row/column tables,
pitches, linear fast path) are untouched, so the bytes written are identical,
including for unaligned pointers and pitches and in both directions.

texel_copy_test compares copy_elements with the original loop over the whole
destination buffer: tiled and linear, mips and tails, arrays, volumes, widths
1/2/4/8/16 plus non-specialized 3/6/12, misaligned buffers and padded pitches.
</content>
</entry>
<entry>
<title>translator: s_mov copies of EXEC keep the narrowing's tag through SGPR round-trips</title>
<updated>2026-11-30T22:22:44+00:00</updated>
<author>
<name>whoalin1</name>
<email>207920491+whoalin1@users.noreply.github.com</email>
</author>
<published>2026-11-25T10:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b3cc3770200c8701c01b492edae3f20793924287'/>
<id>urn:sha1:b3cc3770200c8701c01b492edae3f20793924287</id>
<content type='text'>
Review follow-up on the mask-word gather gate (#1397): `s_mov_b32 s4,
exec_lo` under an unknown EXEC narrowing recorded nothing for s4, so the
later `s_mov_b32 exec_lo, s4` restore minted a fresh ("n", id) tag in
_exec_src_ex. mask_exec_sigs coverage then failed and the read kept this
lane's 0 / ~0 bit, while the equivalent literal `s_mov_b32 exec_lo, -1`
resolved to a constant half-state and gathered — register and literal
restores of the same runtime value disagreed.

_mov_sgpr_vals now returns an ("al", halves) alias for an EXEC source
whose half-state is an unknown narrowing, the same scheme saveexec uses:
exec_lo gives (state, None), exec_hi (None, state), exec gives each half
in its own register for b64 moves. _exec_src_ex already resolves those
aliases, so the restore reproduces the original tag and the gather stays
exact; untracked SGPR sources still mint a fresh narrowing and stay
conservative.

Tests: two semantic cases (wave32 and wave64) assert the register
round-trip gathers OpGroupNonUniformBitwiseOr identically to the literal
-1 restore; cs_exec_copy.asm (+ fixture, check.py/run_gpu_tests.py dump
entries) stores the mask word, exec_lo's own word and the literal-restore
word side by side on real hardware — PASS on RTX 4070 and Radeon
(64-wide), wave64 exec filters 9/9 on AMD.

Co-Authored-By: Devin &lt;noreply@cognition.ai&gt;
</content>
</entry>
</feed>
