Commit Graph

9534 Commits

Author SHA1 Message Date
3d49d31cba Merge pull request #2258 from kirigayakazima/fix/gamedata-blobs-safety
gamedata_blobs: fix unshipped count, index type checks, and atomic JSON
2026-11-29 15:09:20 +01:00
b696c243c3 Merge pull request #2203 from whoalin1/waves-arg-exit2
tools: validate numeric scan/probe arguments
2026-11-29 15:08:55 +01:00
24d89be173 make_game: a run without the LEONIDA board still writes <work>/logs/<stage>.log (MAKE-GAME-PLAIN-LOG)
Only the board wrote the stage logs, so a build with --no-tui (or with stdout redirected) left nothing in
<work>/logs to read afterwards. PlainStageLogs now covers that case while the build stages run:

- log() and fail() lines go to the console as before and to the running stage's log;
- a command run() starts for a build stage has its stdout and stderr through one pipe: every byte goes on to
  the console as it arrives (a \r progress line still redraws) and every \r- or \n-ended piece to the stage's
  log, the same split the board uses. The child keeps the console, so Ctrl+C reaches it as before; on Ctrl+C it
  gets 0.25 s to stop and is then killed, as subprocess.run does;
- a caller that sets its own pipes, and commands outside a build stage, keep subprocess.run;
- a stage's file is opened with its first line; an unwritable folder gives one note on stderr and the build
  goes on without the logs.

The module docstring and the --no-tui help say where the logs are in both modes.
tests/test_make_game_plain_logs.py covers the cases above with real child processes.
2026-11-29 10:16:57 -03:00
57050af6c3 Merge origin/main into carry/pr-2362
dpp_insn: main's v_cvt_f32_f16 pass-through kept; every other op gets neg/abs forwarded on args[first] (main's index) instead of the eager 32-bit modify, as the PR does. design.md DPP row: PR sentence on main's text.

Co-authored-by: ShotTechOp <95485630+ShotTechOp@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:51:29 +01:00
173c5d41a6 Merge origin/main into carry/pr-2174
vk_harness: main's has_cap scan of both stages, plus needs_interlock = has_cap(fs_code, 5378) from the PR.

Co-authored-by: QemmHD <290605352+QemmHD@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:51:23 +01:00
c34cec72ee Merge pull request #2593 from Bloh09/fix/ci-main-red-tests 2026-11-29 13:44:04 +01:00
b10cae3b99 rendering(r5c): guard V# s_buffer_load and buffer_* ops on SQ_RSRC_BUF.TYPE == 0
GFX10.3 V# buffer descriptors require w[3][31:30] == 0 (SQ_RSRC_BUF.TYPE == 0); descriptors with w[3][31:30] != 0 are image T#s or non-buffer resources. Previously Gen.scalar_load and Gen.buffer_address ignored w[3][31:30], so an async-compute s_buffer_load reading a console-heap slot overwritten with a T# computed a huge limit and dereferenced an unmapped VA (SQC data GPUVM fault at t ~184-203 s).

Gate Gen.scalar_load (sbuf == True) and Gen.buffer_address on uint32(w[3]) < 0x40000000 (skipping the runtime check when w[3] is a known literal < 0x40000000 and forcing OOB when >= 0x40000000), document the rule in docs/design.md, and add 7 semantic + CPU ReadLog regression tests.
2026-11-29 06:34:53 -05:00
d88b2deea2 rendering(r5b): promote barrier+write shaders to VulkanMemoryModel with NonPrivatePointer/NonPrivateTexel
Under OpMemoryModel PhysicalStorageBuffer64 GLSL450 (and for plain Aligned PSB loads/stores even under VulkanMemoryModel), OpControlBarrier 0x948 does not invalidate per-CU GL0 vector caches on AMD RADV/ACO (Navi31). Multi-wave workgroups communicating through global buffers across s_barrier (or wave64-emulate ordering barriers) read stale GL0 values across CU0/CU1, corrupting facial-rig compute graph evaluation (collapsing character jaws).

Detect workgroup barriers paired with PhysicalStorageBuffer or storage-image writes+reads (236 shaders, <0.9% of corpus), promote them to VulkanMemoryModel with NonPrivatePointer/NonPrivateTexel and 0x6948 barriers, leave non-writing barrier shaders on GLSL450, document the rule in docs/design.md, and add 9 semantic regression tests.
2026-11-29 06:34:53 -05:00
b3c8d1b60a rendering(r4b-spv): fix wave32 s_mov_b64 vcc tuples, partial image_store RMW, and 64-bit 2D image_atomic on R64ui binding 29 2026-11-29 06:34:52 -05:00
09c99e53e3 rendering(r4a): unpatch integer SV_Target exports (UINT/SINT) and upgrade native s_barrier to 0x948/0x6948 2026-11-29 06:34:51 -05:00
314b4e73dd Merge upstream ProjectLeonida/mandy main (b589e0fe0) into round10 base
# Conflicts:
#	docs/design.md
#	runtime/shims/d3d12_vulkan_device.cpp
#	runtime/src/queue_holds.h
#	runtime/src/shader_library.h
#	runtime/src/vulkan_backend.h
#	runtime/src/vulkan_replay.h
#	runtime/test/vk_harness.cpp
#	tests/semantic/test_wave32_lane_select.py
#	tools/lane_masks.py
#	tools/rdna2spirv.py
2026-11-29 06:33:39 -05:00
85149ce1a7 conformance: harden unexpected input and crash paths
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-29 10:24:27 +00:00
6068ed561a conformance expect: report unreadable images as input errors 2026-11-29 10:24:27 +00:00
62ee572be5 Merge ProjectLeonida/mandy main into tools/chain-check 2026-11-29 09:49:48 +00:00
63d71cc5d6 Merge ProjectLeonida/mandy main into tests/lds-src2-mc-stdin 2026-11-29 09:49:46 +00:00
6d1b43911c Merge ProjectLeonida/mandy main into feat/picture-metrics
# Conflicts:
#	docs/README.md
2026-11-29 09:49:01 +00:00
18e0304d57 shader_disasm: use a per-run failed list in main() instead of shared FAILED 2026-11-29 09:45:11 +00:00
ccb3726df8 buffer_bounds_probe: reject non-numeric waves as a bad argument 2026-11-29 09:24:27 +00:00
dfad96ba7c Merge origin/main into #1994 (carry prep)
docs/design.md: constant lane masks row keeps main's plain-data VCC sentence and the PR's exec_hi sentence.

Co-authored-by: ShotTechOp <95485630+ShotTechOp@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:18 +01:00
e7c3366210 Merge origin/main into #1906 (carry prep)
docs/design.md: wave64 emulation row keeps main's barrier text and the PR's s_bitset sentence.

Co-authored-by: Jordan <44410206+JordanWebDev@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:15 +01:00
0b367b089e Merge origin/main into #1907 (carry prep)
docs/design.md: SHADER-10 row keeps main's text and the PR's image-atomics sentence.

Co-authored-by: Jordan <44410206+JordanWebDev@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:14 +01:00
4f958ab44b Merge origin/main into #2093 (carry prep)
tools/spirv_opt.py: both pinned_ids (main) and the SROA parameters (PR); main's id_type Result Type check kept after the PR's const_type check on null-zero loads; main's OpUndef/OpSpecConstant* const_type kept. tests/test_spirv_opt.py: both sets of new tests.

Co-authored-by: JARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:13 +01:00
52c2765fcb Merge origin/main into #1406 (carry prep)
scripts/run_semantic_tests.py: main's runner (process tracking, exit-code descriptions, result validation, serial CHILD_PROGRAM) kept; the PR's run_worker/PackageLoader run as WORKER_PROGRAM, its result file also carries exitCode, read_result returns includeChildren, and children are submitted after their package initializer.

Co-authored-by: Abdullahi A Ahmad <104858675+abdoulaahmad@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:11 +01:00
be581760b2 Merge origin/main into #1726 (carry prep)
scripts/run_gpu_tests.py: PR's module-level tables kept; main's new dumps (cs_w32_cvt_f16_mods, cs_dpp_cmpx, cs_w32_wrxchg2_ext, cs_w32_wrxchg2st64, cs_w64x_partial_swizzle) added to CS_DUMP_WANTS / CS_DUMP_NON_WAVE64 / CS_DUMP_HEXWORDS, and main's partial-wave subgroup size (32 under emulation) kept.

Co-authored-by: TanmaySatyam <248538550+TanmaySatyam@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:10 +01:00
9520fea3a5 Merge origin/main into #2130 (carry prep)
tools/bvh_tri_probe.py: PR's --kernel expansion, validate_json_path, family check and r.get('lane') kept with main's --write-kernels check, skipped-row count and skip note; write_report now writes through main's _write_text_atomic; the skipped count reads r.get("status") like the PR's r.get("lane").

Co-authored-by: abnalstlll-byte <284980532+abnalstlll-byte@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:41:09 +01:00
eb4773b34c Merge pull request #2208 from whoalin1/pipeline-crash-report-lock
make_game: harden crash reporting, WINE resolution, and vulkaninfo probing
2026-11-29 09:18:54 +01:00
931a8f7511 Merge pull request #2599 from enlight3d/fix/boot-device-fault-keeps-journal
Windows boot: LEONIDA_DEVICE_FAULT=2 by default, so a boot on NVIDIA reads the precompiled compute journal (BOOT-DEVICE-FAULT-2)
2026-11-29 09:14:40 +01:00
3431441615 Merge pull request #1274 from TheGeogeo/fix/dashboard-scrub-spaces
progress_dashboard: hide a whole drive path that contains spaces (DASH-SCRUB-SPACES)
2026-11-29 09:14:29 +01:00
3aee823016 Merge pull request #2512 from TheGeogeo/fix/assets-bcpack-strict-history
make_game assets: reuse local BCPack history on resume (ASSETS-BCPACK-STRICT-HISTORY)
2026-11-29 09:14:19 +01:00
0125399d41 Merge pull request #1129 from MalexAson/fix/subgroup-shaders-spirv-tools
cmake: the d3d12_subgroup_test shader rule names the spirv tools folder (BUILD-SUBGROUP-SPIRV-TOOLS)
2026-11-29 09:11:25 +01:00
a79340fae8 windows-boot: summarize device loss API and queue checkpoints 2026-11-29 11:29:56 +05:00
c2b5df07de runtime: link no-relocation fixtures without incremental linking 2026-11-29 06:04:53 +00:00
9cb0c02784 Merge main and resolve cache path after choosing a seed 2026-11-29 08:44:31 +03:00
ab4102efee fix(dstorage): preserve signed BC6H SF16 targets and average full multi-level footprint
- Thread signed=(format == 96) into Bc6hCalibrator.add_pool_chunk so signed
  BC6H_SF16 reference targets clamp to [-32768, 32767] instead of [0, 65535]
  and _eval_w_ops sign-extends and unquantizes candidates in signed space.
- Average the full [x0, x1) x [y0, y1) quadrant footprint across multi-level
  downsamples in _make_multilevel_quads_getter (caching per-4x4-block sums),
  eliminating single-phase column/row aliasing at 4+ mip levels.
- Add DXGI 96 negative-endpoint and 4-level alternating-column BC7 regression
  tests in tests/test_dstorage_multilevel_fit.py.
2026-11-28 20:56:33 -08:00
770f5e0e18 Merge remote-tracking branch 'origin/main' into work/dstorage-multilevel-bcpack-fit 2026-11-28 20:46:18 -08:00
72129f8ecf tests: the ps1 parameter parser cuts the default outside quotes too (CI-DOCS-PS1-PARAM-QUOTED-PAREN) 2026-11-28 20:42:28 -08:00
b9b425947c tests: the guid-sites header adds exactly one GUID over an empty header (CI-D3D12-GUID-SITES-EMPTY-CONTROL) 2026-11-28 20:42:28 -08:00
2b3a27c49d make_game: ignore vulkaninfo output after a failed probe 2026-11-29 04:04:54 +00:00
62fc1ac866 make_game: resolve a relative WINE before entering the game folder 2026-11-29 04:04:54 +00:00
bf458bbcb3 Merge remote-tracking branch 'origin/main' into lb
# Conflicts:
#	docs/design.md
2026-11-29 04:52:45 +01:00
3fbfcc6f8d Merge upstream/main into fix/ci-main-red-tests
Resolved conflicts in bench_translate.py, export_old_pr_manifest.py,
pc_prompt_glyphs.py and xbox_prompt_glyphs.py by taking main's
errors=replace guards (#2590). Dropped CI-STDOUT-GUARD-NEW-TOOLS.
2026-11-28 19:40:09 -08:00
b6bf3aa0be Merge pull request #2254 from kirigayakazima/fix/check-compute-journal-overlay-safety
scripts/check_compute_journal_overlay: validate journal dirs/exe, enforce UTF-8, extract main, add tests
2026-11-29 04:38:18 +01:00
d50300f15a Merge pull request #2256 from kirigayakazima/fix/corpus-watch-safety
scripts/corpus_watch: strip BOM JSON, check --out/--game collisions, validate args, enforce UTF-8
2026-11-29 04:38:08 +01:00
c768e70555 Merge pull request #2257 from kirigayakazima/fix/vs-layout-census-safety
scripts/vs_layout_census: support BOM index, validate limit/paths, write --json atomically
2026-11-29 04:37:57 +01:00
cc302c75af Merge pull request #1622 from xel1uz/fix/tile-arg-guards
tile_probe: make an impossible --offset a usage error with exit 2
2026-11-29 04:37:46 +01:00
00dacaad73 Merge pull request #1746 from kirigayakazima/codex/glb-inspect-scene-roots
glb_inspect: show the default scene and named root nodes
2026-11-29 04:37:37 +01:00
aeed00351b Merge pull request #1750 from kirigayakazima/codex/batch-glb-output-name-collision
batch_glb: catch colliding output names before conversion
2026-11-29 04:37:28 +01:00
212d2ec905 Merge pull request #2199 from EdenBendheim/ubiq/ctest-registration-comments
tests: ignore commented CMake registrations when checking CTest coverage
2026-11-29 04:37:06 +01:00
4c3889f1fe Merge pull request #2200 from EdenBendheim/ubiq/docs-reference-links
docs checks: validate destinations used by Markdown reference links
2026-11-29 04:36:56 +01:00
8bfd5ada37 Merge pull request #2550 from kirigayakazima/fix/ci-repo-url-rename
make_game, progress_dashboard: update default repository URL to ProjectLeonida/mandy (CI-REPO-URL-RENAME)
2026-11-29 04:36:47 +01:00