Commit Graph

5744 Commits

Author SHA1 Message Date
108b4bdad4 docs: list ivall/xcl (GPL-2.0-only) in related projects: facts only, no code (#5398)
Squash-merged after diff review of PR #5398 - docs: list ivall/xcl (GPL-2.0-only) in related projects: facts only, no code
2026-11-23 09:39:47 -06:00
bd3f061ad5 s_memtime/s_memrealtime behind --shader-clock khr (default off), design.md row, spirv-val in the test (#2817)
Squash-merged after diff review of PR #2817
2026-11-23 09:39:27 -06:00
e15e2c59ea RT-5: the retail executable reaches 17 GDK runtime classes through 161 linked thunks, and imports no xgameruntime.dll (#6751)
Squash-merged after diff review of PR #6751 - RT-5: the retail executable reaches 17 GDK runtime classes through 161 linked thunks, and imports no xgameruntime.dll
2026-11-23 09:39:20 -06:00
590631f342 progress_dashboard: honor the encoding of JUnit reports (#6868)
Squash-merged after diff review of PR #6868 - progress_dashboard: honor the encoding of JUnit reports
2026-11-23 09:39:03 -06:00
a847ee646a RT-5: how the retail executable calls the audio coprocessor, texture layout and DirectStorage imports (22, no shim) (#6899)
Squash-merged after diff review of PR #6899 - RT-5: how the retail executable calls the audio coprocessor, texture layout and DirectStorage imports (22, no shim)
2026-11-23 09:37:29 -06:00
c1aa89e0ff BUILD-2389: verify keyed drawable offset predictions against exported models (#6900)
Squash-merged after diff review of PR #6900 - BUILD-2389: verify keyed drawable offset predictions against exported models
2026-11-23 09:37:15 -06:00
6c8eb8221e pe_shader_containers: read shader stage from PSV0 and document game_scarlett_master.exe's 10 embedded shaders (RT-5) (#6840)
Squash-merged after diff review of PR #6840 - pe_shader_containers: read shader stage from PSV0 and document game_scarlett_master.exe's 10 embedded shaders (RT-5)
2026-11-23 09:36:48 -06:00
8e3c7c72b7 docs: the retail boot chain, what stops gta6rt --run in order (RT-5 measurement) (#6915)
Squash-merged after diff review of PR #6915 - docs: the retail boot chain, what stops gta6rt --run in order (RT-5 measurement)
2026-11-23 09:36:40 -06:00
2dd8795ad8 navmesh_index/world_lights_paths input guards; bcpack_tool in docs; design.md f16-interp row (#6916)
Squash-merged after diff review of PR #6916 - navmesh_index/world_lights_paths input guards; bcpack_tool in docs; design.md f16-interp row
2026-11-23 09:36:24 -06:00
f4cd30610d design.md: the game's 172 SDWA forms measured on RDNA2 (gfx1036); test with the measured words (EGEN-HW-SDWA) (#2769)
Squash-merged after diff review of PR #2769
2026-11-23 09:36:19 -06:00
51d010100d xgameruntime notes: settle the assumptions the executable's thunk list answers (RT-5 follow-up) (#6865)
Squash-merged after diff review of PR #6865 - RT-5 follow-up: settle the xgameruntime assumptions the executable's thunk list answers
2026-11-23 09:35:55 -06:00
fb40ed3698 rdna2spirv: the thread-group word also carries [24:20] and the first-wave bit (gfx1036 measurement)
@wasonidas measured the TG_SIZE_EN SGPR on gfx1036 through tools/hw_oracle (#6446): the low 12
bits matched, and the hardware also sets the wave index in [24:20] (Mesa's GFX10.3 field) and
bit 31 in the group's first wave (wave32 x 128: 80000004 00100044 00200084 003000c4). The prologue
now writes both. One pipeline-library program reads [24:20]; programs that mask with 0xfc0 or 0x3f
see the same value as before. Not measured on gfx1013.

test_cs_tg_size.py: the whole value with the new fields, and the four measured gfx1036 words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:35:47 +01:00
a365b5c85c xgameruntime_store: measure XStoreGameLicense's 104-byte layout from the retail executable (#6884)
Squash-merged after diff review of PR #6884 - xgameruntime_store: measure XStoreGameLicense's 104-byte layout from the retail executable
2026-11-23 09:35:34 -06:00
b4adb75081 Startup trace: name failed guest file opens, and LEONIDA_SKIP_INT3 to follow a boot past soft asserts (#6937)
Squash-merged after diff review of PR #6937 - Startup trace: name failed guest file opens, and LEONIDA_SKIP_INT3 to follow a boot past soft asserts
2026-11-23 09:35:20 -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
56e607ac85 Runtime: pipeline-statistics queries around mesh draws (D3D-291) (#2359)
Squash-merged after diff review of PR #2359
2026-11-23 09:34:02 -06:00
86b8e04e4c d3d12_xs: device slot 26 takes the console's struct-return form
The retail executable calls GetCustomHeapProperties with the return buffer in RCX and the device in RDX. The forwarder took RCX for the proxy and faulted.

AI-assisted.
2026-11-23 16:33:12 +01: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
5dbc30bed7 d3d12_xs: device slots 25/26 take the title's C-ABI struct return
The retail executable calls GetCustomHeapProperties (device slot 26) with the
C convention: the hidden return buffer in RCX and the device in RDX. The
proxy's generic forwarder assumed the PC C++ form (this in RCX, buffer in
RDX), took the buffer for the device and crashed on its vtable right after
D3D12XboxCreateDevice.

Slots 25 (GetResourceAllocationInfo, same rule, inferred) and 26 (measured)
now get thunks that accept either form: whichever of the first two arguments
is the device proxy is `this`. The runtime's own code still calls the proxy
through d3d12.h in the PC form. device_proxy_test calls both slots in both
forms against WARP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:32:28 +01:00
0cde63d618 d3d12_xs: device slot 48 creates a command queue proxy from the 32-byte Xbox description
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:30:47 +01:00
dfcc046b4f RT-5: how the retail executable calls xmem.dll: all 23 XMemVirtualAlloc sites pass an attribute word the shim refuses
tools/import_call_sites.py finds an import's thunk and the call/jmp rel32 instructions that reach it, from the file
alone. On game_scarlett_master.exe: XMemVirtualAlloc 23 sites (every attributes value nonzero, protections carrying
PAGE_GRAPHICS bits), the physical-page family 21 sites with an AWE-shaped signature and 64 KiB pages, and the
constants the other xmem imports are called with. docs/xmem_exe_calls.md records them and what is still unmeasured.
2026-11-23 16:15:58 +01:00
4224c53b14 xgameruntime: serve XErrorReport, the sixth name the GDK thunks look up
libHttpClient.GDK.dll and XCurl.dll reach the GDK runtime through
xgameruntime.lib's thunks: LoadLibraryW("xgameruntime.dll"), then
GetProcAddress of InitializeApiImpl, InitializeApiImplEx,
InitializeApiImplEx2, QueryApiImpl, UninitializeApiImpl and XErrorReport.
The shims served only the first five. Without XErrorReport the thunks
refuse the runtime before they call any initializer: under gta6rt --run,
HCInitialize returned 0x89240101 (E_GAMERUNTIME_DLL_NOT_FOUND) and
curl_global_init returned CURLE_FAILED_INIT.

XErrorReport is now served by the function behind IXErrorImpl slot 3, so
a report reaches the XErrorSetCallback callback either way.
xgameruntime_test and the tiny_gdk_load fixture check all six names and
that a report through the export reaches the callback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 14:30:02 +00:00
5bc7e8b0a1 rdna2spirv: v_cmp(x)_lg as ordered less-or-greater, not OpFOrdNotEqual (BUILD-1977) (#6251)
Squash-merged after diff review of PR #6251 - rdna2spirv: v_cmp(x)_lg as ordered less-or-greater, not OpFOrdNotEqual (BUILD-1977)
2026-11-23 08:26:36 -06:00
2967b15c13 docs: index the 30,511-table census in the text.md row (#6302)
Squash-merged after diff review of PR #6302 - docs: index the 30,511-table census in the text.md row
2026-11-23 08:26:29 -06:00
a284bad1e9 pk16_diff, vint_diff, sdwa_diff, wint_diff: --oracle hw,vk runs the translated programs on a Vulkan GPU (#6306)
Squash-merged after diff review of PR #6306 - pk16_diff, vint_diff, sdwa_diff, wint_diff: --oracle hw,vk runs the translated programs on a Vulkan GPU
2026-11-23 08:25:41 -06:00
e0999da5b3 docs/i18n/tr: the conda llvm-tools route and the README disk figures (EGEN-TR-I18N-SYNC) (#6180)
Squash-merged after diff review of PR #6180 - docs/i18n/tr: the conda llvm-tools route and the README disk figures (EGEN-TR-I18N-SYNC)
2026-11-23 08:25:24 -06:00
4a1fa33b47 script_qtable: a missing or unreadable input is one ERROR line and exit 2 (EGEN-SCRIPTQTABLE-MISSING-INPUT, DeepSeek2) (#6232)
Squash-merged after diff review of PR #6232 - script_qtable: a missing or unreadable input is one ERROR line and exit 2 (EGEN-SCRIPTQTABLE-MISSING-INPUT, DeepSeek2)
2026-11-23 08:24:41 -06:00
460cf2cbbd i18n(ar): README's ~400 GB full build, the conda llvm-tools route, and a current synced commit (#6244)
Squash-merged after diff review of PR #6244 - i18n(ar): README's ~400 GB full build, the conda llvm-tools route, and a current synced commit
2026-11-23 08:24:15 -06:00
8f800c06e8 docs: show how to run one CI GPU test on Windows (#6309)
Squash-merged after diff review of PR #6309 - docs: show how to run one CI GPU test on Windows
2026-11-23 08:24:11 -06:00
a31e3c6839 fix(rdna2spirv): preserve src0 NaN bits in all-NaN float min/max/med3 (#6293)
Squash-merged after diff review of PR #6293 - fix(rdna2spirv): preserve src0 NaN bits in all-NaN float min/max/med3
2026-11-23 08:22:32 -06:00
b26112bf23 docs/first_light: the no-package run is 46 tests (42 passed, 4 skipped), not 19 (EGEN-FIRSTLIGHT-TEST-COUNT) (#6228)
Squash-merged after diff review of PR #6228 - docs/first_light: the no-package run is 46 tests (42 passed, 4 skipped), not 19 (EGEN-FIRSTLIGHT-TEST-COUNT)
2026-11-23 08:22:18 -06:00
338f242ad7 ASSET-520: combine independent BVH drawable window evidence (#6300)
Squash-merged after diff review of PR #6300 - ASSET-520: combine independent BVH drawable window evidence
2026-11-23 08:21:08 -06:00
4beffda88a bvh_match: leave out geometries by render bucket, not a shader-hash list (ASSET-349) (#6330)
Squash-merged after review of PR #6330 - bvh_match: leave out geometries by render bucket (ASSET-349)
2026-11-23 08:16:56 -06:00
c6384dfc81 d3d12_buffer_tiles: compare the layer with its own adapter's D3D12 (#6334)
Squash-merged after review of PR #6334 - d3d12_buffer_tiles: compare the layer with its own adapter's D3D12
2026-11-23 08:16:31 -06:00
4bffc09cb8 docs/testing: a Known problems row for GPU tests that crash on an uninvited implicit layer (#6317)
Squash-merged after review of PR #6317 - docs/testing: a Known problems row for GPU tests that crash on an uninvited implicit layer (EGEN-FPSMON-LAYER-ROW)
2026-11-23 08:16:23 -06:00
956544023a Preview individual DDS mip levels, cube faces, array layers and volume slices (#6352)
Squash-merged after review of PR #6352 - Preview individual DDS mip levels, cube faces, array layers and volume slices
2026-11-23 08:16:00 -06:00
73fce54990 rdna2spirv: gate the binary64 conversion, frexp and div_fixup output modifiers by MODE (#6314)
Squash-merged after review of PR #6314 - rdna2spirv: gate the binary64 conversion, frexp and div_fixup output modifiers by MODE
2026-11-23 08:15:53 -06:00
0d9972fe01 Preserve flat and scratch store VGPR live-ins in translator analysis (#6307)
Squash-merged after review of PR #6307 - Preserve flat and scratch store address live-ins in translator analysis
2026-11-23 08:15:47 -06:00
f6c6d11eee pal_stages: read the FSSM stage-descriptor table (#4347)
Squash-merged after review of PR #4347 - tools: decode the FSSM PAL stage descriptors
2026-11-23 08:12:39 -06:00
b79c6f1f09 anim_clips: decode the .motionmatcher layout (ASSET-258) (#3377)
Squash-merged after review of PR #3377 - anim_clips: decode the .motionmatcher layout (ASSET-258)
2026-11-23 08:12:36 -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
7c51695b30 xgameruntime: serve XGameRuntimeFeature and XSystemAnalytics offline through QueryApiImpl (#3476)
Squash-merged after review of PR #3476 - xgameruntime: serve XGameRuntimeFeature and XSystemAnalytics offline through QueryApiImpl
2026-11-23 08:12:29 -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
aff9338187 anim_clips: count clip windows; the clip timing rule over all 785,174 entries (was 4,471 in 300 sampled dictionaries) (#4881)
Squash-merged after review of PR #4881 - anim_clips: count clip windows; the clip timing rule over all 785,174 entries (was 4,471 in 300 sampled dictionaries)
2026-11-23 08:11:05 -06:00
e76cb47fb5 Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix (#5110)
Squash-merged after review of PR #5110 - Runtime: D3D12 queues share a VkQueue when the GPU has no free one (Intel UHD 770 queueCount 1), plus a CPU-signal hang fix
2026-11-23 08:11:02 -06:00
8497c70235 docs/design.md: build vk_harness from its CMake target, not a build_harness.cmd that exists nowhere (#5515) (#5523)
Squash-merged after review of PR #5523 - docs/design.md: build vk_harness from its CMake target (#5515)
2026-11-23 08:09:44 -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
21134fb8ea opus_tags: refuse conflicting dialogue rows before tagging (#5476)
Squash-merged after review of PR #5476 - opus_tags: refuse conflicting dialogue rows before modifying audio
2026-11-23 08:09:20 -06:00
6bb95d7c76 BUILD-1906: Use recorded archive boundaries for indexed model-folder joins (#5896)
Squash-merged after review of PR #5896 - BUILD-1906: Use recorded archive boundaries for indexed model-folder joins
2026-11-23 08:08:15 -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