Commit Graph

7696 Commits

Author SHA1 Message Date
809d1869af Merge pull request #657 from aslan2142/root-constants-zero
OLD-8904: restore old upstream PR 8904 - root_signature: accept root constants of 0 values, as the host does (D3D-942)
2026-11-25 23:57:31 +01:00
d34c426ef9 Merge pull request #684 from aslan2142/t-drive-overlay
OLD-8161: restore old upstream PR 8161 - file_system: T: is a folder of each process's own in the overlay
2026-11-25 23:56:38 +01:00
d3b67a7040 Merge pull request #711 from aslan2142/semantic-d16-hi-inactive-lane
OLD-7866: restore old upstream PR 7866 - tests/semantic: buffer_load_short_d16_hi keeps both halves in inactive lanes
2026-11-25 23:30:14 +01:00
04221201c3 Merge pull request #748 from aslan2142/build1390-bvh4-parent-table
OLD-7640: restore old upstream PR 7640 - docs/bvh.md: the BVH4 parent table's start and extent (BUILD-1390)
2026-11-25 23:29:16 +01:00
45129e6bc0 Merge pull request #735 from aslan2142/world-build-png-budget
OLD-9481: restore old upstream PR 9481 - world_build: drop a staged chunk PNG once no later chunk uses it
2026-11-25 23:28:08 +01:00
b739685995 Merge pull request #730 from aslan2142/build589-vs-layout-census-guard
OLD-8645: restore old upstream PR 8645 - vs_layout_census: refuse a --json that is an input or a directory before survey() (BUILD-589)
2026-11-25 23:27:04 +01:00
d601736ced Merge pull request #723 from aslan2142/build2835-partial-version-match
OLD-7895: restore old upstream PR 7895 - make_game: an incomplete copy is named as a partial match of its version, with what is missing
2026-11-25 23:26:11 +01:00
3daeb1e111 Merge pull request #717 from aslan2142/resource-pointer-width
OLD-7482: restore old upstream PR 7482 - instance_lists, world_interior_names, world_lights_paths: read the block number from 20 bits
2026-11-25 23:25:17 +01:00
581ddba5d2 Merge pull request #714 from aslan2142/gamedata-spatial-grid-region3
OLD-7263: restore old upstream PR 7263 - gamedata_blobs: Region 1's lowest cell offset decides where Region 3 starts
2026-11-25 23:24:21 +01:00
eaa3792fd8 Merge pull request #713 from aslan2142/audit-shader4-limit-zero
OLD-7087: restore old upstream PR 7087 - audit_shader4_regs: --limit must be at least 1; 0 audited nothing and printed a zero report
2026-11-25 23:23:29 +01:00
7359f21b2b Merge pull request #697 from aslan2142/rt566-d3d12-device-calls
OLD-7998: restore old upstream PR 7998 - d3d12_device_calls: count the ID3D12Device slots the retail executable calls, from the file alone
2026-11-25 23:22:35 +01:00
83f791ae4d Merge pull request #648 from aslan2142/rtti-scan-last-slot
OLD-7481: restore old upstream PR 7481 - rtti_scan: scan the last aligned qword of a section for a COL pointer
2026-11-25 23:21:45 +01:00
b8c44ce8ec Merge pull request #649 from aslan2142/pe-inspect-rt-version
OLD-7282: restore old upstream PR 7282 - pe_inspect: read the resource directory and the RT_VERSION block without its strings
2026-11-25 23:20:51 +01:00
b4ae8916ef Merge pull request #653 from aslan2142/pe-inspect-linux-classes
OLD-7084: restore old upstream PR 7084 - pe_inspect: classify system DLLs on Linux through the Wine prefix, bundled names without case
2026-11-25 23:19:58 +01:00
392dda8f06 Merge pull request #833 from aslan2142/wave64-partial-wave-zero
OLD-7450: restore old upstream PR 7450 - wave64 emulate: a cross-lane read of a missing lane in a partial wave gives 0
2026-11-25 23:19:00 +01:00
ca9e45dbd1 Merge main into pe-inspect-linux-classes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:11:38 -05:00
865e2d7912 Merge commit 'refs/fix2/main' into fix2-653 2026-11-25 16:51:53 -05:00
cb699500ac Merge pull request #771 from djrolfes/djrolfes-ci-main-signal
ci: add nightly main snapshots without expanding push queues (CI-MAIN-SIGNAL)
2026-11-25 22:48:35 +01:00
244e89f39c root_sig_contract: accept root constants of 0 values, as the runtime packer does
tools/root_sig_contract.py says its packing mirrors
runtime/src/root_signature.{h,cpp}, but it still refused a constant
parameter with count 0, so after this branch it rejected a signature the
runtime accepts. Accept count >= 0; a zero count adds no dwords and its
neighbours pack as if it were absent, in both the s0 and the console
layout. Raised in review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 16:40:50 -05:00
1fe5072afb Merge pull request #847 from KernelSmoker/kernelsmoker/x64-recomp-primary-90
x64_recomp: decode opcode 0x90 forms (X64-RECOMP-PRIMARY-90)
2026-11-25 22:39:49 +01:00
c116c3fa28 Merge main into t-drive-overlay
docs/boot.md: main added LEONIDA_WRITE_DIR / LEONIDA_SAVE_DIR to the
--overlay bullet and a new "Under Wine on Linux" section; keep both and
the T: paragraph of this branch after main's sentences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 16:38:20 -05:00
0bae6f545a Merge main into wave64-partial-wave-zero
scripts/run_gpu_tests.py: main added cs_w32_wrxchg2_ext and
cs_w32_wrxchg2st64 to the same name list; keep main's list and add
cs_w64x_partial_swizzle to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 16:37:28 -05:00
ab2fb71cbe Merge pull request #1507 from whoalin1/crosslane-pctail-ubo
crosslane_fuzz: --pc-tail-ubo for 128-byte push-constant GPUs
2026-11-25 22:32:59 +01:00
fb5796b8ed Merge pull request #609 from TuroYT/fix/gpu-runner-tbuffer-verdict
run_gpu_tests: record the cs_tbuffer_store verdict (GPU-RUNNER-TBUFFER-VERDICT)
2026-11-25 22:27:40 +01:00
d919356421 Merge pull request #639 from DesertGamer/fix/make-game-vulkan-sdk-warn
make_game: warn when the runtime stage runs without VULKAN_SDK (MAKE-GAME-VULKAN-SDK-WARN)
2026-11-25 22:25:10 +01:00
7687486700 Merge pull request #916 from TuroYT/docs/semantic-readme-format-count
tests/semantic/README: test_buffer_formats_all covers 45 formats (README-BUFFER-FORMAT-COUNT)
2026-11-25 18:25:01 -03:00
5aafc082e4 Merge pull request #1781 from Ch1mpleo/carry/old-9836
tests/docs: read an indented code block as code, not prose (OLD-9836)
2026-11-25 18:24:53 -03:00
7abac04911 Merge pull request #839 from TheGeogeo/test/markdown-link-title-delimiters
tests: check alternate Markdown link titles (TEST-MARKDOWN-LINK-TITLES)
2026-11-25 18:24:46 -03:00
7b52328752 Merge pull request #482 from xroneyaa/fix/make-game-tool-available-spaces
PREFLIGHT-TOOL-AVAILABLE-SPACES: parse quoted paths with spaces in make_game.tool_available
2026-11-25 22:23:53 +01:00
2b78ecb22a Merge pull request #433 from Rain156/fix/full-check-jobs
make_game: honor --jobs during full package verification (VERIFY-FULL-CHECK-JOBS)
2026-11-25 22:23:05 +01:00
0079b5ddff Merge pull request #637 from jarvixaiassistant-glitch/fix/decode-mac-legacy-target
rdna2_decode: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101* (DECODE-MAC-LEGACY-TARGET)
2026-11-25 22:22:03 +01:00
2bfcb4fe71 Merge pull request #633 from jarvixaiassistant-glitch/fix/decode-mimg-llvm-parity
rdna2_decode: align MIMG addr, atomic TFE/cmpswap, and r128 widths with LLVM (DECODE-MIMG-PARITY)
2026-11-25 22:21:14 +01:00
29844cc040 Merge pull request #624 from jarvixaiassistant-glitch/fix/old-10045-vk-barycentric-ext
vk_subgroup_info: per_vertex_inputs needs VK_KHR_fragment_shader_barycentric listed (OLD-10045)
2026-11-25 22:19:22 +01:00
9cd0c3f427 Merge pull request #1759 from abnalstlll-byte/feat/rt-xdxr-bvh-rehydrate-batched2x
xbox_bvh_builder: implement RehydrateRaytracingAccelerationStructureBatched2X (RT-XDXR-BVH-REHYDRATE-BATCHED2X)
2026-11-25 22:10:34 +01:00
72006d61d5 Merge pull request #817 from fitzypopper/corpus-watch-tool
CORPUS-WATCH: add counts-only corpus regression watch tool and tests
2026-11-25 22:06:45 +01:00
f2fb557027 Merge pull request #729 from promise-ssss/feat/mods-conflict-reporting
mods: report swap conflicts in JSON and add check --strict (MODS-CONFLICT-REPORTING)
2026-11-25 22:05:45 +01:00
ae1b48288b Merge pull request #659 from dpalacios69/docs-linux-fedora-noroot
docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT)
2026-11-25 22:04:46 +01:00
70a3d519f5 Merge pull request #589 from trigger337/fix/probe-moderound-oracle-close
tools: close hardware oracle in mode_round_probe (PROBE-MODEROUND-ORACLE-CLOSE)
2026-11-25 22:03:47 +01:00
ac50c414ff Merge pull request #587 from trigger337/fix/probe-f16widen-oracle-close
tools: close hardware oracle in f16_widen_probe (PROBE-F16WIDEN-ORACLE-CLOSE)
2026-11-25 22:02:51 +01:00
706eceaf02 crosslane_fuzz: --pc-tail-ubo for 128-byte push constant GPUs
On GPUs whose push constant block is 128 bytes (AMD iGPUs) every
rdna2spirv.py translation fails with "need 144 push constant bytes"
unless --pc-tail-ubo moves the tail to a UBO, and vk_compute_test then
needs LEONIDA_PC_TAIL_UBO=1 to bind the same layout -- the same pairing
lds_fuzz.py, valu_fuzz.py and image_fuzz.py already implement. This
adds the flag (also enabled by LEONIDA_PC_TAIL_UBO=1) and forwards it
to both the translator and the harness, including the --minimize path.

AI-assisted. Tested: tests/test_crosslane_fuzz.py (76 tests), and a
GPU spot-check on the AMD iGPU (Vulkan, validation on): 8 programs,
wave32 native + wave64 emulate, all match with no harness errors.

Co-Authored-By: Devin <noreply@cognition.ai>
2026-11-25 22:59:07 +02:00
db1a22d290 Merge pull request #585 from trigger337/fix/probe-bufferstore-oracle-close
tools: close hardware oracle in buffer_store_probe (PROBE-BUFFERSTORE-ORACLE-CLOSE)
2026-11-25 20:49:41 +01:00
0afcf9b598 Merge pull request #570 from Managilvosh/fix-calibrated-texture-no-clobber
calibrated_texture: atomic no-clobber export with MoveFileExW and cleanup (CALIBRATED-TEXTURE-NO-CLOBBER)
2026-11-25 20:47:30 +01:00
325ce06ebc ci: add nightly main snapshots while preserving push coalescing
Address CI-MAIN-SIGNAL review cost concerns with one staggered daily CI and Runtime snapshot, using their existing schedule-specific run groups. Keep push/PR cancellation and coalescing unchanged; do not expand every merge into full runner work. Synthetic schedule/expression controls included. AI-assisted.
2026-11-25 20:47:16 +01:00
c606788bc0 Merge pull request #566 from JiyouProt/codex/bink-no-cache
bink_play: honor --no-cache without persistent storage (BINK-NO-CACHE)
2026-11-25 20:46:30 +01:00
8c40e3b7af Merge pull request #490 from sodove/fix/ntfs-report-path-case
report_paths: respect case-sensitive Windows directories (OLD-9412)
2026-11-25 20:45:33 +01:00
485e38fb69 test_w64x_partial_swizzle: poison the prologue's OpAtomicStore zeroes
main now resets the missing lanes' exchange slots with OpAtomicStore
(19e42d6de) instead of OpStore, so the test's poison substitution matched
nothing and both partial-wave cases failed on their own guard. Match the
atomic store's value operand instead. Without x_lane_word the 40-thread
case still fails, so the test keeps covering the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:38:56 -05:00
ef205eec98 xbox_bvh_builder: review fixes for batched rehydration (RT-XDXR-BVH-REHYDRATE-BATCHED2X)
Maintainer fixes on top of the author's rehydration, carried over from the
reviewed branch onto the rewritten head:

- Scratch: each element of a batch gets a region of its own in one buffer
  per call, at D3D12's acceleration-structure alignment, and the command list
  holds that buffer until its next Reset (rt::d3d12::hold_until_reset). Before,
  every element and every list shared one builder-wide buffer with no barrier
  between the builds, and growing it released a buffer that builds already
  recorded could still use.
- Fresh builds: a rehydrate always builds from geometry. PERFORM_UPDATE is
  cleared together with SourceAccelerationStructureData, so the layer never
  refits from the dehydrated stream's bytes.
- The leaf frame compressionParams gives is described as not applied yet,
  which is what the code does.
- The test reads back rehydrated builds made without scratch
  (ScratchAccelerationStructureData = 0), the shape the title uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:37:34 -05:00
721a3b85ae Merge main into wave64-partial-wave-zero
Conflict in scripts/run_gpu_tests.py: the dump-test name list gained
cs_w64x_cmp_sdst on main and cs_w64x_partial_swizzle here; both are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:37:20 -05:00
b352aa9be9 xbox_bvh_builder: supply scratch buffer and address review feedback (RT-XDXR-BVH-REHYDRATE-BATCHED2X)
- Fix log_once call signature at line 268 (passes flag, text without format args).
- Do not copy source_data into SourceAccelerationStructureData to avoid unwanted refit
  on update paths (d3d12_vulkan_device.cpp:2639).
- Allocate and supply scratch buffer via builder_ensure_scratch when the title passes
  ScratchAccelerationStructureData = 0 (docs/xdxr.md §6), avoiding command list poisoning.
- Retain the leaf-frame note (compressionParams, docs/bvh.md §4a) in comments and docs.
- Remove stale deserialize references in test comments and update test coverage.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-25 22:30:44 +03:00
cb1cb86e92 xbox_bvh_builder: rebuild from geometry and refuse source-only rehydration (RT-XDXR-BVH-REHYDRATE-BATCHED2X)
Addresses review feedback on #1759 from @aslan2142 and @Tyrannys:
- RehydrateRaytracingAccelerationStructureBatched2X now rebuilds structures
  exclusively from geometry (docs/bvh.md §4a).
- Offline console dehydrated streams cannot be directly deserialized by
  PC D3D12/Vulkan drivers (docs/bvh.md §4/§4a). When source_data is present
  without geometry descs, the shim logs once and refuses with E_NOTIMPL.
- Documented in docs/xdxr.md that the 4th parameter (const UINT64* source_data)
  is a hypothesis denoting offline console stream pointers.
- Empty structures (NumDescs == 0 without source) are logged once and skipped.
- Updated runtime/test/xbox_bvh_builder_test.cpp and tests/test_xbox_bvh_builder_rehydrate.py
  to verify refusal of source-only streams (E_NOTIMPL) and handling of empty structures.

AI-assisted (Claude Code, Claude Opus 5.5).
2026-11-25 22:30:44 +03:00