3167 Commits

Author SHA1 Message Date
829188e969 Controller prompts: no key or mouse window message reaches the title in gamepad mode
With CONTROLS GAMEPAD (or AUTO without MOUSE AND KEYBOARD) the title was
given no keyboard device, yet still showed its key prompts: key, character,
raw-input and mouse messages of the window still reached its window
procedure, and it took those as a keyboard in use. They now get the
system's default handling instead. F1 and our own shortcuts are handled
before that point and work as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v2026.11.29.01
2026-11-29 00:26:13 -08:00
4d98ca8733 Merge the fork's main (README update) into the combine 2026-11-29 00:16:43 -08:00
a1fe8350e7 Revert "Merge remote-tracking branch 'pr/479' into wave-1"
This reverts merge 16bec2e1 (PR #479). Its shader-translator changes
(compares in lane branches, scalars across lane-divergent branches, lane
wrapping) made trees and foliage flicker and vanish once wave 2's PRs
were merged beside them: the same build with the translator from before
#479 does not. Code that later PRs built on top of #479's is kept.

Also gone with it: host/membench.rs, the oracle fuzz tests, and
VICTORY_SCALAR_SPLITS (its key entry too).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 00:13:53 -08:00
cb696070a6 Combine fix-ups: controller prompts, F1 descriptions, merge and test repairs
- Controller prompts show unless mouse and keyboard is on.
- F1 shows a description line for each menu item.
- Descriptor copy's general path snapshots its ranges (a crash after the merge).
- XTaskQueueTerminate with wait returns after its callback; XAsync cleanup
  after an error or cancel goes through Call::cleanup again.
- framegen_camera is reset in Deferred::clear().
- #347's short-batch barrier stack path is left out of barrier().
- VICTORY_SAFE_SINGLE_WAVE is no longer forced to 0 by play mode.
- Tests brought up to date with the merged PRs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-29 00:13:53 -08:00
4aef76079a Merge PR #1892 (openragee): a mods folder, every DLL in %LOCALAPPDATA%\victory\mods loaded before the title runs
# Conflicts:
#	apps/victory/src/main.rs
2026-11-28 21:29:36 -08:00
1d5e66a8bb Merge branch 'wave-4' into combined
# Conflicts:
#	README.md
#	apps/victory/src/main.rs
#	apps/victory/src/play.rs
#	apps/victory/src/run.rs
#	apps/victory/src/translate.rs
#	apps/victory/src/warm.rs
#	crates/victory-formats/src/bcpack.rs
#	crates/victory-game/src/lib.rs
#	crates/victory-gpu/src/capture.rs
#	crates/victory-gpu/src/compose.rs
#	crates/victory-gpu/src/copystat.rs
#	crates/victory-gpu/src/descriptor.rs
#	crates/victory-gpu/src/descriptor/host.rs
#	crates/victory-gpu/src/device.rs
#	crates/victory-gpu/src/draw.rs
#	crates/victory-gpu/src/host.rs
#	crates/victory-gpu/src/host/card_steps.rs
#	crates/victory-gpu/src/host/menu.rs
#	crates/victory-gpu/src/host/panel.rs
#	crates/victory-gpu/src/host/place.rs
#	crates/victory-gpu/src/host/send.rs
#	crates/victory-gpu/src/host/upcheck.rs
#	crates/victory-gpu/src/lib.rs
#	crates/victory-gpu/src/list.rs
#	crates/victory-gpu/src/memory.rs
#	crates/victory-gpu/src/pipeline.rs
#	crates/victory-gpu/src/pool.rs
#	crates/victory-gpu/src/queue.rs
#	crates/victory-gpu/src/resource.rs
#	crates/victory-gpu/src/shader_cache.rs
#	crates/victory-gpu/src/shadow.rs
#	crates/victory-gpu/src/streamline.rs
#	crates/victory-gpu/src/streamline/fsr.rs
#	crates/victory-gpu/src/texture.rs
#	crates/victory-gpu/src/watch.rs
#	crates/victory-hle/Cargo.toml
#	crates/victory-hle/src/modules/apu.rs
#	crates/victory-hle/src/modules/audio.rs
#	crates/victory-hle/src/modules/display.rs
#	crates/victory-hle/src/modules/dstorage.rs
#	crates/victory-hle/src/modules/fidelityfx.rs
#	crates/victory-hle/src/modules/gameinput.rs
#	crates/victory-hle/src/modules/kernel.rs
#	crates/victory-hle/src/modules/lifecycle.rs
#	crates/victory-hle/src/modules/storage.rs
#	crates/victory-hle/src/modules/xasync.rs
#	crates/victory-hle/src/modules/xg.rs
#	crates/victory-hle/src/modules/xgame.rs
#	crates/victory-hle/src/modules/xgameruntime.rs
#	crates/victory-hle/src/modules/xgamesave.rs
#	crates/victory-hle/src/modules/xgameui.rs
#	crates/victory-hle/src/modules/xmem.rs
#	crates/victory-hle/src/modules/xnetworking.rs
#	crates/victory-hle/src/modules/xpackage.rs
#	crates/victory-hle/src/modules/xstore.rs
#	crates/victory-hle/src/modules/xsystem.rs
#	crates/victory-hle/src/modules/xuser.rs
#	crates/victory-loader/src/windows.rs
#	crates/victory-shader/src/emit/lower.rs
#	crates/victory-shader/src/emit/lower/tests.rs
#	crates/victory-shader/src/emit/mod.rs
#	crates/victory-shader/src/emit/wave64_tests.rs
#	docs/findings.md
#	scripts/play-foxhound.ps1
2026-11-28 21:29:11 -08:00
a347c6331d known: #1268's recipes ignore #1651's walk_pipelines result (entries read so far stand)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:39:12 -08:00
263815fd11 card_steps: #1137's read spans take #1757's forwarded reads too (reads is mut)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:37:27 -08:00
c5639bdbe9 pipeline/host tests: #1839's empty_root returns the Arc blob; synthetic shaders fill #1776's writes and #1762's mirror; tables_done takes #1627's retire_resources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:32 -08:00
5624d66b94 streamline: #527's probes pass wave 6's mfg_loaded and fill #1106's Noted pose and scale
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:25 -08:00
9f0d29c01b shadow: #1705's census runs in diagnostics builds only, as its functions are (memory() is also built for tests)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:03 -08:00
b84622f988 shadow: #1756's idle sweep counts references of #1823's shared CardCpu only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:03 -08:00
562e739736 pipeline: #506's loose compute passes no #1681 loose trace to hand_out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:03 -08:00
dcb413f694 descriptor: test's release_dynamic passes #1627's retire_resources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:03 -08:00
cab11cbd07 draw: #1789's write-set walk reads #1204's RootViewBinding slots
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:36:02 -08:00
6f5e4e1006 compose: one Composer::format, which #1709 and #1837 both added
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:29:43 -08:00
edfbe8065a ahead: #1725's test module renamed retry_tests beside #502's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:29:42 -08:00
c430f1ecd6 indirect: #728's WARP budget tests pass #1776's new wait argument to batch::record
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:22:12 -08:00
e1f2eb6049 Update README.md 2026-11-28 20:21:20 -08:00
f604c6ff03 shadow: #1756's late window card side keeps its staging as #1823's CardCpu::Shared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:19:58 -08:00
0897343685 host: Deferred::clear also resets #1848's constants and #1775's batch_writes
Wave 6 reset a list's Deferred with Deferred::default(); ours clears it in
place (keeping allocations), and its clear() did not know the two new
fields, so a reset list kept constant-view copies and a write log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:17:13 -08:00
04c0a9be4c Merge branch 'wave-6'
Conflicts resolved in this merge (both sides kept unless said):
- descriptor/host.rs: QueueFlusher::mirror_for_pass carries wave 6's
  FOR_PASS/VICTORY_HEAP_LOOK_QUIET mirror; draw.rs uses it for both mirrors.
- draw.rs: wave 6's SharedTables (park/same) on our release(.., retire)
  calls; duplicated auto-merged let_go loops removed.
- lower.rs: wave 6's split (emit/descriptor_data.rs, emit/lower/tests.rs);
  our size_view_handle call and tests ported into the moved code.
- send.rs: VICTORY_SEND_PASS_ASIDE=1 is folded into away()
  (VICTORY_SEND_PASS_AWAY).
- streamline.rs: wave 6's InitOutcome/mfg_loaded inside our NoDlssFg HUD.
- play-foxhound.ps1: one run in one try block (the doubled run removed).
- make.rs: compute_first/quick_first beside most_dropped/hits_first/
  longest_first and keep_free; the worker gives back slow, unasked,
  early-compute and compute counts.
- host.rs: hot() beside resident_soon/settle/before_send; free_cut and
  cut_waiting both tried after cut_for; card_ready made aside with
  CardShared kept; the refresh filter keeps our up-front skip with wave
  6's batch and front sift; reset waits for the coming pass, then clears.
- shader_cache.rs KEYED: union (38).
- native_1440p.rs, play.rs: wave 6's size() and warmup mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:16:50 -08:00
3650fcda35 descriptor: #704's release_dynamic_batch passes #1627's retire_resources on
draw.rs gives back its tables through #704's batched release; #1627
added the retire_resources choice to the single release. The batch now
takes it too, and its tests pass true (the default list drop).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:05:28 -08:00
91475d45f8 Merge branch 'wave-5'
Conflicts resolved by combining both sides. Notable choices:
- descriptor/host.rs: #704's bitmap DynamicSlots (wave 2) kept; #1627's
  retire-on-release ported onto it (release and release_batch take
  retire_resources); #1642's Vec<bool> DynamicSlots and its opt-in
  VICTORY_DYNAMIC_SMALL_HIGH search are not carried (same type name,
  superseded by #704).
- host.rs: #1633's batched card compare (CARD_COMPARE_BATCH) moved onto
  wave 3's CardShared split; job entries are taken under a short
  CARD_WORK lock (take_card_jobs). Wave 3's lazy hold-back kept. #1520's
  spare trim floor applies over both spare pools. fetchmem's step-down
  moved into resize_fetch's growth path.
- shadow.rs: VICTORY_WINDOWS_BAR_MB unset is 4096 with a small shared
  budget and mapped card memory, else 3072 on a small host, else 0.
- pipeline/make.rs: worker boost (wave 3) combined with asked-only
  workers, longest-first priority and fast-core holds.
- texback.rs: VICTORY_TEXBACK_SAME moved into with_tiled_scratch.
- queue/behind.rs: past_folded with the Err(blocked()) returns.
- emit/mod.rs: GROUPS_OF_64 takes both digests ([[u8;16];17]).
- shader_cache.rs: KEYED is the union (36).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:05:05 -08:00
c777d87132 Merge branch 'wave-3' into combined
# Conflicts:
#	apps/victory/src/play.rs
#	apps/victory/src/warm.rs
#	crates/victory-gpu/src/capture.rs
#	crates/victory-gpu/src/descriptor/host.rs
#	crates/victory-gpu/src/host.rs
#	crates/victory-gpu/src/indirect.rs
#	crates/victory-gpu/src/pipeline/make.rs
#	crates/victory-gpu/src/pool.rs
#	crates/victory-gpu/src/queue.rs
#	crates/victory-gpu/src/resource.rs
#	crates/victory-gpu/src/streamline.rs
#	crates/victory-hle/Cargo.toml
#	crates/victory-hle/src/modules/gameinput.rs
#	docs/linux-proton.md
#	scripts/play-foxhound.ps1
#	scripts/play.ps1
2026-11-28 19:52:33 -08:00
4e109ff5fb host: Deferred::clear (#347) gives #884's pooled UAV scratch back, as its drop does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:47:59 -08:00
5236744d21 ahead: #884's test module renamed card_tests beside #502's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:47:40 -08:00
1a1edecef3 shader: #479's scalar-split widen calls take #1006's WidenMode (All, as false meant)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:47:40 -08:00
49cec75b6e Merge branch 'wave-2' into combined
# Conflicts:
#	README.md
#	apps/victory/src/play.rs
#	crates/victory-gpu/src/ahead.rs
#	crates/victory-gpu/src/descriptor.rs
#	crates/victory-gpu/src/descriptor/host.rs
#	crates/victory-gpu/src/host.rs
#	crates/victory-gpu/src/list.rs
#	crates/victory-gpu/src/streamline.rs
#	crates/victory-hle/src/modules/files.rs
#	crates/victory-hle/src/modules/gameinput.rs
#	crates/victory-hle/src/modules/lifecycle.rs
#	crates/victory-hle/src/modules/xmem.rs
#	crates/victory-shader/src/emit/lower.rs
#	crates/victory-shader/src/emit/mod.rs
#	crates/victory-shader/src/emit/wave64_tests.rs
#	docs/dlss.md
#	scripts/play-foxhound.ps1
#	scripts/play-gta6-framegen.ps1
#	scripts/play.ps1
2026-11-28 19:46:40 -08:00
b6212c333a wave-4: shader cache keys the translator switches #1504/#1537/#1538 added; #1510's slot tests follow the code
- KEYED gains VICTORY_WAVE_PAIR, VICTORY_WAVE_PAIR_NOT (#1537) and
  VICTORY_MINMAX_NONZERO, VICTORY_MED3_CLAMP (#1538): they change
  translations, so a cached one made under other values must not be served.
  VICTORY_FOLD_DUMP (#1504) only writes text beside one.
- #1510's device test expected DeserializeComputePipelineStateX to answer
  E_INVALIDARG, as it did before #1510's own later commit left console
  compute pipelines unloaded by default (E_NOTIMPL, as the graphics one).
- #1510's list test expected thin lists' 0x470 to be OMSetSampleMaskX
  itself; main's thin stream records it (thin::sample_mask) and runs it later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:39:55 -08:00
69c7746de3 Merge branch 'wave-1' into combined 2026-11-28 19:39:14 -08:00
41c89ebb9d Remove analysis.rs.orig, a conflict-resolution leftover of the #1527 merge
It fails xtask's repository_passes_policy (file type not on the allowlist).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:35:53 -08:00
86a1681a19 Merge remote-tracking branch 'pr/1909' into wave-6 2026-11-28 19:33:21 -08:00
6060042957 Merge remote-tracking branch 'pr/1908' into wave-6 2026-11-28 19:33:20 -08:00
3e3b4f7959 Merge remote-tracking branch 'pr/1904' into wave-6
# Conflicts:
#	crates/victory-gpu/src/shader_cache.rs
2026-11-28 19:33:20 -08:00
6cb1894f5c Merge remote-tracking branch 'pr/1903' into wave-6 2026-11-28 19:33:07 -08:00
6486076a43 Merge remote-tracking branch 'pr/1901' into wave-6 2026-11-28 19:33:07 -08:00
e85fbe0d04 Merge remote-tracking branch 'pr/1897' into wave-6 2026-11-28 19:33:07 -08:00
e055f9dcc0 Merge remote-tracking branch 'pr/1888' into wave-6
# Conflicts:
#	crates/victory-gpu/src/resource.rs
2026-11-28 19:33:06 -08:00
a332fa37bd Merge remote-tracking branch 'pr/1887' into wave-6 2026-11-28 19:33:00 -08:00
446d7f34a9 Merge remote-tracking branch 'pr/1886' into wave-6 2026-11-28 19:33:00 -08:00
ea1c1d24f0 Merge remote-tracking branch 'pr/1879' into wave-6 2026-11-28 19:32:59 -08:00
10f458be53 Merge remote-tracking branch 'pr/1878' into wave-6 2026-11-28 19:32:58 -08:00
e52b8fbe1d Merge remote-tracking branch 'pr/1876' into wave-6 2026-11-28 19:32:51 -08:00
68c08a5705 Merge remote-tracking branch 'pr/1874' into wave-6 2026-11-28 19:32:51 -08:00
01d41cee59 Merge remote-tracking branch 'pr/1872' into wave-6 2026-11-28 19:32:50 -08:00
4a9ec0ffdf Merge remote-tracking branch 'pr/1870' into wave-6 2026-11-28 19:32:49 -08:00
309471a385 Merge remote-tracking branch 'pr/1869' into wave-6 2026-11-28 19:32:48 -08:00
89406b2985 Merge remote-tracking branch 'pr/1866' into wave-6 2026-11-28 19:32:48 -08:00
0dc61431a6 Merge remote-tracking branch 'pr/1857' into wave-6 2026-11-28 19:32:47 -08:00