Commit Graph

5744 Commits

Author SHA1 Message Date
a190d8340a docs/boot_leads.md: BL-1 Where names the measured commit, Status says answered on main and pending retail
The Where entry still said the integration tree "carries a fix for stop 4 that main does not", which reads as a
missing fix. It now names the commit the retail measurement was taken at (867d922f) and says the integration
tree clears stop 4 with #4313. Status opens with "answered on main by b7a3fed28 and 4710549af ... the retail
confirmation is still pending", and names #4313 (carried by #321 and #64) as an alternative design.

Tested: tests/test_docs_*.py, 47 passed (test_docs_links green); the repo-consistency set, 566 passed, 5 skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
2026-11-24 10:37:07 -05:00
ba142e7ff5 docs: BL-1, main already clears the /GA index-0 stop; boot.md and the stop table say what it carries
docs/boot_leads.md sends a reader to implement BL-1 because "the retail run on main ends in the stop-4 shape".
That line comes from retail_boot_intel_host.md, measured at main 867d922f. b7a3fed28 (the loader rewrites a
/GA executable's index-0 TLS reads) landed on main after that, and 4710549af after it, so the lead as written
describes a main that no longer exists. The integration tree's #4313 is a second design for the same stop
(the runtime's own EXE gives up index 0 at process start), not a fix main is missing.

- boot.md, triage step 3: what the stop looks like, what load() does about it, the log line that counts the
  rewritten reads, the switch that turns the rewrite off, and the two tests.
- retail_boot_chain.md, row 4: #4313 is what the measured tree had; main carries b7a3fed28 and 4710549af.
- boot_leads.md, BL-1: a Status entry with the same, and what is left of the lead.

Nothing was run on the retail executable for this (it needs game files), and all three places say so.

Tested at main a28927849: tests/test_docs_*.py, 47 pass; the repository-consistency set (test_cmake_*,
test_shader_stage_resume, test_runtime_paths, test_docs_*, test_make_game_*, test_check_no_game_data*,
test_run_semantic_tests), 566 pass and 5 skip. scripts/check_no_game_data.py on the three files: clean.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
2026-11-24 10:32:26 -05:00
e728a42a67 docs: UAV float clears round toward zero, as the code does 2026-11-24 16:26:53 +01:00
16452e785f x64_recomp: find qemu through QEMU_AARCH64 or PATH, not a contributor's home folder 2026-11-24 16:11:31 +01:00
eb6a08cd35 Sync upstream documentation, GPU reports and the Windows test correction 2026-11-24 23:10:50 +08:00
245c959ea0 d3d12_xs: ask the host D3D12CreateDevice for feature level 11_0 (BL-2)
The host path of D3D12XboxCreateDevice asked the PC D3D12CreateDevice for
minimum feature level 12_0, which a comment called the least restrictive
floor. It is the other way round: the minimum refuses every adapter below
it, so a host that tops out at 11_x failed with E_INVALIDARG
(docs/boot_leads.md BL-2). rt::d3d12_xs::create_host_device asks for
kHostDeviceFloor = 11_0, the lowest level D3D12 creates a device at; the
device keeps its highest level, which FEATURE_LEVELS reports and the log
prints (max_feature_level).

xs_proxy_mock_test drives it with mock hosts that top out at 11_0, 11_1,
12_0, 12_1 and 12_2. Each one is created at 11_0, the device proxy's slot
13 reports the host's own top level, and the failure paths (no host
function, failing host, S_OK with no device) clear the output. With 12_0
as the floor the 11_x hosts fail. The Vulkan-backed device takes no feature
level and stays at 12_1 (no ray tracing tier, no sampler feedback).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 20:10:05 +05:00
c110f6536f docs/i18n: list the French CONTRIBUTING translation in the index (DOC-I18N-INDEX-FR-CONTRIBUTING)
The index listed the 12 quickstart translations but not docs/i18n/fr/contributing.md.
The new entry names the file and its synced commit (1ab957b3, from the file's own note).
No maintainer is named: the file does not name one, and the table rule needs an @handle.
2026-11-24 16:09:58 +01:00
fc2d07a1a4 docs/first_light: the test has 48 cases, not twenty-five (DOC-FIRST-LIGHT-TEST-COUNT)
The unittest loader counts 48 cases in tests/test_first_light.py, and the
sentence on the old breakdown no longer matched. The breakdown is dropped.
The pass/skip line now matches a real run: 48 tests, 44 passed, 4 skipped.
2026-11-24 16:09:29 +01:00
6ab4394d70 docs/models: correct test_skinned_glb.py test count to 30 (DOC-MODELS-SKINNED-TEST-COUNT)
docs/models.md said tests/test_skinned_glb.py runs 24 synthetic tests.
`python -I tests/test_skinned_glb.py` runs 30 (Ran 30 tests, OK).
Only the number changes.
2026-11-24 16:09:05 +01:00
c09270d678 docs/i18n/fr: the build needs 400 Go free, not 350 (I18N-FR-DISK-350GO)
The French quickstart gave 350 Go for the default full build in two places.
make_game.py MIN_FREE_GB sums to 400 for the default stages (shaders 30, assets 370),
and README.md already says about 400 GB. Both French sentences describe the full build.
2026-11-24 16:08:27 +01:00
00fc275459 Keep the Xbox list contract and explicitly managed presentation routing distinct
The known Xbox list interface can wrap a base desktop list and checks each forwarded slot. Detaching a managed presenter no longer falls back to a second window. Reset the integrated list counters with the rest of the device diagnostics.
2026-11-24 23:03:55 +08:00
7bb915dd3e runtime: frame pacing drift and latency percentile reporting (BL-6) 2026-11-24 15:58:13 +01:00
1e3ee5e2dc Merge upstream device-loss and scratch bounds checks into the verified UI branch 2026-11-24 22:54:10 +08:00
1f3f4ba3bb fssm_unpack: count containers and programs apart, per stage (BL-5)
The corpus is 26,503 carved containers holding 26,698 tag-0x0D payloads:
195 vertex-shader containers carry two. fssm_unpack.py now prints both
counts and, given the carve index, a line per stage. shader_library.md
records the two counts and why 195 equals the geometry-shader count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 22:54:07 +08:00
86b069f1d9 docs: record observed D3D12 depth clear semantics 2026-11-24 19:54:01 +05:00
673dd15d0e d3d12: use legal Vulkan depth clear values (D3D-CLEAR-DEPTH-RANGE) 2026-11-24 19:54:01 +05:00
2d9987f3cd Merge the upstream offline services, frame events and queue ABI into the Windows UI integration
Retain the first-run origin-token poll and shared tokens alongside standard origin, vblank and flip events. Route attached presenter callbacks before the fallback window and dispatch local speech through the Windows provider with the upstream offline fallback.

The offline pipeline checker now enables the runtime mesh query feature for cache-producing runs. A controlled GPU comparison with the same compute shader changed from a miss to an application cache hit.
2026-11-24 22:51:02 +08:00
a7d86d8c76 d3d12: separate front and back stencil masks (D3D-STENCIL-FACE-MASKS)
A DEPTH_STENCIL2 subobject whose FrontFace and BackFace masks differ was
refused with E_NOTIMPL, and OPTIONS14 reported
IndependentFrontAndBackStencilRefMaskSupported = FALSE although the
per-face references of OMSetFrontAndBackStencilRef already reach the
draw. Vulkan has a compare and a write mask per face in VkStencilOpState.

parse_pipeline_stream keeps the front face's masks in the description and
the back face's beside it (PipelineStream::back_stencil), create_graphics
takes them as an optional argument for depth.back, and OPTIONS14 now
reports the cap. The classic CreateGraphicsPipelineState path and its
cached-PSO key are unchanged: D3D12_DEPTH_STENCIL_DESC has one mask pair.

d3d12_state_sweep_test builds 16 more PSOs from a stream with
DEPTH_STENCIL2 (same, split, front-only and back-only masks; one reference
or two through OMSetFrontAndBackStencilRef; front- and back-facing) and
compares the colour and stencil readback with the host D3D12 device: 498
cases, 0 differ on an RTX 5070 Ti. Giving the back face the front face's
masks makes 6 of them differ. d3d12_vulkan_device_test expects the cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:49:09 +05:00
10342f4808 docs/boot_leads: link CONTRIBUTING.md from docs/ as ../CONTRIBUTING.md
The new page linked CONTRIBUTING.md relative to docs/, where it does not
exist, so test_docs_links fails on main.
2026-11-24 15:47:57 +01:00
8f05e09e22 docs: add boot_leads.md, open boot leads and how to implement them 2026-11-24 09:45:14 -05:00
e9a13181f4 d3d12_xs: route device slots 86, 101, and 108 to PC Device2/Device5/Device8
Reopened from #7201 (closed in the PR reset), rebased on current main.

Slot 86 (CreatePipelineState stream) -> PC slot 47, slot 101
(CreateStateObject) -> PC slot 62, slot 108 (GetResourceAllocationInfo2)
-> PC slot 68. Slot 108 accepts the console C-ABI order (return buffer
first) and the PC order, reads the title's 56-byte D3D12_RESOURCE_DESC
entries, expands each into a zeroed D3D12_RESOURCE_DESC1, normalizes
Xbox layout words and flag bits, and refuses a count with a null array.

Rebase: kept main's slot 133 (CreatePlacedResourceX) next to the new
slots, and slot 108 now masks flags with slot 133's PC set (0x5FF, which
keeps USE_TIGHT_ALIGNMENT and drops 0x200) instead of 0x1FF.

(cherry picked from commit 1b07215c84)
2026-11-24 18:43:05 +04:00
474dbe2bed rdna2spirv: write out a carry-out subtract of a register from itself (AMD Windows driver crash)
v_sub_co_u32 / v_subrev_co_u32 and their _ci_ forms with the same operand
twice were translated to OpISubBorrow %x %x. AMD's Windows driver dies with
an access violation (0xC0000005 in amdvlk64.dll, 32.0.21037.1004 and
32.0.21045.29003, gfx1036) creating a native wave64 compute pipeline in which
that borrow predicates the value operand of an OpGroupNonUniformShuffle.

x - x is 0 with no borrow, so these forms now emit D = 0 - carry in and
borrow out = carry in, with no OpISubBorrow. Values are unchanged; other
operand pairs are translated as before.

Found with crosslane_fuzz.py --seed 880317 --wave 64 --w64-native
--no-maskdata --dpp --ext --programs 400 on a Ryzen 9 9950X3D iGPU:
programs 1 and 181 were harness errors (exit 3221225477) and now match
(399 of 400 match; the other differs only in a hypothesis op, as before).

- docs/design.md: contract row "Carry-out subtract of a register from itself"
- tests/semantic/test_sub_co_same_operand.py: values and borrow mask in
  wave32 and native wave64, the emitted form with --wave64-emulate

Not counted over the corpus, and two different registers holding equal
values still reach OpISubBorrow.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 09:40:52 -05:00
a4c00f4f4d rdna2spirv: accept vcc (s[106:107]) as 64-bit base pointer in s_load_dword* 2026-11-24 19:59:16 +05:30
4f2628f83f rdna2spirv: 64-bit buffer addresses without Int64 (SHADER-423)
lower_addr64 rewrites the assembled module's 64-bit address arithmetic (the zero-extend, shift-by-32, OR/AND, add and
subtract with carry, narrowing, sign-extension, 64-bit bitcasts and pair compares the address idiom uses) into uint
pairs and an OpBitcast of a 2x32 vector to the PhysicalStorageBuffer pointer, and drops OpCapability Int64 when
nothing else needs it, so translated shaders run on devices without shaderInt64. --int64-addresses keeps the 64-bit
form. Semantic tests for the lowering, the interpreters learn the pair pointer form, design.md row.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-24 16:26:16 +02:00
d625d1d51c gpu-test-results: RX 9070 and Ryzen 5 7600X iGPU (gfx1036) on AMD 26.11.2, Windows 11 (GPU-RX9070-RAPHAEL-WIN)
Two records from one Windows 11 box on main d0da7dade, scripts/run_gpu_tests.py native and under
LEONIDA_W64_EMULATE=1, LEONIDA_VK_DEVICE selecting each GPU:

- RX 9070 (RDNA4, 32.0.32029.2010): 231/249 passed, 16 skipped, 2 failed, native and emulated alike.
  ms_wave_info_s3 passes, which the 9070 XT record on the same 26.11.2 driver fails on every native run.
- Ryzen 5 7600X iGPU (gfx1036, 32.0.21045.29003): 224/249 passed, 23 skipped, 2 failed. The 7 extra skips
  are no VK_EXT_mesh_shader (6) and no required 64-wide fragment subgroup (1). This is gfx1036 under AMD's
  Windows compiler; Raphael-610M.txt is the same silicon under RADV.

On both, the two failures are cs_imgload_tfe and cs_imgload_d16_tfe, the fixtures' expectation measured
on #98, not the translator. 258/258 shaders translated and spirv-val clean. Counts only.
2026-11-24 19:49:12 +05:30
5668f16b49 wave64 emulate: a cross-lane read of a missing lane in a partial wave gives 0
Restores old upstream PR 7450, ported onto main.

With --wave64-emulate, every read of another lane's exchange slot (ds_swizzle,
ds_bpermute, ds_permute, readlane, ...) now selects 0 when the source lane does
not exist in a partial last wave (Gen.x_lane_word), instead of relying on the
prologue's zeroed slot. RADV (Mesa 26.3.1) turned the store, barrier and load of
an exchange behind a branch into masked_swizzle_amd with fetch_inactive, so in a
40-thread group lanes 32-39 of a SWAP 8 swizzle read the missing lanes'
registers. Full waves emit the same module as before.

scripts/run_gpu_tests.py now runs the partial-wave fixtures emulated at subgroup
32, as check.py's partial_wave_test does. It left the subgroup size to the
driver, and RADV picks 64 for compute, where the new fixture passed even without
the fix.

GPU test cs_w64x_partial_swizzle (words measured on gfx1036 through
tools/hw_oracle), semantic test test_w64x_partial_swizzle with a hand-written
fixture, and a contract-table row in docs/design.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:18:49 -05:00
37c601760e docs/cpu_features.md: document hosts without AVX and SDE+Wine findings (DOC-NO-AVX-HOSTS) 2026-11-24 15:18:07 +01:00
554fe7f533 docs: record VIctory as related prior art (DOC-RELATED-PROJECTS-LICENCE) 2026-11-24 17:15:30 +03:00
6613301aff docs/related_projects: note that americas-recomp is not publicly reachable
Adds an availability note: the repository, its xbox-series branch and its issue 179 returned 404 on 24 Nov 2026 (cause unconfirmed). Text only. AI-assisted: yes
2026-11-24 16:13:45 +02:00
7cee65bc7c Keep explicit heap ranges and cache keys compatible in the integrated runtime
Use the validated console heap range when the title has no allocation hooks. Preserve partially committed buffer reservations, compare CBVs produced through the same ABI, and use the runtime's image robustness setting in the offline pipeline checker.
2026-11-24 22:10:54 +08:00
99168a5fae Run the VCC scalar-address readback through the standard GPU checks
Seed eight words in the synthetic shader and check them in both GPU runners. Keep the desktop TFE load cases registered alongside the volume-view cases.
2026-11-24 21:59:18 +08:00
a213a232b8 w64_graphics, design: add the GFX1201 measurement and explicit wave starts from old upstream PR 7354 (TEST-1700)
Combines old upstream PR 7354 into this change: the wave64 and wave32 VS
waves start at vertices 0, 64, 126, 190 ... and 0, 32, 64, 96, 126 ...,
and on an RX 9070 XT (GFX1201, RDNA4, RADV Mesa 26.2.6) every wave32 wave
lies inside one half of a wave64 wave, measured on GFX1201 by sperm in
old upstream PR 7354. Both "GFX12 not measured" clauses now cite that
measurement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:58:53 -05:00
91adf9e317 w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking (TEST-1700)
vs_w64_c_lane_id over 960 vertices on RADV Mesa 26.3.1 gives the same
packing on a gfx1036 iGPU (Raphael) and an RX 7900 XTX (NAVI31, RDNA3):
waves of 64, 62, 64, 62 ... at wave64 and 32, 32, 32, 30 ... with
gewave32, a period of 126 vertices both ways, and every vertex's wave32
lane equal to its wave64 lane & 31. So the 32-lane run is the cut into
halves, not "a repacking ... a stricter test". Say what was measured,
on which devices, and note the lane ^ 2 trap for new VS fixtures.

Found by sskver. w64_graphics.py: 29/29 ok on both GPUs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:57:33 -05:00
ca0c243471 docs/design.md: whole-corpus disassembly and translation counts (ASSET-374)
The disassembly note cited a 300-shader sample. Over all 26,503 blobs of the
1.0.2.1 corpus at d90444f2 with llvm-mc 23.1.5: gfx1013 decodes all 26,503 with
no invalid word; gfx1010/1011/1012 26,439 (64 with invalid words), gfx1030
17,875 (8,628). Translating the fresh listings: 26,503 translated, 26,503 pass
spirv-val, and the index matches the 4beffda8 run except src_sha256 for the
1,473 listings the data-block cut shortened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:49:46 -05:00
89e0ea9b55 Merge pull request #402 from ubiquitarianism/feat/xs-frame-pacing-presentx
d3d12_xs: add multi-event FramePacer TOKEN_ON_TIMEOUT and wire XboxPresentation to device/queue slots (RT-XS-FRAME-PACING-PRESENTX)
2026-11-24 08:44:42 -05:00
05318a387c Merge pull request #401 from ubiquitarianism/feat/gdk-speech-display-lifecycle
xgameruntime_offline: one silent speech voice with WAVE streams, display power requests for timeout deferrals (RT-GDK-SPEECH-DISPLAY-LIFECYCLE)
2026-11-24 08:44:39 -05:00
dd4be16087 Merge pull request #359 from ubiquitarianism/feat/xs-device-stops-7-9
d3d12_xs_device: slot 73 creates the console ID3D12GraphicsCommandListX IID as ID3D12GraphicsCommandList (RT-XS-DEVICE-STOPS-7-9)
2026-11-24 08:44:17 -05:00
de223bed9e Merge pull request #357 from ubiquitarianism/feat/ws2-offline-shim
runtime: add offline loopback-only Winsock2 (ws2_32.dll) shim
2026-11-24 08:44:13 -05:00
1ff35186d3 docs/multi_gpu_validation: the two recurring RDNA1 failures are Mesa bugs, not old upstream issue 1203; the stale-binary note is under "Run them" (ASSET-379)
- cs_signed_zero_nan was filed under "the signed-zero class tracked in"
  old upstream issue 1203, which was a MoltenVK f16 multiply returning
  +0 for -0. docs/testing.md's Known problems row now names both causes:
  ACO's combine_add_sub_b2i for cs_w32_salu64 and NIR's fmul_is_a_number
  range analysis for cs_signed_zero_nan, both passing on RADV 26.3.1 on
  a gfx1151.
- The script/binary mismatch note pointed at "Known problems"; the note
  is "Rebuild the test programs after pulling" under "Run them" in
  docs/testing.md, and was there when this page was written.

Restores old upstream PR 7699, closed unmerged when the original
repository went private on 2026-11-23.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:43:37 -05:00
1b1d4edd2d Merge current main and retain mesh statistics in the first-run rendering context 2026-11-24 21:40:18 +08:00
abbd7d9b27 Document the boot profile and verify descriptor guards and per-device GPU completion
Keep completion batches with their owning Vulkan context. Test switching primitives, caller overrides, and the dynamic EXEC and uniform null-descriptor guards used for dimension-specific storage views.
2026-11-24 21:40:02 +08:00
a8fc8a50b3 docs/world_census: which streams are rejected, incomplete or invalid (review on old upstream PR 7698)
- The rejection handler catches zlib.error, struct.error and IndexError
  (scan_shard), not only a zlib error.
- Only a stream whose inflated bytes 0x10..0x15 are 0DRPz is a 0x7a
  candidate (inflate); a stream without that prefix is accepted as
  payload. A 0DRPz stream that is truncated, does not parse or is still
  short of a page is incomplete (assemble's "complete"); invalid is a
  second parse check behind it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:38:38 -05:00
08e2c36fd9 docs/world_census: rejected count, what a rejected candidate is, census_exact, --jobs default (ASSET-379)
- Coverage said "906 rejected candidates"; the Result table above it says
  840, the count ef54dfbf9 re-measured after the warm-up fix and left in
  the table only.
- A rejected candidate is a 16-byte-aligned zlib header that does not
  inflate to a stream ending inside the archive (scan_shard, assemble);
  an inflated stream that is not a complete or valid 0x7a resource is
  counted as incomplete or invalid, not rejected.
- census_exact (_summarize) tests maps_exact == maps, which implies
  entities_exact == entities; it does not test the latter on its own.
- The default --jobs is half the logical CPUs, capped at 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 08:38:15 -05:00
47c6511747 Merge pull request #577 from Mby159/feature/d3d-mesh-clipping-counter
Merging.

**Why merged:** Stacked on #540: the clipping invocations of a mesh segment now come from a mesh-pipeline query, so CInvocations/CPrimitives stay correct for mixed vertex + mesh work. sodove verified the exact head, including the disconnected-feature negative control that found (and now proves fixed) a gap in the test.

**Why it's good:** The embedded SPIR-V in statistics_sum_spirv.h was recompiled from the PR's .comp: all 431 words are identical and spirv-val passes. d3d12_mesh with validation: 0 errors, mixed C 12 vs vertex-only C 2, so the mesh share is 10, as expected.

Tested on Windows 11, RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0, alone on main (21625bca8 or 51f316092) and in a cumulative merge of #497, #278, #310, #334, #346, #340, #355, #361, #363, #620 and #577 (which carries #540) on main 2d73c242f (git merge-tree: 0 conflicts against current main). Repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests): 566 passed / 5 skipped / 0 failed on main and on main + batch. compileall OK. Full ctest: 302/304 on main and on main + batch (the same two pre-existing failures, d3d12_execute_indirect_validation and d3d12_depth_resolve, no new ones).

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 08:38:08 -05:00
3bb46d658b Merge pull request #540 from Mby159/d3d-291-mesh-statistics
Merging.

**Why merged:** Fixes the mesh half of #506: the statistics pool active during vkCmdDrawMeshTasksEXT no longer enables the two clipping counters that VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 forbids. Verified on an RTX 5070 Ti (sodove), RTX 4080 (quartz-heron-58) and RX 7900 XTX (bvtterbroot), all with validation on; the rebase to 916dbc619 is byte-identical (range-diff checked). Merged on its own first because #577 is stacked on it.

**Why it's good:** On the 4070 SUPER with LEONIDA_VK_VALIDATION=1: plain main fails d3d12_mesh with 3x VUID-...-07076; main + #540 + #577 passes d3d12_mesh, replay_query_edges and replay_query_predication with 0 validation errors, and the counters match sodove's numbers (mesh-only C 8/0, PS 1024).

Tested on Windows 11, RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0, alone on main (21625bca8 or 51f316092) and in a cumulative merge of #497, #278, #310, #334, #346, #340, #355, #361, #363, #620 and #577 (which carries #540) on main 2d73c242f (git merge-tree: 0 conflicts against current main). Repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests): 566 passed / 5 skipped / 0 failed on main and on main + batch. compileall OK. Full ctest: 302/304 on main and on main + batch (the same two pre-existing failures, d3d12_execute_indirect_validation and d3d12_depth_resolve, no new ones).

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 08:37:58 -05:00
14b5825881 Merge pull request #497 from Rain156/feat/native-graphics-shader-index
Merging.

**Why merged:** Indexes the DXBC identities the Xbox native graphics pipelines use, which the native-PSO path needs. The earlier hold (new tool not listed as a translator input) is fixed in 62a95883b: native_pso_hashes is now in translator_deps.cmake, make_game.py's translation sources and runtime.yml.

**Why it's good:** Security read of the three-dot diff: tools and tests only, no binaries, downloads or network calls. The PR's own tests: 129 passed. The consistency set, which caught the missing input registration last time, is clean now.

Tested on Windows 11, RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0, alone on main (21625bca8 or 51f316092) and in a cumulative merge of #497, #278, #310, #334, #346, #340, #355, #361, #363, #620 and #577 (which carries #540) on main 2d73c242f (git merge-tree: 0 conflicts against current main). Repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests): 566 passed / 5 skipped / 0 failed on main and on main + batch. compileall OK. Full ctest: 302/304 on main and on main + batch (the same two pre-existing failures, d3d12_execute_indirect_validation and d3d12_depth_resolve, no new ones).

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 08:36:39 -05:00
b358d9062d lifecycle: suspend callbacks on window close and fit the title window (split from #401)
RegisterAppStateChangeNotification / UnregisterAppStateChangeNotification under
api-ms-win-core-psm-appnotify-l1-1-0/-l1-1-1 and kernelbase.dll, and CreateWindowExW/A under
user32.dll and ext-ms-win-rtcore-ntuser-window-l1-1-0/-l1-1-1, plus CreateWindowExA under
ext-ms-win-rtcore-ntuser-window-ansi-l1-1-0, the set the title's import table names. The title's
first top-level window is fitted to the work area and hooked: SC_CLOSE runs the suspend callbacks
(quiesced TRUE) and ends the run through the title's ExitProcess, with a 1 s deadline.

Split from #401 (a02134a9c), as the maintainer asked for one topic per pull request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:33:06 -03:00
d7354f2b91 xgameruntime_offline: one silent voice, drop XAppCaptureImpl and the lifecycle shim (#401 review)
- Speech is consistent now: XSpeechSynthesizerEnumerateInstalledVoices calls back once with a silent
  voice (XSpeechSynthesizerVoiceInformation in the GDK reference's layout), and SetCustomVoice accepts
  that voice id only. The enumeration takes (context, callback), the GDK reference's order; main read
  them the other way round.
- XAppCaptureImpl is left to #537, which serves it in xgameruntime.cpp with its full layout.
- The lifecycle shim (app-state callbacks, CreateWindowEx hook) moves to its own pull request.
- docs/runtime_imports.md: the speech and launcher bullets match the code; the launcher's display power
  request is called out as a side effect on the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:33:05 -03:00
5112ec1a84 file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host
Signed-off-by: Maxime Mansiet <AirKyzzZ@users.noreply.github.com>
2026-11-24 16:32:20 +03:00
a5bb4b9b8c feat: d3d12_xs exports D3D12CreateVersionedRootSignatureDeserializer, clearing the Xbox RTS0 flags
Upstream PR #8814
2026-11-24 16:31:56 +03:00