diff options
| author | Ryx <118130241+Ryx69@users.noreply.github.com> | 2026-11-21 20:57:41 +0100 |
|---|---|---|
| committer | Ryx <118130241+Ryx69@users.noreply.github.com> | 2026-11-22 04:58:00 +0100 |
| commit | 998368adbf6dce784842621570b4c1a7f002e4d3 (patch) | |
| tree | 4bab5176a3836a8d496620bc303ca87c56e8d6a7 /runtime/src/thread_stacks.cpp | |
| parent | 147f9300cf1bfc10f9cc610cb8cb6f075394a26e (diff) | |
Runtime: compute groundwork (FSSM shader lookup, Dispatch in the IR)
First pieces of D3D-3 (compute path), no pipelines wired up yet:
- shader_library.h: FSSM extraction from the DXBC container (DXIL, XDAT
0x0D, XBCH, zlib), SHA-256, a minimal JSON reader and the
spirv/index.json lookup by fssm_sha256. Self-contained inflate, no
dependencies.
- IR Dispatch with user data captured at record time; replay binds the
pipeline, pushes the 144-byte block (s0..s31, heap base, code base) and
dispatches. Arena buffers get a buffer_offset that copies honour.
- Root signatures use main's model (runtime/src/root_signature.h); the docs
say so.
Tests: shader_library_test (FIPS 180-4 vectors; stored, fixed and dynamic
deflate blocks; corrupt and truncated streams; FSSM from a synthetic
container) joins ctest; command_list_test covers dispatch recording.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions