upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/pso_cache.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pso_cache.md')
-rw-r--r--docs/pso_cache.md7
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
3One cache blob was found in the package data, stored as a single resource in the data area of a top-level RPF9 10One cache blob was found in the package data, stored as a single resource in the data area of a top-level RPF9
4archive. It is a chain of 4,205 adjacent zlib streams: 4,204 full 64 KiB streams and a 27,436-byte last one, with 11archive. It is a chain of 4,205 adjacent zlib streams: 4,204 full 64 KiB streams and a 27,436-byte last one, with
531,437 bytes of zero padding between the streams. Concatenating the inflated bytes in archive order gives 1231,437 bytes of zero padding between the streams. Concatenating the inflated bytes in archive order gives