With it, d3d12_xs reads list slot 48 as the console's IASetVertexBuffers, so the PC-shaped fixture list's
ClearRenderTargetView never runs and Close fails. The branch also changes runtime/src/pe_loader.cpp and carried
committed conflict markers in docs/fssm_crosscheck.md. Its docs rows go with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The generated page was already out of step with this round's rows (test_design_contracts), and the PR also
changes AGENTS.md, the PR template, ci.yml and adds an agent skill. docs/design.md keeps its current rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since 70e739fd7 (coalesce hoisted spine guards) the tail program is one tail scheduler, so
test_tail_scheduler_after_a_mini_scheduler and the interpreter check of the mini scheduler's clears fail after the
merge, though they pass on the branch (based on aa2988cc).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#2977 (merged this round) reads the literal by the SRC field; #3369 replaced any operand whose value matched
the literal's low half, so an inline constant printed as the same value took the literal
(test_fma_mix_literal's inline-constant case). The two PRs fix the same thing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The active-run check (#3549) accepted only stores through an inline %vgpr OpAccessChain, so with the register
pointers hoisted into %entry (#4440) every VGPR write in a run failed the assertion. #4402's test still expected
numeric ds_swizzle offsets to be refused; since #4177 (measured on gfx1036 for all 16,384 offsets) only
0xC000..0xFFFF is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collects the marked notes of runtime/src, runtime/shims and docs/*.md with file
and line, each from its marker to the end of its comment run or list item
(trailing 'see the header' comments are left out). Given gdk_runtime_calls'
JSON, a shim's notes are marked called / not called by whether the executable
calls a class that file serves, called first. first_look.ps1 writes
reports/exe/<name>/checklist.md. tests/test_exe_checklist.py: 6 tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
XDisplayTryEnableHdrMode answers Disabled for the SDR host output, or Enabled
with the documented default tone-map luminances under LEONIDA_HDR=1. Every
device belongs to the offline user (XUserFindForDevice hands out a real
XUserHandle via xgameruntime_user.cpp); association and audio-endpoint
registrations hand out tokens; no audio endpoint of the user's own; finding a
controller shows no UI and gives an all-zero id, as on desktop.
ctest 163/163 (xgameruntime_offline twice: SDR and LEONIDA_HDR=1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
XGameEventWrite succeeds and drops the event (LEONIDA_LOG_GAME_EVENTS=1 logs
them). A message or error dialog has no screen: its title, text and buttons go
to the log and it completes with the default button, so an error the game
shows at boot is readable. Other UIs fail before starting. Streaming: never
streamed, no clients, a connection-state token that never fires; per-client
slots answer E_GAMESTREAMING_NOT_INITIALIZED, whose low byte reads false for a
bool caller. Ids and slot order from xgameruntime-docs, signatures from the
GDK reference; two parameter lists marked ASSUMPTION.
xgameruntime_offline_test: 18 checks. ctest 162/162.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A GDK title checks its license at boot. QueryApiImpl now serves XStoreImpl
(IXStoreImpl..6, 84 slots from xgameruntime-docs' layout; signatures from
the public GDK reference): the game license is active and not a trial,
package licenses are acquirable and valid, no add-ons, no products, no
package updates; license-changed/lost registrations hand out tokens and
never fire. Purchases, consumables, tokens, downloads and store UIs fail
before starting (E_FAIL, logged once); the undocumented slots answer
E_NOTIMPL.
UNVERIFIED: STORE_SKU_ID_SIZE 18, SKU_ID_SIZE 5, TRIAL_UNIQUE_ID_MAX_SIZE
64 (XStoreGameLicense 104 bytes) - the public pages give no values; to be
confirmed against the executable before a boot relies on them.
xgameruntime_store_test: 22 checks. ctest 161/161.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A GDK title opens its save provider at boot; QueryApiImpl now serves
XGameSaveImpl (IXGameSaveImpl..3, 33 slots from xgameruntime-docs' layout,
signatures and error codes from the public GDK reference). Saves are files
in LEONIDA_SAVE_DIR\local-user\<container>\<blob> (default
%LOCALAPPDATA%\Leonida\saves), %-encoded: the layout tools/saves.py import
already writes. Updates are buffered and committed by write-then-rename;
container names follow the documented rule; the 16 MB update limit, the
documented E_GS_* codes, async variants through XAsync, and the
XGameSaveFiles folder/quota slots. Assumptions (quota, blob-name length,
nullptr blob list) are marked in the source and docs.
xgameruntime_gamesave_test drives every slot (50 checks). The two tests that
used XGameSaveImpl's id as "a class not served" now use a made-up id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>