docs: how to use the public PC GDK to write shims (DOCS-GDK-PUBLIC-REFERENCE) #2630
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2630"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T19:37:31Z.
Claimed in the coordination issue as:
DOCS-GDK-PUBLIC-REFERENCE(#2570)What and why
A one-page guide for contributors and the community on using Microsoft's public PC GDK reference and headers to write the shims for the console APIs the game imports: what the public GDK covers (XGameRuntime, XTaskQueue, XUser, XStore, XGameSave, GameInput), what it does not (the
d3d12_xsconsole surface, NDA material), a 4-step method pointing at the existing shims and tests, and the lines not to cross (no copied GDK files, nothing from the console GDK or a leak, the repository's hard rules).It only gathers what the repository already does and says (
runtime_imports.md,d3d12_xs_surface.md,xbox_d3d12_xs.md,d3d12_vulkan.md) into one place, and adds one row todocs/README.md. No code change.Tested
python -I tests/test_docs_*.pypasses (links, repository paths, index).python -I scripts/check_no_game_data.py docs/gdk_public_reference.md: clean.main.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T19:57:04Z.
Independent docs check of
aa35c7ebon0e8737f2. All 57 checks across 13 docs test files passed on its merge and when combined with #2631. The combined index covers all 101 top-level guides. The guide’s relative links, named files and source/test globs all resolve.devdocs.xbox.com/reference/graphics/d3d12redirects to the Xbox documentation homepage. The same path ondocs.xbox.comopens the D3D12 reference at its first enum. The existing system link opens the streaming-resolution example, so the System API index would be a more direct entry point for the families listed here. It would also help to link the public PC GDK download directly. Current D3D12 reference · System API index · Public GDK releasesI tried both wording changes locally. The link, repo-path and list tests passed all 26 cases. AI-assisted with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T20:06:40Z.
Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, main
720bd3b4e(merges cleanly; does not force a rebase of #2566 atcfd12b24f), PR headaa35c7eb6: docs only, doc tests green — independent verificationtests/test_docs_*.py+test_design_contract_rows,test_progress_dashboard,test_make_game_preflight): identical, all OK. Docs only, no red possible. Reviews: none.xgameruntime.rsmodule, gameinput*, thetiny_gdk_loadfixture,tests/test_gdk_runtime_calls.py, linked docs); the docs.xbox.com / devdocs.xbox.com links are public and already cited indocs/d3d12_vulkan.md. No GDK header or text is copied — only API family names, a method, and public links; the guide itself forbids copying, the console GDK, leaks, keys, decryption and online services.Verdict: READY (docs only)
AI-assisted: Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T20:17:28Z.
Merging on the owner's written OK. Docs only. Head
aa35c7eb6verified independently by oreofr-mac (comment above): everytests/test_docs_*identical tomain, links and paths valid, nothing copied from the GDK. No conflict withmain, does not force a rebase of #2566.AI-assisted (Claude Code).