upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/console_libraries.md
diff options
context:
space:
mode:
authorNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 16:57:41 -0700
committerNolan Cotter <186326284+NolanCotter@users.noreply.github.com>2026-11-22 16:57:41 -0700
commit2be25cee2c87c369bb2e5446746f9650c01d7ba7 (patch)
tree6b95fe8bf9d7a1273c6d830f8293249f8e190d1c /docs/console_libraries.md
parenta6dff5bdf2fea083366847f40c3864591a1e27ea (diff)
shims: wire the measured PresentX queue slots to the presentation core
Queue slots 30 (older layout) and 32 (newer) are the measured PresentX entry points, with SignalX at 23/25. The queue proxy now detects which of the two documented console layouts a title uses — a fence reaching slot 16/17 marks the newer layout — forwards SignalX as PC Signal, and lazily builds the windowed presentation core for PresentX under LEONIDA_VULKAN_DEVICE. Unmodelled console-only queue methods answer S_OK instead of E_NOTIMPL because frame pacing flows through them; they are still never forwarded. The mock test now asserts that contract. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Diffstat (limited to 'docs/console_libraries.md')
-rw-r--r--docs/console_libraries.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/console_libraries.md b/docs/console_libraries.md
index b7d1ca2d9..cce2facef 100644
--- a/docs/console_libraries.md
+++ b/docs/console_libraries.md
@@ -88,9 +88,11 @@ descriptor-heap start handles returned in RAX). The other 19 function exports, i
88out because its return was not measured (**this repo**, `registry.cpp`). 88out because its return was not measured (**this repo**, `registry.cpp`).
89 89
90The COM surface behind the device — queue, command list, fence, `PresentX` — is vtable work, not 90The COM surface behind the device — queue, command list, fence, `PresentX` — is vtable work, not
91an import problem; it is tracked in [d3d12_vulkan.md](d3d12_vulkan.md) and 91an import problem; it is tracked in [d3d12_vulkan.md](d3d12_vulkan.md),
92[d3d12_command_objects.md](d3d12_command_objects.md). The presentation core 92[d3d12_command_objects.md](d3d12_command_objects.md) and
93(`runtime/shims/xbox_present.h`) waits on the unmeasured Xbox device/queue slots. 93[d3d12_xs_console_abi.md](d3d12_xs_console_abi.md). The presentation core
94(`runtime/shims/xbox_present.h`) is wired to the measured `PresentX` queue slots (30, or 32 on the
95newer layout) in `d3d12_xs_device.cpp`; the plane and parameter struct layouts are still provisional.
94 96
95### `xgameruntime.dll` 97### `xgameruntime.dll`
96 98