Commit Graph

5744 Commits

Author SHA1 Message Date
8a57b3b1d3 Merge pull request #1114 from milk4sale/gpu-test/salu-ext
tests: GPU readback for 38 scalar ALU ops on run-time operands (GPU-SALU-EXT)
2026-11-24 20:49:40 -05:00
c266c269e3 Merge pull request #413 from milk4sale/docs/gpu-verified-atomics
docs/design.md: name the GPU fixtures of six atomics rows (DOC-GPU-VERIFIED-ATOMICS)
2026-11-24 20:48:07 -05:00
bc2d333495 rdna2spirv: sign-extend the 32-bit literal of v_cmp(x)_*_i64, v_ashrrev_i64, v_mad_i64_i32 (SHADER-VALU-LITERAL-SEXT)
LLVM's operand syntax widens a 32-bit literal in an i64 operand by sign
extension and in a u64/b64 operand by zero extension. llvm-mc prints -100
as 0xffffff9c, and the vector ops zero-extended that printed form, so
v_cmp_lt_i64 5, 0xffffff9c gave 1, v_ashrrev_i64 4, 0xffffff9c gave
0x0ffffff9:0 and v_mad_i64_i32 1, 1, 0xffffff9c had a zero high word.
The signed sources now go through Gen.valu_imm_i64; the u64/b64 ones
(v_cmp_*_u64, v_lshlrev/lshrrev_b64, v_mad_u64_u32) still zero-extend,
and f64 literals keep their high-word rule. Vector half of #978.

Tested: new tests/semantic/test_valu_signed_literal64.py (decimal, printed
hex and explicit pair agree; unsigned, positive-literal and inline-constant
controls) fails 5/8 on main and passes 8/8; full semantic suite 476 files /
6223 tests before, 477 / 6231 after, 0 failures; repo-consistency pytest
set 578 passed, 5 skipped; compileall clean. CPU only, no hardware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
2026-11-24 20:45:56 -05:00
d3741102e4 runtime: accept prebuilt XMA2 decoder via -DLEONIDA_XMA2_DECODER_LIB (BUILD-XMA2-PREBUILT-LIB) 2026-11-24 22:43:53 -03:00
0681b9d280 cfg_structure / rdna2spirv: unwrap tautological %pc guards in structured CFGs (ms_wave_info_s3 AMD LLPC crash)
cfg_structure.structure() wraps post-dominating join blocks after a diamond or loop in a ('guard', g, ...) node even when %pc == g is tautologically true on every incoming path. wave64_emulate_opt._unwrap_known_pc_guards already unwraps these guards for --wave64-emulate, which is why ms_wave_info_s3 passed on 32-wide NVIDIA GPUs while crashing with 0xC0000005 on native wave64 AMD RDNA2 Windows (driver 24.10.24, LLPC) where blk2's OpControlBarrier stayed trapped inside a conditional OpBranchConditional.

Move unwrap_known_pc_guards into tools/cfg_structure.py (reused by wave64_emulate_opt with zero duplication) and apply it in rdna2spirv.capped_tree() so both assemble() and needs_barrier_rounds() see post-dominating join blocks at top level.

SHADER-STRUCTURED-PC-UNWRAP

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
2026-11-25 03:40:21 +02:00
c5510733e9 Merge main (with #984) into RT-QUEUE31 (#968)
main now contains the #984 merge this branch was built on, plus its last
commits (the five tests of #984 settled under Wine, and the title's hang
watchdog staying armed by default). No conflicts: runtime/test/xmem_test.cpp
and docs/d3d12_vulkan.md merged cleanly, with test_copy_page_mappings and
test_copy_page_mappings_cpu_view each defined and called once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 20:38:14 -05:00
38bd89d44e Merge the #984 result as of 71a783e56 into the #939 merge
Fourteen commits the #984 merge gained after 8a242efeb: its own failing tests (xmem_test under Wine, check_tls_index0, vk_bindless_grow, xs_present_lazy_test), the console-heap probe and the poke experiment behind their switches, Python tool fixes, and the title watchdog default. No conflicts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 20:37:26 -05:00
18a22c1aef Merge pull request #984 from Moriz82/integration/proton-story-load
[integration] Linux/Proton and native Windows: boot through the story load (RT-PROTON-STORY-LOAD)
2026-11-25 02:37:19 +01:00
154e4ec034 Merge the #984 result (main + RT-PROTON-STORY-LOAD) into #939
The base is 8a242efeb, the merge of main and #984. 68 files conflicted; they were resolved in seven groups by
one rule: the same change in two forms keeps the base's form, everything only #939 has is kept, and where the
two solve one problem in two ways the base's is the frame and #939's plugs into it.

A, the Xbox proxy (d3d12_xs_device.cpp/.h, d3d12_xs.cpp, d3d12_xs_pso_stream.cpp/.h, d3d12_xs_alloc_size.h,
d3d12_xs_desc_clean.h, device_proxy_test.cpp, queue_proxy_test.cpp): the base's files with #939's additions
ported in. Device slot 57 asks #939's NativeGraphicsFactory first and falls back to the base's
proxy_create_graphics_pipeline_from_native_code on E_NOTIMPL. Kept from #939: the providers (texture lease,
raw texture view, resource by address, constant view, descriptor mapping, depth-stencil UAV, texture pages),
the title-backed descriptor mirror, slot 13's feature answers, GPU labels on list slots 71/72. Dropped: #939's
duplicates of the boot ladder routes, its fallback window, its slot 133 stand-in.

A2 (xs_proxy_mock_test.cpp): the base's test with #939's slot 70 raw-buffer case; presentation cases follow
#939's rule that a device which ever had a handler has no queue fallback.

B1, the Vulkan device (d3d12_vulkan_device.cpp, d3d12_com.cpp/.h, shader_library.h, queue_families.h,
pipeline_cache_file.h, startup_trace.h): one lazy-pipeline mechanism, the base's; #939's pending_base_compile
and first_use_backend_pipelines dropped, prepare_on_bind and cold_graphics_compile kept. create_texture keeps
the base's signature; #939's deferred backing is folded into the base's placed-memory binder. #939's quad
lists as triangle indices.

B2, the D3D12 tests (d3d12_existing_heap, a8_dimensions, pipeline_cache_seed, title_va, rect_list,
shader_library, loader_tls_index0, draw, compute, xmem_placed, shader_library_corpus): the base's tests where
both carry the same case, #939's cases added (rebound tables, linear texture map, large vertex batch,
executable shaders, default A8 views).

C, the backend (vulkan_replay.h, vulkan_backend.h, vulkan_bindless.h, vulkan_scratch.h, vulkan_present.h,
rect_list_geometry.h, vk_test_device.h, vk_pipeline_check.cpp, vk_store_test.cpp, bindless_sizing_test.cpp,
replay_texture_barrier_test.cpp): the base's prepare_draw and lazy compute, its #1055 release rule and its
rectangle generator; #939's rectangle variants, GPU quad index expansion, 1D/3D and depth-stencil UAVs, the
label fence on the base's submit.

D, memory, services, presentation (xmem.cpp/.h, xg_xs.cpp, xg_xs_test.cpp, title_va_alias.h and its test,
main.cpp, frame_pacer.h, xbox_present.cpp/.h; xgameruntime_offline.cpp for one comment): the base's xmem with
#939's label hooks, file-backed sections and pin_mapped_data; both texture computers in xg_xs.cpp, the base's
answering first; --first-run-ui kept without host speech in its profile.

E, build, tools, docs (runtime/CMakeLists.txt, make_game.py, tools/rdna2spirv.py, tools/shader_disasm.py,
scripts, tests, docs; docs/README.md and tests/test_exe_shaders_stage.py beyond the conflicts): the base's
v_dot4 decode, #281's disassembler form and tests/semantic/test_fspx_dot4_op_sel_disasm.py dropped; the
base's executable-shader step with #939's cache fix; 366 registered tests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 20:26:00 -05:00
5a5df8e0b6 Merge pull request #1089 from milk4sale/fix/ignore-rpfpreview-index-cache
Ignore rpf9-explorer's index cache when it lands in the checkout
2026-11-25 02:22:21 +01:00
cc22b7d4fd Merge pull request #1087 from milk4sale/docs/d3d12-builder-52
docs: the BVH builder's 52 programs all translate, and pipeline-state streams are implemented (DOC-BVH-BUILDER-52)
2026-11-25 02:21:00 +01:00
7fcbf1fde6 docs: queue slot 31 (CopyPageMappingsBatchX) is handled
- docs/linux_proton.md: the branch no longer ignores slot 31; say what it
  maps now (destination and paired CPU view) and the two gaps that remain.
- docs/d3d12_vulkan.md, section 4.9: a row for queue slot 31 with how its
  argument layout was established (read statically from the executable's call
  site, corroborated by a public project's queue, the pool size matching a
  boot, as #968 states it) and the known gap (mappings apply when the call is
  made, not in queue order); the PresentX row's "every other queue slot"
  now points at it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 20:17:45 -05:00
36bdcc1148 docs/testing: three tests that fail only under GPU-assisted validation, and why (DOC-GPUAV-LAYER-FALSE-POSITIVES)
vk_command_replay (parts H and I) and depth24_convert report
VUID-vkCmdCopyBufferToImage-pRegions-07931 for depth data that is in range,
and pipeline_cache_seed misses its cache, when the Khronos layer runs with
GPU-assisted validation. The Known-problems row says what the layer does
(read in its source, confirmed by turning the one check off) and which
setting to use for the run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 01:11:10 +00:00
c1df54c119 x64_recomp: 0F 01 /r is a ModRM group, so the walk stops one byte late (X64-RECOMP-GROUP7)
The `0F` table had no entry for opcode `0x01`, so the whole system-instruction
group decoded as the unknown `op0f_01` and its two opcode bytes. Every form of
`0F 01 /r` carries a ModRM byte: the memory forms are SGDT/SIDT/LGDT/LIDT/SMSW/
LMSW/INVLPG, and the register forms are whole ModRM bytes (MONITOR, MWAIT,
XGETBV, XSETBV, CLZERO, MONITORX, MWAITX, RDTSCP, SWAPGS, the VMX/SVM
instructions). Stopping after the two opcode bytes made every following
instruction in the function the wrong one.

A per-instruction differential against objdump over the retail image's `.text`
(26,674,180 instructions) shows the group decoded one byte short at all 16 sites
the image uses (10 clzero, 2 xgetbv, 2 monitorx, 2 mwaitx); with the group back,
9 `.pdata` functions decode 638 instructions further and 7 of them have no
unknown instruction left. `docs/mobile.md` records the measurement and the REA
section-header evidence.

Test: tests/test_x64_recomp.py::DecodeTests::test_group7_0f01_carries_modrm
fails before the fix (`0f 01 fc` decodes to size 2) and passes after.
2026-11-25 02:09:36 +01:00
c253e02843 docs: the runtime ctest suite by host, Wine against native Windows, on one Pascal card 2026-11-24 22:04:55 -03:00
e3ca930544 docs/design.md: one contract row for a DPP operand on a VOPC compare
Both sides added a row for the same rule. The merge kept main's decoder and translator rule (#957) and dropped #984's narrower ones, but #984's row 'Pipeline-library DPP comparisons' merged in without a conflict and described a decoder that is no longer there. main's row 'DPP on a VOPC compare' covers the forms #984's handled (full-mask f32 compares) and names the refused ones.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 20:01:20 -05:00
1f6acd893d docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN)
"What you need" said Python 3.11+ and the dict | None troubleshooting row said
to use 3.11+, but make_game.py stops on anything older than 3.12 (as the README
and every CI job say), so its tests fail on 3.11. scripts/run_gpu_tests.py on
its own still runs on 3.10+.
2026-11-24 21:56:50 -03:00
7e3bfb4e33 PresentX: docs and a test state the one-slot-per-layout rule of the merge
The merged queue proxy recognises PresentX at slot 30 on a queue in the older layout and at slot 32 on a queue detected as the newer one (a fence at slot 16 or 17, or SignalX at 25), which is #984's measured behaviour, with main's LEONIDA_XS_PRESENT_X_SLOT pinning one slot and an attached handler answering first. Only one of the two is PresentX at a time: in the newer layout slot 30 is another method.

docs/d3d12_vulkan.md still had main's row (the queue slots stay refused, gta6rt creates no presentation) and runtime/README.md still said PresentX has an unknown slot. Both describe the merged code now. check_presentation_wiring gains the newer-layout case: before the fence 30 reaches the presenter and 32 does not, after it 32 does and 30 does not.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:56:42 -05:00
869c889796 Stage copies between the two A8_UNORM backings through a buffer
An A8_UNORM render target is a VK_FORMAT_A8_UNORM_KHR image and any other
A8_UNORM texture an R8_UNORM image. CopyResource and CopyTextureRegion
between the two issued vkCmdCopyImage on that pair, which Vulkan does not
count as size-compatible: VUID-vkCmdCopyImage-srcImage-01548, although the
bytes came out right on the drivers tried. moffington reported it in the
review of #428 and Dezmonius confirmed it on native Windows with the
validation layer.

Such a copy now takes the replay's existing image -> transfer scratch ->
image route, the one depth <-> colour copies use, with one byte per texel
on both sides. Same-backing copies still copy image to image. This is the
approach of Dezmonius's proof of concept, which they described on the pull
request but did not publish; written here from that description.

d3d12_a8_copy_test copies A8 render target -> A8 texture and back, whole
(CopyResource) and a 3x3 box from a nonzero source offset to a nonzero
destination offset (CopyTextureRegion), and checks every texel read back:
the source bytes inside the box, the destination's own outside it. It wraps
vkCreateImage and vkCmdCopyImage behind the instance-proc pointer it hands
the layer and fails on any vkCmdCopyImage between VK_FORMAT_A8_UNORM_KHR and
another format, so it fails without this change even where the validation
layer is not installed; with LEONIDA_VK_VALIDATION=1 the layer's errors fail
it too. A8 -> A8 and R8 -> R8 copies are the controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:54:27 -05:00
12677c3414 rdna2spirv: image_gather4_c_lz: cite Mesa ACO, which agrees on every point
Mesa's ACO visit_tex for nir_texop_tg4 (read in two copies from a Mesa mirror,
about 2021 and a recent one) selects exactly image_gather4_c_lz and
image_gather4_c_lz_o for a shadow gather at level zero, pushes the address as
offset, bias, compare, derivatives, coordinates (no LOD word at level zero),
builds the offset dword as (offset & 0x3F) << (8 * i), keeps the compare whole
under a16, and sets dmask 1 for every shadow gather, which is the sourced reason
for refusing other dmask bits. Its half-texel integer workaround is GFX8-and-older
integer results only and does not touch a compare gather.

docs/design.md row, the emit_gather4_c_lz docstring and the test file header now
cite it; no behaviour change and no new case.

AI-assisted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
2026-11-25 00:54:13 +00:00
74b275a9b0 docs+translator: say only clamp applies, as the reviewer asked 2026-11-25 00:45:24 +00:00
8f498bed96 rdna2spirv: the f64 VALU ops keep only clamp, not their omod
RDNA2 ignores the VOP3 output modifier of the f64 VALU arithmetic and rounding
ops while f64 denormals are kept, which is the MODE this translator models. I
measured it with tools/hw_oracle raw kernels on a gfx1036 iGPU (the Radeon
iGPU of a Ryzen 7 7800X3D, Windows driver 31.0.24002.92, code object v5),
wave32 and wave64 identical, over the four combinations of MODE.IEEE and
denorm_mode_16_64. mul:2 / mul:4 / div:2 changed nothing for v_add_f64,
v_rcp_f64, v_rsq_f64, v_sqrt_f64, v_trunc_f64, v_ceil_f64, v_floor_f64 and
v_rndne_f64 while f64 denormals were kept, applied only with MODE.IEEE off and
the denormals flushed, and clamp applied in every one of those runs. The two
f64 call sites that still forwarded a full modifier list now hand
clamp_mods_f64 only the clamp they act on, and the rows that described the
scaling for those ops are corrected to what the hardware does.

This is SHADER-721, the binary64 counterpart of the f16 omod row (#4542,
"an f16 destination ignores omod"). The row for v_add_f64 records the sweep and
how it was confirmed and keeps the LLVM VOP3 citation main already had; the
rcp/rsq/sqrt and rounding rows keep the measurements others contributed (the
v_sqrt_f64 ulp errors, @timelery's sweep of the four rounding ops) and only
change the sentence about the omod. One contradiction is removed on the way:
main's rounding row said the translator applies the modifiers "as those rows
do" while the code applied them to ops whose own row says they are ignored.

Ops with their own rows are left exactly as they are - v_cvt_f64_i32/u32,
v_cvt_f32_f64, v_frexp_mant_f64, v_div_fixup_f64 and v_ldexp_f64 keep what
their rows measure. The same rule probably reaches the first three as well, and
tests/semantic/test_alu_ldexp_f64.py already knows it for ldexp; I raised that
in #5256 as a finding instead of folding unmeasured ops into this change.

Counted over the whole corpus, not a sample: 216 v_add_f64 in 5 of the 26,503
listings, none carrying an omod or a clamp, and no f64 mnemonic in the corpus
carries one, so no game shader changes behaviour here. The two translated
fixtures that do carry a modifier move to the unmodified result, which is what
the sweep predicts: cs_f64_add now reads 0x0 0x3ff40000.

Expectations follow the rule in tests/semantic/test_valu_add_f64.py,
tests/semantic/test_f64_round.py, tests/test_f64_output_modifiers.py,
tests/test_f64_transcendentals.py and the two fixtures with their runners.
tools/f64_diff.py keeps its f64-omod case as a known divergence and
tests/test_f64_diff.py now expects it to mismatch the ISA reference rather than
match it: the reference applies the omod the ISA text describes, the translator
no longer emits it, and that case is the one MODE in which the hardware does
apply it. ps_f64_mods, cs_f64_add and ps_f64_round pass on an NVIDIA RTX 4090
(driver 32.0.16.2124) and on the gfx1036 iGPU above, 3/3 on both; cs_f64_add
reads the same words on Intel UHD 630 / Mesa ANV at this head (@gertify).
2026-11-25 00:45:11 +00:00
0fc71338d8 docs/runtime_imports.md: drop the reference to a note that is not in the repository
The XUser paragraph #984 adds cites docs/re/takes/other-projects.md, which is not a tracked file, so tests/test_docs_repo_paths.py fails (on #984's head too). The sentence stands without the citation.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:44:15 -05:00
979f713f9e rdna2spirv: translate image_gather4_c_lz and image_gather4_c_lz_o (SHADER-GATHER4-C-LZ)
Both were refused by name. Each is now one OpImageDrefGather at the base level on
the sampled image and comparison sampler image_sample_c_lz uses (the compare
function is the sampler's, built from S# DEPTH_COMPARE_FUNC):

- address order after the optional offset dword: z-compare (f32, also under a16),
  s, t, and the slice of an array or cube (LLVM AMDGPUSampleVariant "{offset}
  {bias} {z-compare}" then the coordinates, no LOD for _lz; llvm-mc dword counts:
  2D 3, array and cube 4, +1 for _o, 2/3/+1 under a16);
- _lz is the base level (LLVM rewrites image_gather4_c_l with LOD <= 0 to
  IMAGE_GATHER4_C_LZ);
- four comparisons (0.0 or 1.0) in the gather order image_gather4_lz uses, two
  VGPRs for d16;
- _o: the signed 6-bit x [5:0], y [13:8] offset dword as image_gather4_lz_o reads
  it, an Offset operand (shaderImageGatherExtended).

Refused with a message: 1D and 3D, dmask other than 0x1, tfe, lwe, unorm, glc and
any other modifier. Mesa ACO and the RDNA2 ISA text were not readable; the row in
docs/design.md says so. Not GPU-checked.

tests/semantic/test_gather4_c_lz.py (16 tests): every operand of the emitted
OpImageDrefGather traced back to its VGPR and half, for 2D, array and cube, _o and
a16; result order; d16; stages; --texel-offset-fallback; the refusals; spirv-val
on every form.

AI-assisted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
2026-11-25 00:42:10 +00:00
48ba269139 d3d12_xs: device slot 81 with no presenter answers as the measured boot did
The merge kept main's form of device slot 81 (GetFrameStatisticsX: an attached presentation answers first) and with it main's answer when nothing is attached, S_FALSE with a zero count. No retail run has been through that answer: it is a reading of the public samples. #984, the tree that was measured to boot through the story load, answers the same call with S_OK and a zero count, and E_POINTER for a null count or for a count above zero with no array (its GetFrameEventsX handler). Nothing attaches a presentation in gta6rt, so this is the answer the title gets.

main's structure stays (the configurable route, the logged name, the handler first); only the answer without a handler is #984's. Both forms write the count through the third argument, so the two do not disagree about the layout. The mock tests (env-slots-invalid, check_presentation_wiring), the header comment and the row in docs/d3d12_vulkan.md say the same.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:42:09 -05:00
39879ce0fd Merge main into RT-PROTON-STORY-LOAD (#984)
Merges main at 1154976d4 into the integration branch at 273b3bdf9 (merge base ece4ba5b3). 42 files conflicted;
this commit is the resolution only. Build and test repairs follow in their own commits.

Rule of resolution: where both sides added different things, both stay; where both made the same change in two
forms, main's reviewed form stays and whatever #984's form did in addition is carried into it; where the two
changed the same code for different purposes, both purposes are kept.

Xbox proxy code (runtime/shims/d3d12_xs_device.cpp, d3d12_xs_device.h, d3d12_xs.cpp, d3d12_xs_alloc_size.h,
d3d12_xs_desc_clean.h, registry.cpp):
- d3d12_xs_device.cpp is #984's file with main's differing pieces ported in: env_slot and the configurable device
  routes, XboxQueueSlotRoutes, PresentationHandler / set_presentation_handler, the console caller rule for device
  slots 61 and 74 (#383, #385), route_xbox_device_slot, slot 81 as GetFrameStatisticsX, create_host_device, the
  console-form rule for slots 25 and 56, the console list IID of #359, and the forms of queue slot 18 (#403) and
  list slot 139 (#396).
- Kept from #984: the list proxy with handle translation, queue slots 16/17 as Signal/Wait, the fence's
  completed-value mirror, the shared FrameTokenSource, PresentX through queue_present_x when no handler is
  attached (slot 30, or 32 on a queue detected as the newer layout), slots 27/53/55/57/70/71/133, the wider
  pc_resource_desc, S_OK for queue slots past the PC table.
- Dropped: #984's GetFrameEventsX and LEONIDA_XS_FRAME_EVENTS_SLOT, its second-word rule for slot 61, its
  undetected-layout rule for queue slot 18, its list IID mapping to GraphicsCommandList6; main's copy of the base
  list proxy, its null-view slot 70 and its refusing slot 133.

Proxy tests (runtime/test/xs_proxy_mock_test.cpp, device_proxy_test.cpp, queue_proxy_test.cpp):
- Checks of both sides, each run once; main's forms of the render-target size and layout checks with #984's extra
  cases added; main's --env-slots-74 and #984's --env-slots-70.
- Adapted to the merged code: the queue tail answers S_OK, slot 73 answers an unknown IID with the list proxy,
  the queue slot 18 case installs a console caller. Dropped: #984's slot 81 GetFrameEventsX cases.

D3D12/Vulkan layer (runtime/shims/d3d12_com.cpp, d3d12_vulkan_device.cpp, runtime/src/command_list.h,
frame_pacer.h, shader_library.h, vulkan_backend.h, vulkan_replay.h, runtime/test/command_list_test.cpp,
d3d12_close_parity_test.cpp, d3d12_execute_indirect_validation_test.cpp, replay_texture_barrier_test.cpp,
vk_pipeline_check.cpp, vk_test_device.h):
- Resource::create_texture: #984's title images (deferred placed, pending streamed, title pool) and main's
  ordinary textures (#1413 shared blocks, #1364 staging fallback) are exclusive branches chosen by the texture's
  origin, so both pools run on disjoint sets of textures.
- frame_pacer.h is main's pacer (#402) with #984's FrameTokenSource as the token counter.
- main's forms kept for ExecuteIndirect (#1066, #377), the barrier into LAYOUT_UNDEFINED (#1055), the B4G4R4A4
  stand-in, per-face stencil masks, the unaligned tile staging (#528) and the device-lost flag (#980).
- shader_library.h: main's block inflate; #984's `bulk` parameter now defaults to true so main's callers keep it.
- Dropped: #984's B8G8R8A8 stand-in for B4G4R4A4 targets, its refusal of separate stencil masks, its zero-count
  refusal in ExecuteIndirect, its wider UNDEFINED -> UNDEFINED release and the test case for it.

Other shims (runtime/shims/dstorage.cpp, file_system.cpp, gameinput.cpp, xgameruntime_offline.cpp,
runtime/test/xgameruntime_offline_test.cpp, xmem_test.cpp):
- ReadFile and DirectStorage reads: #984's pinned kernel_writes read, then main's touch_pages retry on
  ERROR_NOACCESS. main's rt::fs::read_file is folded into #984's read_file.
- gameinput: main's strict LEONIDA_INPUT_SCRIPT parser with #984's rsup/rsdown entries.
- Speech synthesis: main's one silent voice and handle checks; #984's accept-anything form dropped.

Build, tools, docs (runtime/CMakeLists.txt, runtime/cmake/translator_deps.cmake, scripts/build_runtime.ps1,
make_game.py, tools/rdna2spirv.py, shader_disasm.py, shader_ir.py, shader_library.py,
runtime/test/shaders/cs_imgload_tfe.asm, cs_imgload_d16_tfe.asm, docs/README.md, boot.md, d3d12_vulkan.md,
runtime/README.md):
- Unions of the test, target and source lists; spirv_loop_guard.py added to translator_deps.cmake.
- rdna2spirv.py: main's DPP compare rule (#957), SMEM vcc base (#647) and widen_wave64_masks (#1021); #984's
  restore_skipped_instructions and restore_dot4_inline_sel. #984's duplicate widen_wave64_valu_masks dropped.
- shader_disasm.py and shader_ir.py: main's structure with #984's one-line-per-dword llvm-mc input and wave flags.
- shader_library.py: main's structure with #984's --compute-hashes and per-state compute variants.

One file that did not conflict is changed here: tools/rdna2_decode.py. Git kept both sides' decoders for a VOPC
compare with a DPP operand, and #984's narrower one shadowed main's; it is main's file again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:38:04 -05:00
aea8ca5968 div_scale_probe: preset D with a sentinel, pin the divide sequence, isolate the denormal-S1 branch
Review follow-ups for SHADER-DIV-SCALE-PROBE.

- D is written with a sentinel (no operand of the matrix and no candidate
  prediction equals it) before every v_div_scale of the plain and modifier
  kernels, so a D that is not written is reported (d_unwritten: summary line,
  --json field, --table marker) instead of reading as the previous row's value.
  The docstring and docs say that D = S0 where no branch assigns it is an
  assumption applied in every candidate, and name the emulator that initialises
  D differently.
- The f32 divide sequence omits LLVM's s_denorm_mode switch: the summary labels
  the f32 tallies of the MODEs that flush f32 denormals as not comparable with
  LLVM's lowering (llvm_comparable in the JSON), with a note.
- New pair 2^-60 [2^-284] over the smallest denormal: a gap below 96 [768], so
  the denormal-denominator branch is reached and not the gap branch. 49 pairs,
  108 rows per width.
- A run without --json ends with a line saying the summary is not the
  measurement. --json has mask_lo/mask_hi instead of the bare list; --table
  starts with a legend.
- isa_recip_width is described as the same text with the reciprocal classified
  in the operand's width; docstring and test references to a docs/design.md row
  that does not exist point at the docs/shader_validation.md section.
- tests: the preset and sentinel before every v_div_scale, the sequence against
  a hand-written table of LowerFDIV32/LowerFDIV64 and as a division on exact
  arithmetic, an unwritten D, the labels, the legend, a cr_ftz verdict.

AI-assisted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
2026-11-25 00:29:45 +00:00
ece08d3b1e rdna2spirv: 16-bit gradients for image_sample_d_g16 and image_sample_d_cl_g16 (SHADER-SAMPLE-G16)
The two g16 forms whose f32-gradient sibling main translates are now the
same sample as image_sample_d / image_sample_d_cl, with dP/dx and dP/dy
read as f16 halves: two per VGPR, low half first, each axis padded to a
whole VGPR (1D (dx, -) (dx, -); 2D/array/cube (x, y) (x, y); 3D (x, y)
(z, -) (x, y) (z, -)). Coordinates and clamp follow, packed only under
a16; g16 and a16 are independent. Gen.g16_gradients widens each half
with UnpackHalf2x16 and drops the pad; the f32-gradient path does the
rest. LLVM (SIISelLowering lowerImage, packImage16bitOpsToDwords) and
Mesa ACO (aco_select_nir.cpp, emit_pack_v1) agree on every point.

The six compare/offset g16 forms stay refused until their f32 siblings
are translated (SHADER-SAMPLE-GRAD-FORMS), and the eight _cd g16 forms
stay refused. docs/design.md gets a row. Not run on a GPU.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
2026-11-25 00:20:23 +00:00
62137d42f8 tools: fssm_root_layout reads each program's root-layout and used-resource tables, with a census (FSSM-ROOT-LAYOUT-TABLES)
docs/d3d12_vulkan.md section 3.5 infers where root arguments arrive from the user SGPRs the shaders read and calls
the graphics bases (s8 for VS/PS/GS, s16 for mesh) a hypothesis: the SGPR census cannot see root-parameter indices
or a spill. Each native program's FSSM record names two tables that state it directly: a root-layout table (root
type, user-data dwords, first user-data dword and root parameter index per parameter) and a used-resource table.
The record layout is the one VIctory reads (Marvisak/VIctory, GPL-3.0, crates/victory-shader/src/native.rs). The
parser is written for this repository from that layout and contains no VIctory code.

tools/fssm_root_layout.py is a new module on its own. root_tables(fssm) returns the programs of one blob with both
tables. It raises FssmLayoutError (a ValueError) for a header that is not version 0x101 with a matching payload
size, a record or code range outside the payload, records that overlap each other or the slot table, and a table
that runs past the payload or overlaps a record, its program's code or the program's other table. Unnamed types
and non-zero reserved fields are kept so they can be counted. Its command line prints the tables of a file or a
folder as JSON, or writes them with --out, one file in memory at a time.

tools/root_layout_census.py reads the user's own .fssm blobs or carved containers and prints counts per hardware
stage: the lowest SGPR a parameter arrives in, the dwords each root type takes, root types and used-resource kinds,
compute programs with a spilled parameter and the first spilled dword, and how many programs agree with the
section 3.5 hypothesis, with the reasons for the rest. It also counts what would show the reading to be wrong
(unread blobs by reason, record offsets, reserved fields, unnamed types). With no input it says so.

No retranslation: tools/fssm_unpack.py and every other file in make_game's TRANSLATION_SOURCES are untouched, and
neither new file is imported by the translator or make_game.py, so a translated shader library stays valid. A
test holds the two new names out of make_game.py, translator_deps.cmake, fssm_unpack.py, rdna2spirv.py and
shader_meta.py.

Nothing here was run on real shader data. Which fields are VIctory's reading and which this corpus's earlier
measurements already support (the two table offsets are the header's `code_end` and `meta_ptr`) is in section 3.5,
with the commands and the open questions. The runtime does not use the tables yet.

Tested: tests/test_fssm_root_layout.py (32 tests: hand-built records with constants, a root descriptor, tables, an
immediate sampler, a heap and a spilled compute layout; truncated, overlapping and overflowing tables; every
prefix and 4,000 seeded corruptions of a three-program blob; both command lines) and the fssm_unpack, pal_stages,
fssm_header, fssm_crosscheck, missing-input, line-ending and CI-registration tests pass. The repository-consistency
set gives 578 passed, 5 skipped. No game files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
2026-11-24 19:18:20 -05:00
355fe0c62e rdna2spirv: list %ms_cull before %ms_out_vtx in OpEntryPoint MeshEXT (AMD Windows LLPC crash)
AMD's proprietary Windows Vulkan driver (24.10.24, LLPC) segfaults (0xC0000005) during vkCreateGraphicsPipelines whenever a MeshEXT shader lists a Block-decorated per-vertex output struct with ClipDistance/CullDistance (%ms_out_vtx) before the Block-decorated PerPrimitiveEXT CullPrimitiveEXT output (%ms_cull) in OpEntryPoint's interface list (even glslangValidator's own GLSL output with gl_ClipDistance + gl_CullPrimitiveEXT hits the same crash).

Listing %ms_cull before %ms_out_vtx/%ms_out_pos in OpEntryPoint fixes ms_clip on AMD Windows RDNA2 (0xC0000005 -> 2048/4096 covered pixels exact, 0 validation errors) while keeping %ms_cull_blk in its Block+bool form required by SPIRV-Tools <=2025.1 (SHADER-30).

SHADER-MS-CLIP-IFACE

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
2026-11-25 02:11:05 +02:00
1154976d49 Merge pull request #1413 from TheGeogeo/perf/image-memory-pool
d3d12_vulkan: textures share blocks of device memory (VK-IMAGE-MEMORY-POOL)
2026-11-25 01:03:00 +01:00
706f5429e1 Merge pull request #1154 from PyZikYG/copy-queue-timestamp-support
Merging.

**Why merged:** D3D-COPY-TIMESTAMP-CAPS: timestamp bits are tracked per queue family, and transfer-only families count as 0 bits because they can't reset or resolve queries. This was the first native Windows run of the fixed head; madhyn's Wine run was on an older head, and KernelSmoker ran vk_queue on Linux. Behaviour change: OPTIONS3.CopyQueueTimestampQueriesSupported can now be TRUE, and a copy queue that gets a transfer-only family returns E_FAIL from GetTimestampFrequency and GetClockCalibration instead of borrowing the graphics family's bits.

**Why it's good:** d3d12_vulkan_device, d3d12_query_rules, vk_queue, vk_queue_query_sync and vk_queue_constructor_oom: 5/5 both plain and under validation on the 4070 SUPER.

Tested on Windows 11 / RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0. Merged alone onto main 0f98d193c, its ctests pass both plain and with LEONIDA_VK_VALIDATION=1. Cumulative with the rest of this batch on main 507029d1e: the repo-consistency set gives 578 passed / 5 skipped / 0 failed, compileall is clean, and full ctest is 317/318 with the usual 11 skips; the only failure is main's pre-existing d3d12_depth_resolve. All d3d12_* tests under validation: 119/120 with 0 VUIDs. The semantic suite has only the known environment-only failure. git merge-tree against current main 9c5e70661: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 19:02:38 -05:00
fec45f0a13 Merge pull request #1099 from Moriz82/split/rt-stream-transfer-barrier
Merging.

**Why merged:** RT-STREAM-TRANSFER-BARRIER: a transfer-write → transfer-read/write barrier goes before every vkCmdCopyBuffer, so back-to-back streamed copies are ordered. moffington measured SyncVal at 10 errors on the base and 0 on the head. Plaaasma (4070 Ti), iFeyz (RX 9070 XT) and whoalin1 (gfx1035) passed it. LEONIDA_ORDER_BUFFER_COPIES=0 turns it off (documented in docs/d3d12_vulkan.md).

**Why it's good:** replay_*, vk_bc_zero_init, vk_queue* and d3d12_close_parity: 16/16 both plain and under validation. A negative control on the cumulative build checked that the test really catches a missing barrier: with the barrier on, `--expect-unordered` fails; with the env var at 0, the ordered check fails and `--expect-unordered` passes. It also passes on top of #1055's vulkan_replay.h change. It adds one barrier per buffer copy, a small sync-policy cost with an opt-out.

Tested on Windows 11 / RTX 4070 SUPER (NVIDIA 621.24), VS 2022 + Ninja RelWithDebInfo, Vulkan SDK 1.4.363.0. Merged alone onto main 0f98d193c, its ctests pass both plain and with LEONIDA_VK_VALIDATION=1. Cumulative with the rest of this batch on main 507029d1e: the repo-consistency set gives 578 passed / 5 skipped / 0 failed, compileall is clean, and full ctest is 317/318 with the usual 11 skips; the only failure is main's pre-existing d3d12_depth_resolve. All d3d12_* tests under validation: 119/120 with 0 VUIDs. The semantic suite has only the known environment-only failure. git merge-tree against current main 9c5e70661: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 19:02:14 -05:00
9c5e70661a Merge pull request #395 from Mumogg/allocator-slot9-callback
d3d12_xs: command-allocator slot 9 (SetAllocatorCallbackX) is recorded, again (RT-ALLOC9)
2026-11-25 00:59:22 +01:00
b06d096ad0 Merge main into RT-ALLOC9 (#395)
Merged on top of the merge made for #391 (main 507029d1e plus RT-QUEUE35).

One conflict, in docs/d3d12_vulkan.md: both sides added a row at the same
place of the Xbox-only table. Both are kept: this branch's
"Command-allocator slot 9" row, then main's "Device slot 81, queue
PresentX/SuspendX/ResumeX" row. The code and the tests merged without
conflicts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 18:47:24 -05:00
364ab4eabb Merge pull request #985 from Tyrannys/fix/reanchor-from-llvm-offsets
Merging.

**Why merged:** SHADER-REANCHOR-LLVM-OFFSETS: shader_ir parses llvm-mc's "invalid instruction encoding" column offsets. rdna2spirv anchors on those exact offsets only when every rejected word has a parsed offset; otherwise it keeps the old forward search. Reviewers:
- morodirule: 2 of the 3 new cases fail on the old translator;
- KernelSmoker: semantic suite 471 files / 6168 tests, 0 failed;
- towade: on a full pipeline library, 2,608 programs translate versus 2,599 before, all pass spirv-val, and none are lost;
- madhyn: 3/3.

**Why it's good:** this changes translator output, so I held it for the full semantic suite. On Windows 11, cumulative with this batch on main e0b08c77d: 476 files / 6219 tests. The single failing file is `test_image_cube_store_glc`, which also fails on main (475 / 6216) because llvm-mc is given a Windows path here (#837). So the only difference is this PR's own new file, and nothing regressed. Its own tests: 3 passed. The repo-consistency set gives 578 passed / 5 skipped / 0 failed, and full ctest on the cumulative build is 317/318 (only the pre-existing d3d12_depth_resolve). git merge-tree against current main: no conflicts. Security read: no new tools file, no binaries, downloads or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 18:42:47 -05:00
681dae3a71 boot_trace: summarize render diagnostics in boot logs
A D3D12 stderr log can carry shader lookup failures, stub pipeline milestones and presenter capture measurements alongside the method trace. The old parser ignored them, so a first-boot report could not say whether the renderer was black or which shader classes were missing without sharing the raw log.

Parse those fixed categories into aggregate counts and include them in --counts-only and text output. No raw game strings or paths are emitted.

Carried from the source patch in Sigtryggur-Mani-Gudmundsson's graphics-runtime-patches collection:
33ab48d3ea/README.md (reading-black-frame-and-missing-shader-evidence-from-a-boot-log)

AI-assisted.
2026-11-24 17:38:23 -06:00
d64f12b53d Merge main into TEST-1700, wave32 VS halves wording (#804)
Conflict in docs/design.md: this branch rewords the "Wave64 graphics: partition invariance
(SHADER-10)" row; main left that row as it was and added the SHADER-W64-WQM-UVOTE row after it.
Kept this branch's SHADER-10 row and main's new row below it. runtime/test/shaders/w64_graphics.py
merged without conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:36:18 -05:00
a2209ec35d tools: div_scale_probe measures v_div_scale on GFX10 hardware (SHADER-DIV-SCALE-PROBE)
The translator refuses v_div_scale_f32/f64: the ISA text, the D = S0
pass-through LLVM's divide lowering relies on and the rule tinygrad's
RDNA3 emulator runs disagree at the edges, so the rule has to come from
a measurement. tools/div_scale_probe.py makes that one command on a
GFX10 GPU, built like tools/f64_omod_probe.py on tools/hw_oracle: raw
one-lane kernels, the five MODEs of that probe (game MODE first), wave32
and wave64.

Per width it runs 48 numerator/denominator pairs (special, denormal,
exponent gap 95/96/97 [767/768/769], denominators around 2^126 [2^1022],
quotients around 2^-126 [2^-1022], numerator fields 22/23/24
[52/53/54], ordinary) as the denominator and the numerator call, plus
10 S0 = S1 = S2 cases, each with VCC and with an SGPR mask destination
preset to all ones; 30 modifier rows; and LLVM's whole divide sequence
on every pair. Each row prints next to it what three candidate readings
predict (the newer ISA wording, the text with an f32-width reciprocal
test, tinygrad's emulator rule), so a run shows which one the hardware
follows. Not run on hardware; no rule goes into the contract table.

tests/test_div_scale_probe.py checks the matrix and its boundaries, the
candidates' known disagreements (including the 1.0 / 2^127 -> +inf
divide through the translator's measured v_div_fmas/v_div_fixup),
assembly with llvm-mc, and parsing and the CLI with a fake oracle.
docs/shader_validation.md documents the tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
2026-11-24 23:36:17 +00:00
70d615b3bb Merge main into OLD-7084, pe_inspect Linux classes (#653)
No conflicts. Brings in main's owns_dll host list with ws2_32.dll and wsock32.dll (the
ws2_offline shim), which the next commit mirrors in pe_inspect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:34:52 -05:00
95db9aa141 saves: import the payload as "Save Game Data", the name the title asks for
The import's default blob name was the payload's file name (SLOT0, Player,
story) on a guess the docs carried as a VERIFY. The executable settles it:
XGameSaveSubmitBlobWrite takes a literal at both call sites -- "Save Game
Header" first, 0x128 bytes, then "Save Game Data" with the payload -- and
the read path matches exactly those two names, keeping the header only when
its size is 0x128. A container the title wrote therefore holds a 296-byte
header blob and a data blob, so a payload imported under any other name is
never read back.

Write the payload as "Save Game Data" (the existing %-encoding turns it into
Save%20Game%20Data on disk) and leave --map for both halves. The container
name is still unmeasured: neither CreateContainer call passes a literal, both
take [state + 0x288] + index * 0x2c + 2, a table the title fills at run time,
so the default stays the ASAV slot name and the docs say so instead of
guessing.

docs/saves.md records what was measured and what was not and drops the
VERIFY; the import-manifest note says the same; the layout test pins the new
name. tools/exe_checklist.py goes from 17 notes to 16 on dde82f27e.
2026-11-24 17:34:39 -06:00
5866d6974e Merge main into OLD-8161, T: overlay folder per process (#684)
Conflict in docs/boot.md, the --overlay switch: main now says the overlay defaults to
<game-dir>\overlay and the package is never written; this branch adds the per-process T: folder
inside the overlay. Kept main's sentence and appended the T: text after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:33:53 -05:00
507029d1ea Merge pull request #727 from DesertGamer/fix/slot108-rebase
d3d12_xs: route device slots 86, 101 and 108 to PC Device2/Device5/Device8, rebased on main (RT-SLOT108-REBASE)
2026-11-25 00:32:22 +01:00
903eab117a gpu-test-results: RTX 5070 Ti on NVIDIA 621.01, Windows 11 (GPU-RTX5070TI-62101)
A separate driver record next to #635 (617.42): the pre-disassembled subset
natively and with LEONIDA_W64_EMULATE=1, the MSVC runtime ctest and the
translator suite on main e0b08c77d.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:30:56 +01:00
26fabdbba8 rdna2spirv: guard native DPP FI=0 shuffle source 2026-11-24 18:27:48 -05:00
393792fece docs/testing: known problem, cs_fmt_int_narrow on Intel ANV Mesa 25.2 (denormal flush; TEST-1000 + Xe2/ARL evidence)
One Known-problems row. The mechanism paragraph and the Gen9 measurements are
theswiss24's TEST-1000 diagnosis (old repo PR #4736, never merged before the repo
closed); this carries it and adds the Arrow Lake-H Arc 140T datapoint: the same
three-word signature (words 34, 49, 129) at ANV 25.2.8, both subgroup modes,
and all 136 words passing once DenormPreserve 32 is added by hand.

AI-assisted.
2026-11-24 23:27:20 +00:00
2b72fb53d1 d3d12_vulkan: textures share blocks of device memory (VK-IMAGE-MEMORY-POOL)
Every committed and placed texture made its own vkAllocateMemory and
released it with its own vkFreeMemory, about 100 us and 200 us on an
RTX 3080. Small device-local textures now take ranges of 64 MiB blocks
(runtime/src/image_memory.h). Render targets, depth buffers, CPU-visible
textures and textures over an eighth of a block keep their own
allocation. A range goes back to its block through the deferred
deletion queue, and a texture in a reused range is zeroed before a
shader reads it.

Tests: image_memory (CPU) and d3d12_texture_memory (GPU).
2026-11-25 00:25:24 +01:00
cdb003ea19 Merge pull request #1055 from milk4sale/d3d12/barrier-into-undefined
d3d12: an enhanced texture barrier into LAYOUT_UNDEFINED closes and keeps the layout (D3D-BARRIER-INTO-UNDEFINED)
2026-11-25 00:24:32 +01:00
7234bcd7a5 Merge main into RT-SLOT108-REBASE (#727)
Three files conflicted; in each, both sides had added something and both
are kept.

runtime/shims/d3d12_xs_device.cpp: this branch still had the Xbox device
slot routes inline, followed by its fixed handlers for slots 86, 101 and
108; main has since moved the same six routes into
route_xbox_device_slot() (#385). The generic path now calls the helper and
then the three fixed handlers, so a configured route still wins over
them, as this branch's second commit intends. device_slot_overridden()
has main's list plus 86, 101 and 108.

runtime/shims/d3d12_xs_device.h: the comment lists both sides' slots.

runtime/test/xs_proxy_mock_test.cpp: the mock device keeps main's case 13
(CheckFeatureSupport) and this branch's case 68
(GetResourceAllocationInfo2); check_xbox_slots keeps main's slot 41 and 61
cases, one combined list of handled slots, and this branch's slot 86, 101
and 108 cases.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 18:23:04 -05:00
79d044e54d Merge pull request #972 from flp-sp/docs/gameinput-api-table-dedupe
Merging.

**Why merged:** DOC-GAMEINPUT-API-DUPES: removes two stale duplicate rows from the docs/gameinput.md API table. KernelSmoker approved it.

**Why it's good:** Docs tests: 47 passed.

Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main 0f98d193c. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests, ctest_registration) gives 578 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-24 18:22:54 -05:00