<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/pso_cache.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-26T23:49:05+00:00</updated>
<entry>
<title>docs(pso_cache): distinguish Xbox package PSO blob from runtime Vulkan caches</title>
<updated>2026-11-26T23:49:05+00:00</updated>
<author>
<name>andretuta</name>
<email>andreviniciusmerlia@gmail.com</email>
</author>
<published>2026-11-26T23:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a2640c3498e231f925167e0414cf9ebf8fc91799'/>
<id>urn:sha1:a2640c3498e231f925167e0414cf9ebf8fc91799</id>
<content type='text'>
Add an opening scope note separating the shaders.rpf PS\0\x09 package blob from
host-side Vulkan VkPipelineCache files and the compute pipeline journal.

AI-assisted: Antigravity gemini-4-neon.
</content>
</entry>
<entry>
<title>Add a graphics user-signature describer</title>
<updated>2026-11-23T02:43:31+00:00</updated>
<author>
<name>YaBulochka</name>
<email>157796093+YaBulochka@users.noreply.github.com</email>
</author>
<published>2026-11-23T02:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=16dc3fb7a08e0e900d0ce4de6fe539e9c9afe0e0'/>
<id>urn:sha1:16dc3fb7a08e0e900d0ce4de6fe539e9c9afe0e0</id>
<content type='text'>
tools/psocache_usersig.py resolves a graphics PSO to the chunk records its
stage record names, decodes each 0x41 entry (kind, offset, key, count,
space/base/size) and each 0x42 slot word (SS, II, RR), and computes the
32-dword cost as constants + 2 tables and as constants + 1 table. --limit N
summarises the first N graphics PSOs, --entry N prints one, --json dumps the
same report. It reuses the cache parser from psocache_inspect and never
prints a hash.

docs/pso_cache.md maps the graphics records to descriptor tables, ranges and
32-bit constants with a confidence per claim, gives the measured fit numbers
and sketches how a CreateGraphicsPipelineState path would consume them.

tests/test_psocache_usersig.py builds a two-PSO cache that covers SRV, UAV,
CBV, Sampler, constants, a record that does not fit 32 dwords and extra
slots, and checks the summary, the entry listing, --limit, --json and the
error paths.
</content>
</entry>
<entry>
<title>Add a reproducible cache extractor and decode the meta chunks</title>
<updated>2026-11-23T01:26:54+00:00</updated>
<author>
<name>YaBulochka</name>
<email>157796093+YaBulochka@users.noreply.github.com</email>
</author>
<published>2026-11-23T01:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=bb360f84d924df9759cd1eefa80c272c80118717'/>
<id>urn:sha1:bb360f84d924df9759cd1eefa80c272c80118717</id>
<content type='text'>
tools/psocache_extract.py walks an RPF9 archive's stream table in order,
inflates each stream to learn its extent and stops at the first stream whose
output starts with the cache magic. It joins the following contiguous streams
until the header's declared total is reached, writes the file inside the
temporary directory and validates it with psocache_inspect. A --budget and
--max-streams bound the search; a folder is scanned in sorted order and the
report carries the archive index and the archive-internal stream offset only.

psocache_inspect.py gains --meta (with --entry N and --limit N): it reports
the chunk-record order, the per-kind 0x41 fields, the 0x42 slot bytes and the
0x41-kind to 0x42-middle-byte correlation over the records whose counts match.
The 0x43 value is never printed.

docs/pso_cache.md records the decoded shape with a confidence per claim and
the remaining unknowns; docs/README.md names the new tool.

tests/test_psocache_extract.py builds synthetic RPF9 archives and covers the
contiguous split, folder scan, budget, stream limit, truncated chain and an
output path outside the temporary directory. The inspect test now covers the
meta decode, an entry listing and the CLI flags.
</content>
</entry>
<entry>
<title>Document the measured PSO/shader cache format</title>
<updated>2026-11-23T01:00:24+00:00</updated>
<author>
<name>YaBulochka</name>
<email>157796093+YaBulochka@users.noreply.github.com</email>
</author>
<published>2026-11-23T01:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=78fe89915e10d84f091a29e316360913748effc3'/>
<id>urn:sha1:78fe89915e10d84f091a29e316360913748effc3</id>
<content type='text'>
docs/pso_cache.md records the PS\0\x09 blob: the 0x80 header fields and which
of their meanings are unproven, the 0x70 and 0x18 record regions, the two
8-byte index tables, the meta chunk records (0x41/0x42/0x43, the six 0x41
second-dword values and the 0x42 slot-shaped values), the s_endpgm and
s_code_end markers and why their counts differ from the shader count. It also
lists what is still unknown and how tools/psocache_inspect.py checks a carved
copy. docs/README.md gets one row for the page.
</content>
</entry>
</feed>
