upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/opus_decoder/leonida_opus_decoder.h
diff options
context:
space:
mode:
authorGavin Bloom <g4v1nbl00mt4mu29@tamu.edu>2026-11-24 18:10:40 +0100
committerGavin Bloom <g4v1nbl00mt4mu29@tamu.edu>2026-11-24 18:12:09 +0100
commit675c3fb1b9bc5a25627a2de9025fbd1a355dbd2b (patch)
treef9ba5e4cdd4100208ada833e3236a73216079579 /runtime/opus_decoder/leonida_opus_decoder.h
parentb633411da0be99cce2eeae7e82a65f70f3b11e71 (diff)
runtime: replay the console list's inline records as their vtable calls (BL-3)
A console DLL writes a command into the list object while it has room instead of calling the vtable (docs/d3d12_command_objects.md §3.5a). The list proxy avoids this today by pinning the cursor at its limit; an inline write the title makes without checking first would be lost. console_list_records.h decodes the measured records (the two dispatch headers, root constants, descriptor table, root CBV/SRV/UAV, pipeline record) into the fallback calls (slots 14, 80, 37, 39, 35, 41/43/45, 25), using a root-argument header table this runtime defines. An unknown or truncated record stops decoding with its offset instead of being skipped. console_list_records_test models the DLL independently from the doc and runs 1,200 seeded sequences at six cursor limits: the inline path (replayed before each vtable call and at Close) and the all-vtable path give the same calls. Eight planted decoder bugs each fail it. Not yet wired into runtime/shims/d3d12_xs_device.cpp (Windows-only, not buildable here). No game files, no GPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/opus_decoder/leonida_opus_decoder.h')
0 files changed, 0 insertions, 0 deletions