Commit Graph

6308 Commits

Author SHA1 Message Date
51f94c885d gbuffer_census, navmesh_cell_fit, root_spill_census: a wrong input is one ERROR line, not a traceback 2026-12-01 12:40:33 -05:00
d2a564b66a Merge pull request #2865 from azsekazvamdimitar/feat/rtx3090-vram-perf-and-translator
d3d12/vulkan + rdna2spirv: staged VRAM arena, DMA readback batching, parallel shadows, stream-pool fix & wave64 perf (RT-ARENA-DEVICE-LOCAL-STAGED)
2026-12-01 18:17:55 +01:00
ace83ae110 game_run_summary: say whose peak the line is, and make the v2 path guard bite
KelboLive's review of #2845: without a systemd scope the peak is the caller
cgroup's lifetime peak, so the one-line summary now says so, which keeps a
comparison table from reading it as the run's own.

The `[ -n "$cg_rel" ]` guard was untested: removing it still passed, because the
fake root had no memory.peak to pick up. The v1 test now has one at the root, so an
empty v2 path reads nothing and dropping the guard fails it (checked: mutation
gives 1 failure).

AI-assisted: yes
2026-12-01 17:56:00 +01:00
9b7674d643 Fix post-merge CI regressions in wave_diff, x64_recomp, and piecewise_parse 2026-12-01 10:54:03 -05:00
7ea14a36b2 Merge pull request #2438 from timbot103/shader-nvvm-mubuf-offset-fit
rdna2spirv: check high 32 bits for buffer offset fit to avoid NVVM crash (SHADER-NVVM-MUBUF-OFFSET-FIT)
2026-12-01 16:22:24 +01:00
66e2262b2b Merge pull request #2388 from syfyra/fix/restofworld-index-text-sample
restofworld_index: judge text on the same 512 bytes in an archive (RESTOFWORLD-INDEX-TEXT-SAMPLE)
2026-12-01 16:22:12 +01:00
4128da7fba Merge pull request #2384 from syfyra/fix/awc-names-family-suffix-number
awc_names: number family members by their suffix (AWC-NAMES-FAMILY-SUFFIX-NUMBER)
2026-12-01 16:21:47 +01:00
df3eb2fa71 Merge pull request #2382 from syfyra/fix/world-archetypes-folder-continuation
world_archetypes: read a carved resource's continuation file too (WORLD-ARCHETYPES-FOLDER-CONTINUATION)
2026-12-01 16:21:34 +01:00
1c194ebe8e Merge pull request #2371 from syfyra/fix/page-index-directory-not-continuation
page_index: a directory page is never a continuation (PAGE-INDEX-DIRECTORY-NOT-CONTINUATION)
2026-12-01 16:21:21 +01:00
0f557b12a4 Merge pull request #2360 from ShotTechOp/fix/bitcmp64-mixed-and-special-srcs
rdna2spirv: handle mixed mask pairs, wave32 VCC, and mask bit indices in s_bitcmp0/1_b32/b64 (SHADER-BITCMP64-MIXED-AND-SPECIAL-SRCS)
2026-12-01 16:21:09 +01:00
a53be6d9b0 Merge pull request #2373 from syfyra/fix/page-index-tiny-continuation
page_index: take a continuation shorter than 64 bytes (PAGE-INDEX-TINY-CONTINUATION)
2026-12-01 16:20:45 +01:00
580634ac4b Merge pull request #2367 from budanga/fix/compute-worker-spawn-quota
rdna2spirv: start a tool again when a Windows job refuses it with ERROR_NOT_ENOUGH_QUOTA (COMPUTE-WORKER-SPAWN-QUOTA)
2026-12-01 16:20:22 +01:00
f3529eeb0c Merge pull request #2355 from ShotTechOp/fix/bitset-mask-and-dst
rdna2spirv, lane_masks: handle lane-mask destinations and sources in s_bitset0/1_b32 (SHADER-BITSET32-MASK-AND-DST)
2026-12-01 16:19:57 +01:00
e88bb68f11 Merge pull request #2325 from syfyra/fix/calibrated-texture-npot-dds
calibrated_texture: crop NPOT mips to the DDS grid (CALIBRATED-TEXTURE-NPOT-DDS)
2026-12-01 16:18:42 +01:00
e78ca1ee90 Merge pull request #2318 from syfyra/fix/inline-scan-copy-before-load
inline_scan: follow a list copied before the cursor load (INLINE-SCAN-COPY-BEFORE-LOAD)
2026-12-01 16:18:30 +01:00
d819ad07c5 Merge pull request #2235 from syfyra/fix/text-tables-walk-order
text_tables: read a directory source's subfolders in name order (TEXT-TABLES-WALK-ORDER)
2026-12-01 16:17:54 +01:00
96befbdd3e Merge pull request #2181 from Tauwni/fix/mods-gui-tkinter-hint-macos
leonida_mods gui: on macOS, the missing-Tkinter hint names Homebrew's python-tk@<version> (MODS-GUI-TKINTER-HINT-MACOS)
2026-12-01 16:17:21 +01:00
cfbe765e61 Merge pull request #2099 from BubsMcgee/rt-image-get-lod-cube
rdna2spirv: translate image_get_lod on a cube (IMAGE-GET-LOD-CUBE)
2026-12-01 16:16:57 +01:00
e6140dee01 Merge pull request #1809 from ShotTechOp/fix/wave-diff-ref-validation
wave_diff: validate cross-lane/mask operands, EXEC=0 dsts, DS offsets, and immutability (WAVE-DIFF-REF-VALIDATION)
2026-12-01 16:16:44 +01:00
febdc0e0ee Merge pull request #1452 from Dashhhhhhhh/fix/world-interior-names-case-inside
world_interior_names: refuse a report inside another case of the carve folder (WORLD-INTERIOR-NAMES-CASE-INSIDE)
2026-12-01 16:16:17 +01:00
a11c4fbf34 Merge pull request #1428 from IlyassRS3/fix/x64-recomp-short-xchg-movnti
x64_recomp: fix short-form xchg (0x91..0x97) and movnti (0F C3) widths/emission (X64-RECOMP-SHORT-XCHG-MOVNTI)
2026-12-01 16:15:43 +01:00
9e5d907e36 Merge pull request #1415 from Tortoche/test-5237
OLD-5237: rdna2spirv: the PS FRONT_FACE VGPR holds 0xffffffff / 0 (SHADER-892)
2026-12-01 16:15:32 +01:00
bc7f99f2b3 Merge pull request #1329 from IlyassRS3/feat/x64-recomp-adcsbb-narrow
x64_recomp: add 8/16-bit adc/sbb, fix Asm.csinv encoding, sign-extend imm, and stash AF (X64-RECOMP-ADCSBB-NARROW)
2026-12-01 16:15:10 +01:00
e9208863de Merge pull request #979 from OlaiFG7/carry/old-9856-mc-command-pathext
mc_command: PATHEXT fallback for extensionless paths with spaces (OLD-9856)
2026-12-01 16:14:09 +01:00
57c57a2b97 Merge pull request #665 from LouisRiverstone/carry-old-9923
docs/design.md: one copy of each rule in the Global atomics row (OLD-9923)
2026-12-01 16:13:57 +01:00
67176dd526 Merge pull request #137 from ProjectLeonida/old-pr/9868
rdna2spirv: keep NaN-pattern constants out of float-typed selects in image_bvh (#6623)
2026-12-01 16:13:34 +01:00
1bfd5e7844 Merge pull request #95 from ProjectLeonida/old-pr/9827
rdna2spirv: guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes
2026-12-01 16:13:23 +01:00
d1cd2cef65 Merge pull request #57 from ProjectLeonida/old-pr/9779
tools: --shard balances by file size, so the parallel stage waits for nobody (output byte-identical)
2026-12-01 16:13:11 +01:00
88a9f133e7 Merge pull request #861 from trigger337/fix/shader-disasm-stage-cleanup
shader_disasm: restore write mode before unlink on replace failure and publish mode (SHADER-DISASM-STAGE-CLEANUP)
2026-12-01 16:05:17 +01:00
edf7d01f8c Merge pull request #1169 from Taffyyy-ops/perf/anim-rigs-join-index
anim_rigs: index cross-dictionary joins (ANIM-RIGS-JOIN-INDEX)
2026-12-01 15:55:23 +01:00
182746f038 Merge pull request #2189 from vinceychu/hw-image-load-pck
image_fuzz: image_load_pck / image_load_pck_sgn on the hardware oracle, measured on RDNA2 (HW-IMAGE-LOAD-PCK)
2026-12-01 15:53:45 +01:00
52e1c837b2 Merge pull request #1120 from kett1m/x64-recomp-vzeroupper
x64_recomp: vzeroupper is three bytes, not four (X64-RECOMP-VZEROUPPER-NO-MODRM)
2026-12-01 15:53:31 +01:00
214f5a78e9 Merge pull request #895 from trigger337/fix/manifest-stage-cleanup
manifest: restore write mode before unlink on replace failure and publish mode (MANIFEST-STAGE-CLEANUP)
2026-12-01 15:53:16 +01:00
87e6a53616 Merge pull request #881 from trigger337/fix/mesh-compute-vs-stage-cleanup
mesh_compute_vs: restore write mode before unlink on replace failure and publish mode (MESH-COMPUTE-VS-STAGE-CLEANUP)
2026-12-01 15:53:01 +01:00
04694f516c Merge pull request #875 from trigger337/fix/bary-fallback-gs-stage-cleanup
bary_fallback_gs: restore write mode before unlink on replace failure and publish mode (BARY-FALLBACK-GS-STAGE-CLEANUP)
2026-12-01 15:52:48 +01:00
8ebe7cc2e8 d3d12/vulkan + make_game: ReBAR DMA readback, budgeted staged slabs, test fixes & CLI wiring 2026-12-01 16:40:36 +02:00
098f7ff761 rdna2spirv: guard v_readfirstlane in --mesh-native-wave32 and lower --spirv-opt SSA threshold to 512 KiB
- Exclude v_readfirstlane from --mesh-native-wave32 until per-use uniformity
  analysis proves the source wave-uniform (with ms_native_readfirstlane.asm
  and test_mesh_native_wave32.py regression test + docs/design.md update).
- Lower SPIRV_OPT_LARGE_BYTES from 750 KiB to 512 KiB so library/lib_cs_03245
  and siblings use the safe SSA pass set instead of --scalar-replacement=0
  (avoiding NVIDIA 590.48.01 compiler SIGSEGV during warmup).

AI-assisted.
2026-12-01 16:38:32 +02:00
4e483f7ce0 rdna2spirv: TO_DATA merges, --compute-serial-waves, --mesh-native-wave32, --spirv-opt
On top of PR #2566 (8db8335d2), combines verified translator performance and
correctness improvements for NVIDIA Wave32 GPUs (tested on RTX 3090 24 GB,
driver 590.48.01):

- Cherry-pick PR #2501 lane_masks.insert_data_merges (TO_DATA) fixing
  lib_cs_03010 bit-scanning loops (91-370 ms/call -> < 2.5 ms/frame).
- Add --compute-serial-waves for >64-thread barrier/LDS/atomic-free compute
  shaders (lib_cs_00977 + lib_cs_00986: 160 ms/frame -> < 2.4 ms/frame) while
  preserving unmodified PR #2566 d88b2deea VulkanMemoryModel coherency.
- Add --mesh-native-wave32 for strictly partition-invariant mesh shaders
  (9,116 / 9,282 dxbc MS shaders), running all threads natively in 1 Wave32
  pass with zero %x_buf LDS/barriers (-13% to -35% on hot mesh shaders).
- Add --spirv-opt (-O below 750 KiB, safe SSA pass set at >= 750 KiB to avoid
  NVIDIA 590.48.01 --scalar-replacement=0 compiler segfaults, with automatic
  fallback + spirv-val check).

AI-assisted. Verified with semantic tests and retail boots on RTX 3090 (590.48.01).
2026-12-01 16:37:33 +02:00
3e7b34a52a Merge pull request #2799 from aznohonza/docs/quad-any-partial
rdna2spirv: quad_any's docstring says partial quads are exact (DOC-QUAD-ANY-PARTIAL)
2026-12-01 14:51:25 +01:00
f2357faa5f rpf9dump: harden Util.Safe for cross-platform and Windows filenames 2026-12-01 21:08:22 +08:00
ed867d7b2f Merge pull request #779 from trigger337/fix/awc-manifest-stage-cleanup
awc_manifest: publish mode on Windows (AWC-MANIFEST-STAGE-CLEANUP)
2026-12-01 13:53:58 +01:00
5a569c5e5e Merge pull request #795 from trigger337/fix/ttpf-assets-stage-cleanup
ttpf_assets: restore write mode before unlink on replace failure and publish mode on Windows (TTPF-ASSETS-STAGE-CLEANUP)
2026-12-01 13:51:38 +01:00
8a72e40d87 Merge remote-tracking branch 'origin/main' into tools/cgroup-memory-peak 2026-12-01 13:22:50 +01:00
8ceb5ef4b3 chain_check: read the slow compute pipeline line as the runtime prints it now
The line says where the pipeline came from since 7acf84d38, so the pin in
tests/test_chain_check.py failed on main. Only a compile counts as a build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 13:09:06 +01:00
8275269bdc Merge pull request #656 from kirigayakazima/fix/rpf9dump-segments-and-cli
rpf9dump: harden segment bounds and CLI option validation (RPF9DUMP-SEGMENTS-AND-CLI)
2026-12-01 12:57:36 +01:00
abf475ef65 Merge remote-tracking branch 'origin/main' into tools/cgroup-memory-peak
# Conflicts:
#	tests/test_run_game_wine.py
2026-12-01 12:55:58 +01:00
8497337b4e Merge pull request #2145 from fiestorra/awc-skip-existing
tools: skip Ogg Opus outputs that already exist, so a stopped audio export resumes
2026-12-01 12:53:42 +01:00
3fbc120df4 Merge pull request #1397 from whoalin1/mask-regs-data-read
rdna2spirv: a VALU data read of a lane-mask operand yields the wave's mask word
2026-12-01 12:53:35 +01:00
1b83716379 Merge pull request #2455 from MoonEyes/feat/picture-metrics
tools: picture_metrics.py and the PICTURE block, numbers only from a frame on your disk (TOOLS-PICTURE-REPORT)
2026-12-01 12:48:22 +01:00
427aa19b69 Merge pull request #2231 from MoonEyes/tools/chain-check
tools: chain_check.py, one page of counts for the whole shader chain (TOOL-CHAIN-CHECK)
2026-12-01 12:46:48 +01:00