Commit Graph

18350 Commits

Author SHA1 Message Date
124ddd83b3 Merge pull request #2628 from MoonEyes/fix/ci-main-windows-tests
tests: two Windows-only reds on main's check job (CI-MAIN-WINDOWS-TESTS)
2026-11-29 20:59:42 +01:00
8085eab2c2 A list keeps its dynamic slots' resources once, on; six list threads against eight by turns; the async line's switch
- LEONIDA_KEEP_BY_LIST is on (ReZOnGithub/VIctory-lap 1641cb6): by turns of 4 s standing (runs d65) the frame's
  median -1.33 +-0.58 and -0.51 +-0.25 ms, the submitting thread -0.51 +-0.28 and -0.53 +-0.15; the closed lists
  from the recycling thread -1.33 +-0.58 and -0.44 +-0.25 by the same runs (on since the last commit). A tour with
  it on (run d66): no device removed, every texture whole, the flagged frames the same kinds as without it (the
  newly shown deck's dark frame, the camera's cuts), and no program of the title untranslated any more (the two
  particle programs paired).
- LEONIDA_THIN_PARK (off unless asked for; by turns under A/B): the last LEONIDA_THIN_PARK_N (2) of the threads that
  translate lists sleep, to measure six against eight in one run; the title's threads wait for a core on the frame's
  chain (timeline d59, 3.2 ms a frame).
- findings: the particle programs in the game; switching LEONIDA_ASYNC_SUBMIT off by turns ends the title (run d67).

AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64, Ryzen 5 7600X, Windows 11 (Series X profile, 1440p).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:53:50 -05:00
f3684d98ce docs: index the 11 pages missing from docs/README.md (DOCS-README-INDEX)
port_status, port_plan, victory_gap_gpu, victory_gap_system, launcher, mod-menu, lua-modding, ultrawide, test_inventory, junit_triage and change_gate had no row in the index. Each row summarizes the page's own opening.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:39:13 +01:00
aa35c7eb6e docs: how to use the public PC GDK to write shims (DOCS-GDK-PUBLIC-REFERENCE)
One page for contributors: what the public GDK reference and headers cover for the imported console APIs, what they do not (d3d12_xs, NDA), the 4-step method on the existing shims and tests, and the lines not to cross. Indexed in docs/README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:36:51 +01:00
40136ef79a tests: skip sandbox_scene's POSIX-only atomic-output tests on Windows (CI-MAIN-WINDOWS-TESTS)
#1669 added TestAtomicSceneOutput, which runs the tool through a shell, caps the file size with RLIMIT_FSIZE and checks POSIX file modes. On Windows two of its tests fail (`exec: : not found`, mode 438 != 416), so `check` stays red. Skip the class there; it still runs on Linux and macOS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:34:23 +01:00
dccc5627c4 Merge remote-tracking branch 'origin/main' into fix/ci-main-windows-tests 2026-11-29 20:34:10 +01:00
ae6c515ede test_rdna2spirv_spawn_quota: close the parent's pipes when the job test skips (COMPUTE-WORKER-SPAWN-QUOTA)
communicate() closes stdin, stdout and stderr, but the launcher precondition can skip before it runs, which left
the three pipes to finalization (ResourceWarning: unclosed file). They are now closed in the finally, after the
child is killed and waited for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:31:28 -03:00
0e8737f2a5 Merge remote-tracking branch 'origin/main' into next 2026-11-29 14:30:27 -05:00
dd60cba733 Merge remote-tracking branch 'origin/main' into x64-recomp-vzeroupper
# Conflicts:
#	tests/test_x64_recomp.py
2026-11-29 20:30:08 +01:00
240c27dc8f Merge pull request #2627 from Bloh09/fix/ci-mesh-serial-waves
CI-MESH-SERIAL-WAVES-ADDR64: test_mesh_serial_waves counts slot stores in the lowered address form
2026-11-29 20:30:02 +01:00
8b6b4b2163 tests: bvh and exe shader-stage fakes write non-empty modules (CI-MAIN-EMPTY-SPV-FAKES)
Since #1235, make_game treats an empty cached .spv as a broken cache and rebuilds it. The fake translators in test_bvh_shaders_stage and test_exe_shaders_stage still wrote empty .spv files, so the second, cached run rebuilt fspx and failed on main. #1235 updated the fspx and library stage tests the same way; these two were missed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:27:07 +01:00
cfd12b24fe d3d12: default descriptor table layout to tagged when no shader library modules are loaded 2026-11-29 14:26:37 -05:00
d927eb1906 Merge remote-tracking branch 'origin/main' into next 2026-11-29 14:22:35 -05:00
9899a98012 List threads' passes from VIctory-lap and RAZDA4A-XEN; LDS subtracts as compare-exchange loops; the particle programs paired
- Shader translator: an atomic subtract on group-shared memory (ds_sub_u32, or an add of 0 - x) is a
  compare-exchange loop, in the plain and the paired lowering, as NVIDIA's compiler refused it (driver 621.40, the
  rain particles' pipeline never made), from voidopcode/vilocity 5c8149f. Tests
  lds_subtracts_return_the_old_value_and_subtract (the card) and lds_subtracts_are_atomic_across_waves (the card and
  WARP) pass on an RTX 4060 Ti; a retranslation and warm-up (run d63) refused no pipeline.
- play-nvidia.ps1 names the two particle programs dropped in every run (5e3dd99e0f067aee, 57f1b81de55c2842) in
  LEONIDA_PAIRED_FOR: translated alone with their reasons said, the paired form takes both (60 and 71 branches
  taken wave-wide). Not yet seen in a tour.
- A view of a table read in place that the list brought up to date stays so while the list's epoch stands
  (LEONIDA_ENTRY_ONCE, VIctory-lap 1d52e85; on): by turns of 4 s standing the frame's median -1.59 +-0.39,
  -0.70 +-0.31 and -0.55 +-0.27 ms in three clean runs (d56, d62); a tour with it on (d60) flagged nothing new.
- The empty host lists a title list gets at its submission come reset and closed from the thread that recycles run
  lists, not closed by the line's thread (LEONIDA_CLOSED_AHEAD, on; 3.6 % of the line's samples, profile
  submit-d61): 77 % of them so in run d63.
- Off unless asked for, measured or to be: per-thread caches of table entries' views and placed views' shapes
  (LEONIDA_VIEW_CACHE) and of placed textures found empty (LEONIDA_ALIAS_QUICK), VIctory-lap 242d0c6; tables made
  afresh known by what they hold (LEONIDA_CONTENT_TABLES, the idea of crossducking/RAZDA4A-XEN's wave 15; two runs
  said opposite things); a list keeping its dynamic slots' resources once (LEONIDA_KEEP_BY_LIST, VIctory-lap
  1641cb6). Each counts itself on the frame lines.
- findings: what the submitting thread and the list threads do (profiles), the walls in run d54, the four switches'
  runs.

AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64, Ryzen 5 7600X, Windows 11 (Series X profile, 1440p).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:22:15 -05:00
f61e5e8933 Merge ProjectLeonida/mandy main into port/nv-vram-target-reserve-settle
# Conflicts:
#	d3d12/README.md
2026-11-29 19:18:03 +00:00
4ab5fdc5de tests: two Windows reds on main's check job (CI-MAIN-WINDOWS-TESTS)
test_gen_gdk_runtime_classes imported the POSIX-only resource module at the top, so the whole file failed to import on Windows. Import it guarded and skip the two failed-write tests that need RLIMIT_FSIZE.

test_make_game_plain_logs compared the child's getcwd() with the temp folder as strings; on the Windows runner the temp folder is an 8.3 short name (RUNNER~1) and getcwd() returns the long one. Compare with os.path.samefile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 20:17:28 +01:00
c0e16af856 Preserve motion blur when restarting from the settings menu
D3D12-MOTION-BLUR-RESTART. AI-assisted with OpenAI Codex (GPT-6).
2026-11-29 20:11:32 +01:00
e3ddc2e0a8 test_mesh_serial_waves: count the slot stores as OpBitcast too (red on main since #2506 met lower_addr64 from #850) 2026-11-29 11:07:57 -08:00
dd87aa405a Merge pull request #339 from huanchong-99/docs/change-gate-proposal
docs: proposal for a change gate (module boundaries, function complexity, doubled text)
2026-11-29 20:02:41 +01:00
35390e7228 Merge pull request #1624 from xel1uz/fix/sad-arg-guards
sad_diff: reject a zero or negative --max-ops and --programs
2026-11-29 20:02:32 +01:00
79f89c4906 Merge pull request #1609 from lixonik/windows-boot-scratch-cwd
windows-boot: keep driver artifacts outside the checkout (RT-WINDOWS-BOOT-SCRATCH-CWD)
2026-11-29 20:01:20 +01:00
cf0557ffc3 Merge pull request #909 from markankamaransheogarat-sys/ubiq/spirv-tool-tree-cleanup
SPIRV-TOOL-TREE-CLEANUP: rdna2spirv, make_game: terminate spirv-as/val children on abort and sweep stale .spirv-*.tmp
2026-11-29 20:01:11 +01:00
2b5a6fd192 Merge pull request #2618 from Mby159/test/build-fallback-stack-option
tests: the stack reserve need not be the last link option (TEST-BUILD-FALLBACK-STACK-OPTION)
2026-11-29 20:01:02 +01:00
b8346588de Merge pull request #1621 from xel1uz/fix/valu-arg-guards
valu_int_diff: report a bad --max-ops/--programs as a usage error
2026-11-29 20:00:52 +01:00
545f610fae Merge pull request #1235 from titoreinaldo/contrib/r2-cache
make_game: rebuild empty compute shader modules on resume
2026-11-29 20:00:43 +01:00
cf6e559219 Merge pull request #825 from trigger337/fix/file-mode-probe-cleanup
file_mode: restore write permission before probe removal (FILE-MODE-PROBE-CLEANUP)
2026-11-29 20:00:35 +01:00
8f7101df63 Merge pull request #1179 from MalexAson/fix/srgb-rtv-clear-encode
vulkan_replay: sRGB render-target clears are encoded in the layer, as WARP encodes them (D3D-CLEAR-SRGB-ENCODE)
2026-11-29 20:00:27 +01:00
947c54abac Merge pull request #1164 from lixonik/d3d-sparse-image-queue-family
d3d12: choose sparse-capable queues for sparse textures (D3D-SPARSE-IMAGE-QUEUE-FAMILY)
2026-11-29 20:00:18 +01:00
f7a4e75bf8 Merge pull request #2615 from alpfilho/d3d12/fsr3-framegen
d3d12: FSR 3 frame generation for cards without DLSS frame generation (D3D12-FSR3-FRAMEGEN)
2026-11-29 20:00:10 +01:00
a09d1627e3 Merge pull request #2604 from ItsYusei99/audio-dsp-convolve
D3D12 runtime: audio DSP mono convolutions, so TVs, phone calls and reverb are heard
2026-11-29 20:00:02 +01:00
38e5ee7e87 Merge pull request #2601 from louisdibiasi/fix/d3d12-stale-frame-wait-budget
d3d12: keep pipeline wait budgets from moving backward
2026-11-29 19:59:54 +01:00
7c66bc52e0 Merge pull request #2591 from merzleckeier/codex/d3d12-wine-depth-plane
d3d12: serialize depth-plane root signatures explicitly
2026-11-29 19:59:46 +01:00
3be7be0110 Merge pull request #889 from trigger337/fix/world-index-stage-cleanup
world_index: restore write mode before unlink on replace failure and publish mode (WORLD-INDEX-STAGE-CLEANUP)
2026-11-29 19:59:38 +01:00
e5042dd503 Merge pull request #838 from trigger337/fix/world-lights-stage-cleanup
world_lights_paths: restore write mode before unlink on replace failure and publish mode (WORLD-LIGHTS-STAGE-CLEANUP)
2026-11-29 19:59:29 +01:00
16801256a7 Merge pull request #836 from trigger337/fix/world-census-stage-cleanup
world_census: restore write mode before temporary directory cleanup in _staged_json (WORLD-CENSUS-STAGE-CLEANUP)
2026-11-29 19:59:22 +01:00
423ccd7a95 Merge pull request #1669 from xel1uz/fix/sandbox-scene-atomic-out
sandbox_scene: write --out atomically
2026-11-29 19:59:14 +01:00
bcbbd9a9c7 Merge pull request #1601 from xel1uz/fix/amd-swizzle-argument-guards
amd_swizzle: reject impossible sizes, unusable offsets and empty results
2026-11-29 19:59:06 +01:00
2a4b878356 progress_dashboard: reject non-JUnit XML reports
AI-assisted with Codex.
2026-11-29 21:54:11 +03:00
37d2d73dcd d3d12: save a rolling timeline after a frame stalls 2026-11-29 20:47:19 +02:00
4bf6c65254 Merge main: keep main's two KosmicKrisp rows, add the cs_fmt_all row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 19:39:19 +01:00
7c330c76db Merge pull request #2236 from zmasi/fix/dstorage-multilevel-bcpack-fit
build_dstorage_history: fit missing BPTC history slots across multi-level sibling mips (DSTORAGE-MULTILEVEL-MIP-FIT)
2026-11-29 19:37:07 +01:00
377c45a336 Merge pull request #1530 from IlyassRS3/fix/sampler-source-census-dataflow-io
sampler_source_census: fix V#/pointer/SMEM/v_mov dataflow and harden JSON I/O (SAMPLER-SOURCE-CENSUS-DATAFLOW-AND-IO)
2026-11-29 19:37:01 +01:00
0cea8abaeb Merge pull request #899 from trigger337/fix/manifest-verifier-stage-cleanup
manifest_verifier: restore write mode before unlink on replace failure and publish mode (MANIFEST-VERIFIER-STAGE-CLEANUP)
2026-11-29 19:36:55 +01:00
4d531de078 Merge pull request #855 from trigger337/fix/bvh-slot-check-stage-cleanup
bvh_slot_check: restore write mode before unlink on replace failure and publish mode (BVH-SLOT-CHECK-STAGE-CLEANUP)
2026-11-29 19:36:48 +01:00
3e4b15ccd3 Merge pull request #834 from trigger337/fix/world-names-stage-cleanup
world_names: restore write mode before unlink on replace failure and publish mode (WORLD-NAMES-STAGE-CLEANUP)
2026-11-29 19:36:43 +01:00
4ccd9cbfbc Merge pull request #832 from trigger337/fix/dds-png-stage-cleanup
dds_png: restore write mode before unlink on replace failure in main (DDS-PNG-STAGE-CLEANUP)
2026-11-29 19:36:37 +01:00
8b27343069 Merge pull request #816 from trigger337/fix/world-build-stage-cleanup
world_build: restore write mode before unlink on replace failure in _write_json_atomic (WORLD-BUILD-STAGE-CLEANUP)
2026-11-29 19:36:31 +01:00
878b024f4c Merge pull request #2602 from EvgHaze/docs/kosmickrisp-nan-rows
docs/testing: record the two ps_* KosmicKrisp NaN cases
2026-11-29 19:29:05 +01:00
541f574a7d Merge pull request #2409 from DanielMarcos1/docs/refresh-gpu-vulkan-links
docs: refresh GPU testing and Vulkan links
2026-11-29 19:28:59 +01:00
ef31dc92c3 Merge pull request #2027 from abnalstlll-byte/feat/rt-xs-alloc-size-guards-and-tests
runtime: guard align_up_saturating against zero alignment and add unit tests (RT-XS-ALLOC-SIZE-GUARDS-AND-TESTS)
2026-11-29 19:28:53 +01:00