Commit Graph

3952 Commits

Author SHA1 Message Date
88797f3ebd d3d12: LEONIDA_CAPTURE writes the presented frames to disk
A question that keeps coming back on the boot path is "what is actually on screen", and the window is not a reliable
answer: under Wine it is not mapped at all, and even on Windows a compositor or a capture-blocked surface can hide
the content. The presenter already copies every presented frame into a staging buffer when capture is enabled, so
this adds the disk side: `LEONIDA_CAPTURE=<dir>` writes each captured frame as a binary PPM and appends the extent
and the mean RGB to `<dir>/index.txt`, with `LEONIDA_CAPTURE_EVERY` and `LEONIDA_CAPTURE_LIMIT` bounding the run.

Off unless set, and created with the folder if it is missing. The write happens on the fence that already covers the
copy, so the present path is untouched.

d3d12_present_test turns it on and checks the files against the colour the test clears to: at least half the captured
frames (it resizes and injects failures on purpose, so a frame caught mid-transition is a near miss), and no frame
black. A capture that reads the wrong or a stale buffer fails there instead of in a report months later.
2026-11-24 00:48:42 +03:00
867d922f09 docs/design.md: 15 contract rows name the existing test that checks them (#6519)
Squash-merged after diff review of PR #6519
2026-11-23 12:54:54 -06:00
718e27ba6a docs: public D3D12.X presentation/device slots and x64 layouts (#6522)
Squash-merged after diff review of PR #6522
2026-11-23 12:54:03 -06:00
8501307cbd docs/d3d12_xs_surface.md: name swizzle_search.py with the other swizzle tools (#6523)
Squash-merged after diff review of PR #6523
2026-11-23 12:53:47 -06:00
7be7c4c839 docs/models: test_skinned_glb runs 24 synthetic tests, not 19 (#6525)
Squash-merged after diff review of PR #6525
2026-11-23 12:53:13 -06:00
789135813a docs/pipeline_check: name tools/spirv_interface.py as the interface reader behind shader_link_check (#6526)
Squash-merged after diff review of PR #6526
2026-11-23 12:52:56 -06:00
427a7ec71c docs/isa_coverage: name tools/rdna2_isa_tables.py, the decoder's opcode and operand tables (EGEN-ISA-TABLES-DOC) (#6530)
Squash-merged after diff review of PR #6530
2026-11-23 12:52:10 -06:00
46492b0219 boot_trace: report discontinuities in numbered D3D12 calls (#6543)
Squash-merged after diff review of PR #6543
2026-11-23 12:49:15 -06:00
12806e56b7 docs/shader_validation: name tools/ab_control_flow.py with the GPU-side runners (EGEN-AB-CTRLFLOW-DOC) (#6545)
Squash-merged after diff review of PR #6545
2026-11-23 12:48:41 -06:00
5fa095b370 docs/design.md: keep one copy of the PAL stage descriptors section (#6552)
Squash-merged after diff review of PR #6552
2026-11-23 12:46:44 -06:00
4cd82fe3fa vs_layout_census: confirm legacy non-NGG VS per PAL hardware stage; measure the 195 ES variants (#6558)
Squash-merged after diff review of PR #6558
2026-11-23 12:45:04 -06:00
c70e673e12 rbf0_encode: fail report export when resources are refused (#6560)
Squash-merged after diff review of PR #6560
2026-11-23 12:44:31 -06:00
a86d7f9508 d3d12: an integrated GPU reports UMA and refuses MEMORY_POOL_L1 heaps, as the host does (#6569)
Squash-merged after diff review of PR #6569
2026-11-23 12:42:09 -06:00
6dda0630bd make_game: --mesh-compute on by itself on Intel's Windows Vulkan driver, whose mesh draws crash (BUILD-2202) (#6789)
Squash-merged after diff review of PR #6789
2026-11-23 12:33:00 -06:00
1599683caf d3d12: reset predication in ClearState and align SetPredication / AtomicCopyBuffer validation (#6815)
Squash-merged after diff review of PR #6815
2026-11-23 12:32:05 -06:00
23060e0877 runtime: xg_xs.dll shim, XGCreateTextureComputer and XGSuggestSwizzleMode as traced E_NOTIMPL (RT-489) (#6891)
Squash-merged after diff review of PR #6891
2026-11-23 12:29:34 -06:00
0980beac2c docs/README.md: index the ped catalogues, strand grooms and mods pages (EGEN-README-UNINDEXED) (#6579)
Squash-merged after diff review of PR #6579
2026-11-23 12:25:15 -06:00
77fa308f9a ps_sweep: reject incomplete readbacks in cross-GPU comparisons (#6586)
Squash-merged after diff review of PR #6586
2026-11-23 11:22:49 -06:00
3ae065426b BUILD-2172: check development CLI flags against each producer (#6590)
Squash-merged after diff review of PR #6590
2026-11-23 11:21:40 -06:00
5074124359 docs/movies: keep one Audio association bullet (EGEN-MOVIES-AUDIO-DUP) (#6593)
Squash-merged after diff review of PR #6593
2026-11-23 11:20:47 -06:00
acccd0f1eb docs/testing: name tools/pc_checker.py as the CPU/GPU/RAM report for #166 (EGEN-PCCHECKER-DOC) (#6594)
Squash-merged after diff review of PR #6594
2026-11-23 11:20:29 -06:00
603d53eb36 ASSET-539: Preserve extra UV sets during ped assembly (#6604)
Squash-merged after diff review of PR #6604
2026-11-23 11:18:11 -06:00
028548ace5 navmesh_nodes: refuse a --out it cannot write before either archive is read (EGEN-NAVMESH-NODES-OUT) (#6608)
Squash-merged after diff review of PR #6608
2026-11-23 11:17:01 -06:00
34969aa207 bcpack_tool: name the paths in the decode refusal as given, not their repr (EGEN-BCPACKTOOL-PATHREPR) (#6618)
Squash-merged after diff review of PR #6618
2026-11-23 11:14:33 -06:00
7761680eac audio_config: read the --names pool as latin-1 bytes, the hash joaat uses (EGEN-AUDIOCONFIG-POOL-LATIN1) (#6619)
Squash-merged after diff review of PR #6619
2026-11-23 11:14:15 -06:00
242968218a docs/testing: note KosmicKrisp nir_to_msl NaN canonicalization in cs_bvh (#6627)
Squash-merged after diff review of PR #6627
2026-11-23 11:12:31 -06:00
f6a00fc4d8 rdna2spirv: --fma khr covers the f64 FMAs (v_div_fmas_f64) with OpFmaKHR on doubles (#6635)
Squash-merged after diff review of PR #6635
2026-11-23 11:10:12 -06:00
c29ad552fb docs/fssm_crosscheck: the repro runs six tests, not four with an expected failure (#6648)
Squash-merged after diff review of PR #6648
2026-11-23 11:06:46 -06:00
ff686dfe84 docs/textures: name tools/tex_mode_probe.py as the swizzle-mode and top-mip placement probe (EGEN-TEXMODEPROBE-DOC) (#6673)
Squash-merged after diff review of PR #6673
2026-11-23 11:00:30 -06:00
17cc9a7a92 d3d12: validate and track SetDescriptorHeaps and directly-indexed root flags (#6674)
Squash-merged after diff review of PR #6674
2026-11-23 11:00:10 -06:00
bb938f6395 ttpf_assets: the BCPack pass stamp hashes the decoder modules, so a fixed decoder completes old pools again (#6678)
Squash-merged after diff review of PR #6678
2026-11-23 10:59:15 -06:00
9177299c7f TEST-1576: classify coplanar winding on XY-ambiguous navmesh links (#6682)
Squash-merged after diff review of PR #6682
2026-11-23 10:58:20 -06:00
cc7f9e3db1 Include shader test helpers in dashboard freshness checks (#6683)
Squash-merged after diff review of PR #6683
2026-11-23 10:58:02 -06:00
5e54bda2e6 tools/div_fixup_diff.py: generate the f16 and f64 output multipliers (#6314) (#6698)
Squash-merged after diff review of PR #6698
2026-11-23 10:55:11 -06:00
897b2cb897 docs/navmesh: restore the dashes and signs a double encoding garbled (#6713)
Squash-merged after diff review of PR #6713
2026-11-23 10:53:16 -06:00
0433058a14 rdna2spirv: plain LDS loads and stores are Volatile (cs_w64x_lds_raw/war fail on AMD 24.30.46) (#6714)
Squash-merged after diff review of PR #6714
2026-11-23 10:52:57 -06:00
9ce9a7923e docs(i18n): find llvm-mc with where.exe in the de, fr and zh-CN quickstarts (EGEN-I18N-WHEREEXE) (#6717)
Squash-merged after diff review of PR #6717
2026-11-23 10:52:35 -06:00
cd51a43d63 docs: record RX 9070 GRE (RADV) GPU test results (#6720)
Squash-merged after diff review of PR #6720
2026-11-23 10:52:16 -06:00
07d04de54e docs/d3d12_xs_surface: drop the stale-doc limitation that names two pages never in the tree (#6721)
Squash-merged after diff review of PR #6721
2026-11-23 10:51:55 -06:00
51e7c9dc8e ASSET-565: export one static navmesh tile as ordered OBJ boundaries (#6725)
Squash-merged after diff review of PR #6725
2026-11-23 10:51:18 -06:00
e76640014a docs: the AMD driver took 34 minutes on LeafRehydration's dispatch-loop module; the current translation compiles in 3 s (SHADER-995) (#6739)
Squash-merged after diff review of PR #6739
2026-11-23 10:49:09 -06:00
6b40d2221c docs(i18n): the es and pt-BR quickstarts need 400 GB for the full build and ~370 GB for assets (EGEN-I18N-DISK-ES-PTBR) (#6745)
Squash-merged after diff review of PR #6745
2026-11-23 10:48:28 -06:00
6f58bd2c56 gamedata_index: a --json/--csv path cannot be a carved stream (EGEN-GAMEDATA-STREAM-OVERWRITE) (#6753)
Squash-merged after diff review of PR #6753
2026-11-23 10:47:18 -06:00
86a7807dd4 Barycentric fallback on by itself on AMD's Windows driver for gfx90c (#5933) (#6828)
Squash-merged after diff review of PR #6828
2026-11-23 10:42:42 -06:00
042c5f3783 xmem: physical pages, default allocators, XMemIsToolsMemAvailable; XMemVirtualAlloc takes 2 MiB pages and placeholders (#6919)
Squash-merged after diff review of PR #6919
2026-11-23 10:40:07 -06:00
15a686db31 docs: mark the d3d12_vulkan.md and modding.md notes the executable checklist was missing (#5288)
Squash-merged after diff review of PR #5288
2026-11-23 10:38:03 -06:00
5cf3dafe3e runtime: honor mapped executable argv startup modes (#6117)
Squash-merged after diff review of PR #6117
2026-11-23 10:36:08 -06:00
ee93d8ce2a run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir (#6676)
Squash-merged after diff review of PR #6676 - run_gpu_tests, rdna2spirv: support --assembler python, --no-validate, and --disasm-dir
2026-11-23 10:05:36 -06:00
c2d7dea381 gamedata_graph: keep scanning after an unsupported XML encoding (#6765)
Squash-merged after diff review of PR #6765 - gamedata_graph: keep scanning after an unsupported XML encoding
2026-11-23 10:05:27 -06:00
26fdf4170b file_system: CopyFile2 falls back to CopyFileExW on Wine 9 (RT-237) (#3655)
Squash-merged after diff review of PR #3655
2026-11-23 10:04:42 -06:00