diff options
| author | andretuta <andreviniciusmerlia@gmail.com> | 2026-11-26 20:49:05 -0300 |
|---|---|---|
| committer | andretuta <andreviniciusmerlia@gmail.com> | 2026-11-26 20:49:05 -0300 |
| commit | a2640c3498e231f925167e0414cf9ebf8fc91799 (patch) | |
| tree | 9069e92469509b7bc5ae648a436f370a2f4b0bc2 | |
| parent | d1dff7949be62b6609c3c2ca937df7f50fbf1305 (diff) | |
docs(pso_cache): distinguish Xbox package PSO blob from runtime Vulkan cachesdocs/pso-cache-scope-note
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.
| -rw-r--r-- | docs/pso_cache.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/pso_cache.md b/docs/pso_cache.md index 1d3d448c5..bd3acb80f 100644 --- a/docs/pso_cache.md +++ b/docs/pso_cache.md | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | # PSO/shader cache | 1 | # PSO/shader cache |
| 2 | 2 | ||
| 3 | > **Scope note:** This page documents the **Xbox package PSO/pipeline library blob** stored inside `shaders.rpf` | ||
| 4 | > (magic `PS\0\x09`, also covered in [shader_library.md](shader_library.md) and inspected by | ||
| 5 | > `tools/psocache_inspect.py` and `tools/shader_library.py`). It is **not** the runtime's host-side Vulkan | ||
| 6 | > `VkPipelineCache` files (`pipeline_cache.bin`, `pipeline_cache.session.bin`, `pipeline_cache.heavy.bin`, and the | ||
| 7 | > per-compute-pipeline journal `pipeline_cache.d/`), which are documented in [d3d12_vulkan.md](d3d12_vulkan.md) and | ||
| 8 | > [runtime/README.md](../runtime/README.md). | ||
| 9 | |||
| 3 | One cache blob was found in the package data, stored as a single resource in the data area of a top-level RPF9 | 10 | One cache blob was found in the package data, stored as a single resource in the data area of a top-level RPF9 |
| 4 | archive. It is a chain of 4,205 adjacent zlib streams: 4,204 full 64 KiB streams and a 27,436-byte last one, with | 11 | archive. It is a chain of 4,205 adjacent zlib streams: 4,204 full 64 KiB streams and a 27,436-byte last one, with |
| 5 | 31,437 bytes of zero padding between the streams. Concatenating the inflated bytes in archive order gives | 12 | 31,437 bytes of zero padding between the streams. Concatenating the inflated bytes in archive order gives |