diff options
| author | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 12:59:06 -0700 |
|---|---|---|
| committer | Nolan Cotter <186326284+NolanCotter@users.noreply.github.com> | 2026-11-22 16:41:17 -0700 |
| commit | a6dff5bdf2fea083366847f40c3864591a1e27ea (patch) | |
| tree | bf92645c59e3de6a35a73f468473c38098a70a33 /runtime/src/pe_loader.cpp | |
| parent | 7e1de79d5d9a06e8017663d9b878254740b51c3e (diff) | |
shims: console-shaped command lists from device slot 12
CreateCommandList now hands the title the console object: a 160-slot
vtable in the measured console order — PC order through slot 26, four
console-only extras at 27-30, the PC chain shifted +4 through console
59 (anchored by the measured 32->28 SetDescriptorHeaps, 33->29, 41->37,
43->39, 45->41, 48->44, 51->47, 53->49), EndEvent at 60 (the console has
no PIX markers), ExecuteIndirect at 61 and the enhanced Barrier at 146 —
plus the fields the SDK's inline writers touch, with the write cursor
pinned at the record limits so every command takes the vtable path.
Unmodelled console slots are recorded with their first argument words
and refused without a PC call.
Objects unwrap at every boundary: queue ExecuteCommandLists unwraps the
list array, the list's Reset and ExecuteBundle unwrap allocator and
bundle proxies, and its SetDescriptorHeaps unwraps heap proxies, all
through proxy_real_object. AllocateUploadMemory (148) answers null until
the unified-memory allocator is wired.
Tested: clang-cl 20 + xwin cross-build clean; loader_test 69 checks,
unimplemented_policy_test 96 checks, 0 failed under Wine. AI-assisted.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions