<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tools/cfg_structure.py, 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-25T01:41:00+00:00</updated>
<entry>
<title>fix(rdna2spirv): include END in out_pcs for trailing conditional branches</title>
<updated>2026-11-25T01:41:00+00:00</updated>
<author>
<name>whoalin1</name>
<email>207920491+whoalin1@users.noreply.github.com</email>
</author>
<published>2026-11-24T21:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8e5cf5aef1942811bc6e377077b8dc8f388ff8fc'/>
<id>urn:sha1:8e5cf5aef1942811bc6e377077b8dc8f388ff8fc</id>
<content type='text'>
A conditional branch in the last basic block (no fallthrough block, so
len(raw_edges[b]) == 1) emits OpSelect(%cond, tgt, len(blocks)) and can
leave %pc at either tgt or cfg_structure.END.

Compute exact per-block out_pcs in rdna2spirv._block_out_pcs (matching
wave64_emulate_opt), pass it through capped_tree() into both
cfg_structure.structure() (so single-target fall-off-the-end blocks also
keep their dominated target guard) and unwrap_known_pc_guards(), and
pass compact_out_pcs into cfg_structure.structure() in wave64_emulate_opt.

Add unit and semantic regression tests covering both the loop back-edge
repro reported in review and the non-loop dominated-target variant.

Co-Authored-By: Gemini 4 Neon &lt;noreply@google.com&gt;
</content>
</entry>
<entry>
<title>cfg_structure: document why loop entry keeps cur_pc | {h} in unwrap_known_pc_guards</title>
<updated>2026-11-25T01:40:21+00:00</updated>
<author>
<name>whoalin1</name>
<email>207920491+whoalin1@users.noreply.github.com</email>
</author>
<published>2026-11-24T15:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=53ef382d7097290ecb1387f2400eaa7d134585b6'/>
<id>urn:sha1:53ef382d7097290ecb1387f2400eaa7d134585b6</id>
<content type='text'>
Co-Authored-By: Gemini 4 Neon &lt;noreply@google.com&gt;
</content>
</entry>
<entry>
<title>cfg_structure / rdna2spirv: unwrap tautological %pc guards in structured CFGs (ms_wave_info_s3 AMD LLPC crash)</title>
<updated>2026-11-25T01:40:21+00:00</updated>
<author>
<name>whoalin1</name>
<email>207920491+whoalin1@users.noreply.github.com</email>
</author>
<published>2026-11-24T14:03:32+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0681b9d280ee1adac2d123fb47265da4d9e35444'/>
<id>urn:sha1:0681b9d280ee1adac2d123fb47265da4d9e35444</id>
<content type='text'>
cfg_structure.structure() wraps post-dominating join blocks after a diamond or loop in a ('guard', g, ...) node even when %pc == g is tautologically true on every incoming path. wave64_emulate_opt._unwrap_known_pc_guards already unwraps these guards for --wave64-emulate, which is why ms_wave_info_s3 passed on 32-wide NVIDIA GPUs while crashing with 0xC0000005 on native wave64 AMD RDNA2 Windows (driver 24.10.24, LLPC) where blk2's OpControlBarrier stayed trapped inside a conditional OpBranchConditional.

Move unwrap_known_pc_guards into tools/cfg_structure.py (reused by wave64_emulate_opt with zero duplication) and apply it in rdna2spirv.capped_tree() so both assemble() and needs_barrier_rounds() see post-dominating join blocks at top level.

SHADER-STRUCTURED-PC-UNWRAP

Co-Authored-By: Gemini 4 Neon &lt;noreply@google.com&gt;
</content>
</entry>
<entry>
<title>Seven fixes from an outside contributor (sent as patches, applied without the author's name)</title>
<updated>2026-11-22T21:55:46+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-22T21:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d'/>
<id>urn:sha1:4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d</id>
<content type='text'>
- rdna2spirv: declare each packed vertex input register once; a register whose elements disagree on the component
  type is refused (SHADER-644).
- runtime: a title's VirtualAlloc drops the console's MEM_GRAPHICS / MEM_TITLE type bits the host rejects (RT-217).
- runtime: XPersistentLocalStorageImpl is served from &lt;overlay&gt;\persistent with the package's 2048 MB quota
  (RT-219; layout from the public docs, not measured in a caller).
- runtime: G:\ names the package and T:\ a scratch folder in the overlay; paths under the configured folders and
  every path with no folders configured stay host paths (RT-218).
- winhttp_offline: header blocks and timeouts the host WinHTTP rejects are rejected the same way.
- cfg_structure.run: a limit of zero or less runs no blocks.
- shader_meta: an s_movk_i32 with a register operand and a float immediate beyond float32 are left unknown instead
  of raising.

Each comes with a test that fails on the old code. Conflicts with main resolved here (internal_dir() hides T:'s
folder; both file_system_test blocks kept).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #1993 from Ayinaki</title>
<updated>2026-11-22T15:40:13+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-22T15:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=92800c634f43bc5a79252ec115ee1dd34e886ea2'/>
<id>urn:sha1:92800c634f43bc5a79252ec115ee1dd34e886ea2</id>
<content type='text'>
# Conflicts:
#	docs/design.md
</content>
</entry>
<entry>
<title>rdna2spirv: bound structured nesting depth with the dispatch-loop form</title>
<updated>2026-11-22T15:23:55+00:00</updated>
<author>
<name>Ayinaki</name>
<email>ayinakidev@gmail.com</email>
</author>
<published>2026-11-22T15:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3e38c9837787c43b5c8a73e44932bb29b3243be8'/>
<id>urn:sha1:3e38c9837787c43b5c8a73e44932bb29b3243be8</id>
<content type='text'>
spirv-val's structured-control-flow checking cost grows roughly with the cube
of the nesting depth: over the 1.0.2.1 corpus the deepest block sits 118
constructs deep and about 85% of validation time is in modules nested 20 or
deeper. cfg_structure.depth() measures the tree and a module deeper than
MAX_STRUCTURED_DEPTH (16) is emitted in the existing flat dispatch-loop form
instead, which emits the same blocks and only changes the routing. Depth
5-12 shows no gain, hence the bound at 16.
</content>
</entry>
<entry>
<title>cfg_structure: make structuring iterative and flatten dominated tail continuations</title>
<updated>2026-11-22T14:51:34+00:00</updated>
<author>
<name>edwin042331-hue</name>
<email>edwin042331@gmail.com</email>
</author>
<published>2026-11-22T13:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a827ff9f9695d1276f47b5f86f0fc05c38df96ff'/>
<id>urn:sha1:a827ff9f9695d1276f47b5f86f0fc05c38df96ff</id>
<content type='text'>
Avoid O(N) OpSelectionMerge nesting and Python RecursionError on long sequential diamond/loop chains (e.g. unrolled ScreenProbes compute shaders): hoist each guarded member's dominated tail continuation out of its enclosing guard (exact by strict dominance) and make cfg_structure.structure, cfg_structure.run, and rdna2spirv.assemble's structured emitter iterative.
</content>
</entry>
<entry>
<title>cfg_structure: add closed-region node splitting for irreducible CFGs</title>
<updated>2026-11-21T22:05:13+00:00</updated>
<author>
<name>eIBart0</name>
<email>eIBart0@users.noreply.github.com</email>
</author>
<published>2026-11-21T21:53:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ab3b0492f22f8f8f7ac4964f91b7907f4e4d027c'/>
<id>urn:sha1:ab3b0492f22f8f8f7ac4964f91b7907f4e4d027c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix RDNA2 wave masks and flat inputs</title>
<updated>2026-11-21T14:56:54+00:00</updated>
<author>
<name>Mulkku</name>
<email>64482235+Mulkku@users.noreply.github.com</email>
</author>
<published>2026-11-21T14:56:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=987e8471ee5eacbe5b09ba34ace45ba3816c1559'/>
<id>urn:sha1:987e8471ee5eacbe5b09ba34ace45ba3816c1559</id>
<content type='text'>
Preserve whole-wave mask operations, saved EXEC values and flat
pixel inputs when generating SPIR-V. Keep a dispatch-loop fallback
alongside structured control flow and share the descriptor probe.

Add reproducible GPU fixtures for these cases and exercise the
control-flow and mask analyses in CI.
</content>
</entry>
</feed>
