Commit Graph

753 Commits

Author SHA1 Message Date
e688f7df1c Merge PR #9548 2026-11-23 17:07:12 -05:00
a30edd1ad5 Merge PR #9538 2026-11-23 17:06:58 -05:00
8b8de98803 Merge PR #9529 2026-11-23 17:06:44 -05:00
a7d211723a Merge PR #9521 2026-11-23 17:06:35 -05:00
0c4b9f436d Merge PR #9520 2026-11-23 17:06:34 -05:00
cc01a77eac bench_wave64: add emulated-only mode (BUILD-3860) 2026-11-23 22:24:08 +01:00
3746a6ff0b feat: select semantic test files by glob pattern 2026-11-24 00:23:58 +03:00
9a71bb4b2a run_wine_tests: resolve a relative Wine executable before changing directories 2026-11-23 16:23:12 -05:00
c18faa47d5 run_wine_tests: give test processes EOF on stdin 2026-11-23 16:22:59 -05:00
aa2dc43f70 Test fragment color modulation through a constant buffer descriptor table 2026-11-24 05:22:56 +08:00
ccd36246f7 runtime: acphal.dll shim with APU heap management and SHAPE context allocation (RT-5, ASSET-587)
- Resolve Stop 28 boot blocker preventing GTA 6 from launching: acphal.dll!ApuCreateHeap and AcpHalAllocateShapeContexts.
- Implement genuine APU physical memory management (ApuCreateHeap, ApuAlloc, ApuFree, ApuIsVirtualAddressValid, ApuMapApuAddress, ApuMapVirtualAddress):
  - Support cached and non-cached heap allocations with flags routing (flags=2 to non-cached, flags=1/0 to cached).
  - Genuine block tracking allowing proper memory reclamation and reuse upon ApuFree.
  - Disjoint APU 32-bit physical address space mapping with round-trip address conversions.
- Implement IAcpHal interface in AcpHalCreate:
  - Slot 0 (connect): S_OK.
  - Slot 1 (disconnect): S_OK.
  - Slot 2 (submit_command): S_OK (unblocks fatal int3 at +0x43ad94e at boot).
  - Slots 3 and 4 (pop_message, get_num_messages): return 0.
  - Slot 5 (release): releases object.
- Implement GDK SHAPE_CONTEXTS and exact layout:
  - Six context counts and arrays: SRC, EQCOMP, FILTVOL, DMA, XMA, PCM.
  - Structure alignment with xmaContextArray at offset +0x38, matching retail executable measurement (350 contexts x 64 bytes).
  - AcpHalReleaseShapeContexts releases allocated context arrays.
- Classify acphal.dll HRESULT imports in registry.cpp and update unimplemented_policy_test.cpp.
- Add acphal_test in runtime/CMakeLists.txt and python verification test tests/test_acphal_abi.py.
- Update fallback file list in scripts/build_runtime.ps1.

No game data. AI-assisted.
2026-11-23 22:19:47 +01:00
4cd82fe3fa vs_layout_census: confirm legacy non-NGG VS per PAL hardware stage; measure the 195 ES variants (#6558)
Squash-merged after diff review of PR #6558
2026-11-23 12:45:04 -06:00
3ae065426b BUILD-2172: check development CLI flags against each producer (#6590)
Squash-merged after diff review of PR #6590
2026-11-23 11:21:40 -06:00
f6a00fc4d8 rdna2spirv: --fma khr covers the f64 FMAs (v_div_fmas_f64) with OpFmaKHR on doubles (#6635)
Squash-merged after diff review of PR #6635
2026-11-23 11:10:12 -06:00
9f53c502ed scripts/merge_check.py: detect squash-merged PRs as prior merges (#6669)
Squash-merged after diff review of PR #6669
2026-11-23 11:01:07 -06:00
b03e803a82 audit_shader4_regs: fix lds buffer loads and dot-accumulate RBW (#6746)
Squash-merged after diff review of PR #6746
2026-11-23 10:48:11 -06:00
48ff424ec9 merge_check: scan main history once per batch of pull requests (#6762)
Squash-merged after diff review of PR #6762
2026-11-23 10:46:04 -06:00
86a7807dd4 Barycentric fallback on by itself on AMD's Windows driver for gfx90c (#5933) (#6828)
Squash-merged after diff review of PR #6828
2026-11-23 10:42:42 -06:00
511e3826ba run_gpu_tests: reuse pre-disassembled work listings (#7332)
Merging after diff review as part of the base pass.
2026-11-23 10:33:34 -06:00
ee93d8ce2a run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir (#6676)
Squash-merged after diff review of PR #6676 - run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir
2026-11-23 10:05:36 -06:00
cc67780893 BUILD-2248: run a synthetic guest scene with persistent output from the development CLI (#6691)
Squash-merged after diff review of PR #6691 - BUILD-2248: run a synthetic guest scene with persistent output from the development CLI
2026-11-23 10:04:30 -06:00
d8a9bdac18 ci: fail interrupted test runs even when partial failures are expected (#6755)
Squash-merged after diff review of PR #6755 - ci: keep interrupted runs red when partial failures are allowlisted
2026-11-23 09:59:55 -06:00
a67f8bf3b9 shader_stats: omit growth ratios with zero original instructions (#6771)
Squash-merged after diff review of PR #6771 - shader_stats: omit growth ratios with zero original instructions
2026-11-23 09:58:37 -06:00
8d85654bd0 check_no_game_data: match the MoVE, SKEL_ and SCRP containers (EGEN-NOGAMEDATA-ANIM-MAGICS) (#6782)
Squash-merged after diff review of PR #6782 - check_no_game_data: match the MoVE, SKEL_ and SCRP containers (EGEN-NOGAMEDATA-ANIM-MAGICS)
2026-11-23 09:58:12 -06:00
ae12372e3c audit_shader4_regs: a direct-to-LDS load reads its address, and the v_dot*c forms read their accumulator (EGEN-AUDIT-RBW-LDS-DOT) (#6767)
Squash-merged after diff review of PR #6767 - audit_shader4_regs: a direct-to-LDS load reads its address, and the v_dot*c forms read their accumulator (EGEN-AUDIT-RBW-LDS-DOT)
2026-11-23 09:56:56 -06:00
ac700c42b1 Fix CMake batch invocation for caret paths (BUILD-2278) (#6787)
Squash-merged after diff review of PR #6787 - Fix CMake invocation in caret checkout paths (BUILD-2278)
2026-11-23 09:55:44 -06:00
ab235a2195 merge_check: detect duplicate text in quoted patch paths (#6842)
Squash-merged after diff review of PR #6842 - merge_check: detect duplicate text in quoted patch paths
2026-11-23 09:53:24 -06:00
849d3709b9 first_look: resolve literal paths for the executable and its reports (#3175)
Squash-merged after diff review of PR #3175
2026-11-23 09:50:47 -06:00
43a9c04501 Exercise translated pixel image_load through a matched integer descriptor (#6833)
Squash-merged after diff review of PR #6833 - Exercise translated pixel image_load through a matched integer descriptor
2026-11-23 09:48:21 -06:00
bc773d3073 rdna2spirv: v_pk_mul_lo_u16 forms each half as ((x << 16) * y) >> 16 (#6836)
Squash-merged after diff review of PR #6836 - rdna2spirv: v_pk_mul_lo_u16 forms each half as ((x << 16) * y) >> 16 (AMD driver drops the mask)
2026-11-23 09:45:17 -06:00
86fd2fda81 first_look: use the existing Visual Studio loader build (#3510)
Squash-merged after diff review of PR #3510 - first_look: use the existing Visual Studio loader build
2026-11-23 09:40:42 -06:00
d616c91116 Record why a guest scene did not start (#6924)
Squash-merged after diff review of PR #6924 - guest_scene: retain run diagnostics when the loader cannot start
2026-11-23 09:36:03 -06:00
ced4057a98 TEST-468/469: GPU test tools request shaderInt64 only when a module declares Int64; vk_bindless_test honours LEONIDA_VK_DEVICE (#2647)
Squash-merged after diff review of PR #2647
2026-11-23 09:35:16 -06:00
8f208d09a2 rdna2spirv: 8/16-bit MUBUF loads and stores (buffer_load_ubyte/ushort/d16, buffer_store_byte/short) (#1864)
Squash-merged after diff review of PR #1864
2026-11-23 09:32:35 -06:00
c646bf8367 Speed up make_game by overlapping stages and showing progress. (#1797)
Squash-merged after diff review of PR #1797
2026-11-23 09:32:22 -06:00
295dbbad08 scripts/merge_check.py: before a merge round, say whether a PR is already on main or would double text (#6355)
Squash-merged after review of PR #6355 - scripts/merge_check.py: before a merge round, say whether a PR is already on main or would double text
2026-11-23 08:14:51 -06:00
c26d78af85 rdna2spirv: a pixel lane off at the last color export is not written; without vm, EXEC at the color export decides (#3988)
Squash-merged after review of PR #3988 - rdna2spirv: a pixel lane off at the last color export is not written; without vm, EXEC at the color export decides (measured on RDNA2)
2026-11-23 08:12:32 -06:00
0f2b802a4b rdna2spirv: ds_cmpst_f32 and the global/buffer fcmpswap atomics (#3153)
Squash-merged after review of PR #3153 - rdna2spirv: ds_cmpst_f32 and the global/buffer fcmpswap atomics
2026-11-23 08:12:11 -06:00
c2cc4bfe7f scripts/run_semantic_tests.py: run tests/semantic one process per file, in parallel (253 s -> 26 s) (#4961)
Squash-merged after review of PR #4961 - scripts/run_semantic_tests.py: run tests/semantic one process per file, in parallel (253 s -> 26 s)
2026-11-23 08:10:57 -06:00
3735209c12 TEST-1147: record the FMA mode in shader metadata and honor it in check.py (#5094)
Squash-merged after review of PR #5094 - TEST-1147: record the FMA mode in shader metadata and honor it in check.py
2026-11-23 08:10:46 -06:00
546aacc7f0 gta6rt: link with an 8 MB stack; a game thread with the default size had 1 MB for a driver's compiler (RT-400) (#5468)
Squash-merged after review of PR #5468 - gta6rt: link with an 8 MB stack; a game thread with the default size had 1 MB for a driver's compiler (RT-400)
2026-11-23 08:09:40 -06:00
64890ac263 gpu tests: the unsigned view of the implicit 2D integer sample row (#5900)
Squash-merged after review of PR #5900 - GPU test: the unsigned view of the implicit 2D integer sample row, GPU-checked on Intel UHD 630
2026-11-23 08:08:11 -06:00
9b13eeade7 check_no_game_data: catch PSIN/PAMH/MHIU/SPS1/SGD5/RDS5/AWC/YSC containers (#6311)
Squash-merged after review of PR #6311 - check_no_game_data: catch PSIN/PAMH/MHIU/SPS1/SGD5/RDS5/AWC/YSC containers
2026-11-23 08:06:49 -06:00
94083ce363 ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI) (#6320)
Squash-merged after review of PR #6320 - ci_expected_failures: --help works and a bad argument is one error line with exit 2 (EGEN-CIEXPECTED-CLI)
2026-11-23 08:06:41 -06:00
561b65a832 Merge remote-tracking branch 'origin/main' into triage-r44
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	.github/workflows/runtime.yml
#	tests/test_first_look_shim_report.py
2026-11-23 06:28:03 -05:00
0e5ccb8c4a Round 44 test clashes: run_gpu_tests reports a --work it cannot create (#4544's message), the readback test pins the PerVertexKHR fallbacks off, ttpf listings skip the decoder record, image_fuzz refuses a file --work before opening the oracle (#4087)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:31:07 -05:00
6bf3b7d281 Revert #3920 (held for the maintainer): it makes docs/design.md a file generated from docs/contracts/*.json
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>
2026-11-23 04:16:51 -05:00
902358c8aa tools/exe_checklist.py: every ASSUMPTION / UNVERIFIED / VERIFY note in one list for the exe's first look
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>
2026-11-23 01:00:14 -05:00
ec34b54fe1 Runtime: offline XGameEventImpl, XGameUiImpl, XGameStreamingImpl
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>
2026-11-23 00:52:45 -05:00
594f3485ee Runtime: offline XStoreImpl (the game license, package licenses, empty queries)
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>
2026-11-23 00:45:20 -05:00