3756 Commits

Author SHA1 Message Date
5fabb46eaf README: What this fork brings covers every release, fix and project change so far (22 releases, 801 merged PRs) 2026-11-30 18:44:05 -08:00
de21ed5710 README: every VICTORY_ setting explained under the F1 guide (values, default, what it does, performance); NEUTRAL PROBE LIGHT and REFLECTION ESTIMATE default to OFF 2026-11-30 18:26:55 -08:00
f5c3d24346 Merge PR 4634 (ArnoX5): anti-aliased F1 menu and slim F3 stats panel, scaled to the picture's height 2026-11-30 17:28:21 -08:00
3bde492368 UI: anti-aliased Segoe UI/Consolas F1 menu and slim F3 stats panel 2026-12-01 05:39:21 +05:30
7d93ee0759 README: the F1 guide names each setting's default in its own column 2026-11-30 15:45:57 -08:00
3152cbb79a Merge remote-tracking branch 'origin/main' 2026-11-30 15:37:32 -08:00
b86519692b AGENTS.md, CLAUDE.md: reread the rules on every update; close your own outdated issues and pull requests 2026-11-30 15:37:19 -08:00
18734ce7bc README: the F1 menu, every setting explained (what each option does and what it costs) 2026-11-30 15:36:25 -08:00
a285246230 AGENTS.md, CLAUDE.md: duplicates and accurate labels are required
An exact duplicate goes on the existing issue or pull request as a comment, not a new one. Every issue and pull request needs its type and area labels, as title tags the bot turns into labels.
2026-11-30 15:29:39 -08:00
bd3997c280 needs-logs: say that an issue without logs is closed after 12 hours 2026-11-30 15:26:20 -08:00
f4b163b101 CLAUDE.md: point Claude Code to AGENTS.md and its search-first rules
Claude Code reads CLAUDE.md, not AGENTS.md, so agents using it never saw the rules against duplicate issues and pull requests.
2026-11-30 15:25:22 -08:00
d249c68161 Merge pull request #4155 from iBooM72/docs/agent-pr-rules
AGENTS.md: rules for agents opening issues and pull requests
2026-11-30 15:24:58 -08:00
bc8eb69794 Loader: SSE4a replacement off by default (VICTORY_PATCH_SSE4A=1 turns it on)
A second thread reaching an insertq/extrq while the first replaces it can still end the run with 0xc000001d on Intel (#2393, #3775). #2585 makes that much rarer, not impossible; emulating each time never crashes this way.
2026-11-30 15:24:32 -08:00
8592c14286 Merge pull request #2585 from fainty0/fix/2393-late-console-fault
Loader: resume late faults through recorded console instruction replacements (#2393)
2026-11-30 15:24:12 -08:00
917904da16 Merge pull request #4223 from babuakhil/fix/synthetic-0x403-fixture
Shader tests: the 0x403 loose metadata is built in the test, not the title's bytes
2026-11-30 15:24:11 -08:00
3942bc57b3 Merge pull request #4320 from Lyrnc/fix/lds-wave32-rar-coalescing
Shader tests: the split-LDS read-after-read test's UAV-load negative reads its load (fails on main since #2623)
2026-11-30 15:24:11 -08:00
eb4bbf809d Merge pull request #4296 from banaanpapa/fix/clippy-on-main
Clippy passes on main again, and two tests of victory-gpu the merges left behind (the check job)
2026-11-30 15:24:10 -08:00
6feec910e3 Merge pull request #4156 from iBooM72/docs/contributing-guide
Add a short CONTRIBUTING.md
2026-11-30 15:24:09 -08:00
9c24447529 Merge pull request #4474 from iBooM72/issues/needs-logs-upkeep
needs-logs: take the label off when the author adds the logs
2026-11-30 15:24:09 -08:00
39a043dab2 needs-logs: take the label off when the author adds the logs
The label was never removed, so it stayed on issues that now have logs.
Edits and comments by the issue's author are now checked with the same log
test. A manual run checks every open issue that has the label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:37:31 +02:00
a717774a7b Shader tests: the 0x403 fixture keeps an immediate sampler
The title's metadata this test replaced had a sampler of root type 4,
and no other test in the crate reaches `RootType::ImmediateSampler` in
`records()`. The made-up 0x403 block now ends with one (slot 9, no user
data); the test checks that it is read (`used`, root type, slot) and adds
no root parameter (`layout` is unchanged).

With that arm removed, or given an SGPR, the test fails, as it does for
the four 0x403 header and offset mistakes it already caught.

Suggested by Lyrnc in the review of #4223.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:35:43 +05:30
343bf99f14 Clippy passes on main again, and two tests of victory-gpu that the merges left behind
The `check` job has stopped at its first step on every pull request: with
`-D warnings` Clippy finds, on `main` (84bd61e2):

- `victory-shader`: `Lowered::loop_caps`, kept for tests, is read by none
  now (allowed, with a note).
- `victory-gpu`: `Shadow::ranged` has no caller left; its two parts are
  asked for by `ranged_parts` (removed, its sentence moved there). A test's
  `seed % 3 == 0` is `is_multiple_of`. With all features, the free
  function `mb` of `copystat.rs` is shadowed by a closure of the same name
  wherever it was called (removed).
- `victory-hle`: a `match` that is `unwrap_or_default` (the same value;
  its comment kept).

Nothing of this changes what runs. With it both Clippy steps pass, and
the job reaches its tests, of which two in `victory-gpu` were stale:

- `shader_cache`'s key test still named the four switches of the
  differential fuzzer, which a1fe8350 reverted out of the translator.
- `list::thin`'s `bindings_record_no_work` wants every call named as
  binding, waiting or work; `BEGIN_QUERY` and `END_QUERY` (471d05c4) were
  in none. They are work, as the waits take them today.

`cargo test -p victory-gpu`: 1,133 pass, none fail.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 19:19:58 +01:00
6060bc4797 Shader tests: the split-LDS UAV-load negative reads its load
split_lds_wave32_read_after_read_barrier_coalescing_and_parity failed on
main at neg_uav_load_between_reads, mask=ALL: BWBRRBWBR where the test
expects BWBRBRBWBR.

The case puts buffer_load_dword v8 between the two LDS reads as a call
that must keep the barrier between them, but nothing reads v8. Since
dbdd6ada, optimise drops dead instructions inside its rounds: round one
keeps the barrier (the load resets the barrier state), DEAD then drops
the unread load, and round two finds the two reads with only the barrier
between them and drops it. That is correct: without the load the case is
adjacent_rar, which the test expects to become BWBRRBWBR. BARRIERS alone
runs no DEAD, which is why only the ALL assertion failed.

The negative now adds the loaded value into v6 before out[128 + t] is
stored. Thread t loads out[t], which starts at 0 and which only thread t
writes, after the load, so the expected outputs stay the same, and the
load stays live under every mask.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:59:56 +03:00
47f453b363 Preload with or without frame generation on a new version's first start, and whenever the pipeline book has no pipelines made from it (#4176)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 09:57:48 -08:00
a6b31f16e5 Merge PR #4231 (a translator update keeps the title's pipeline book; standalone preload stamps the translator) 2026-11-30 09:56:23 -08:00
6801d45e26 play: keep title pipeline book across translator updates and stamp standalone preload 2026-11-30 20:37:49 +03:00
4296272804 Shader tests: the 0x403 loose metadata is built in the test, not the title's bytes
`loose_metadata_reads_version_0x403` held 0x118 bytes the title handed
over, as a hex string. The asset policy refuses it
(`crates/victory-shader/src/native.rs: 560-character hex/base64 run`),
so `cargo xtask policy` and xtask's `repository_passes_policy` failed on
main since 698ab79e. The test now builds the same shape with `record()`:
the 0x18-byte header, a sampler, SRV and UAV table, a CBV, a skipped
declaration and the end record. It checks what the old one did, plus the
lower bounds, the root parameters, a container from loose_compute, and a
size that disagrees.

It still catches the 0x403 cases it is for: with the 0x403 arm removed,
or 0x403 read with v3's record offset (0x38), v2's header (0xc) or v2's
record offset (0x10), it fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 23:02:30 +05:30
d756bde38b Add a short CONTRIBUTING.md
Covers reporting problems and sending pull requests: check for overlap first, test existing pull requests, and don't rely on the label bot's green tick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 18:39:06 +02:00
ce486d1fc6 AGENTS.md: rules for agents opening issues and pull requests
Search for existing work first, make one change per branch from the latest main, keep the template, never make up results, and get approval before posting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 18:38:59 +02:00
4e6cf2276f Source launcher is scripts\play-nvidia.ps1 (was play-foxhound.ps1); the Steam helper exe is gone, Steam starts victory.exe play; the launcher sets play's shader-key defaults so a preloaded cache is hit (#4067)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 08:17:39 -08:00
6e12bf2e07 Play: a shader cache made by another translator is deleted at the start (the update cannot read it); VICTORY_KEEP_OLD_SHADERS=1 keeps it, a named VICTORY_CACHE_DIR is left alone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 08:17:39 -08:00
550bcec5d6 Native output 2560x1440 on every monitor; the monitor's shape only with VICTORY_NATIVE_WIDE=1 (seam at 74.4%, ghosted half-head: #4015 #4044 #4058)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 07:47:34 -08:00
9e405ccbcf keep 512 MB below 4 GiB for the title's 32-bit reservations, given back on refusal (#4043) 2026-11-30 07:31:57 -08:00
ba69a9b6e4 port constants off unless set (in-place memory read over the bus: 3 fps); MnK native path uses bindings.ini buttons (F = enter vehicle) 2026-11-30 07:29:02 -08:00
075750a458 play defaults without the #3838 copy-back classes (broken heads) and without COMPILE_MEMORY=0 (4017) 2026-11-30 07:23:38 -08:00
1de7f34f6e Slot eviction: dynamic slots still block; the look's flag clears on panic
`slots_showing` took the slot's `Made` key with `?`, but `Made` has keys
for the title's `count` slots only while `kept` also has the dynamic
ones: a host texture shown by a dynamic slot was no longer reported, so
it was no longer blocked and could be chosen (freeing nothing, as the
dynamic slot holds a reference, while the title made a second copy).
Those slots are reported again with key 0, as before the key was carried;
they are never put back to waiting, only counted as blocking. Test:
`a_dynamic_slot_showing_a_texture_still_blocks_its_eviction`.

`SLOT_LOOKING` is now cleared by a drop guard, so a look that panics does
not stop every later look.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit b23c0c4038)
2026-11-30 07:18:58 -08:00
9c2fd42feb draws wait for their pipeline (VICTORY_PIPELINE_WAIT_ALL); heap-pass windows count as used (#4036) 2026-11-30 07:18:57 -08:00
456aec1766 host tests: card_pass's capture argument (test calls left from a merge) 2026-11-30 06:40:26 -08:00
7a216250a1 Dead render-target slot search: slots_showing's new key field (#3750 merge) 2026-11-30 06:40:19 -08:00
0c8c2092a5 Merge PR #3994 (send trim keeps what recent frames used) 2026-11-30 06:21:37 -08:00
a64f9ec236 Merge PR #3272 2026-11-30 06:21:17 -08:00
94dc7e92e2 Merge PR #4005 2026-11-30 06:21:17 -08:00
7dd2bacd54 Merge PR #4003 2026-11-30 06:21:16 -08:00
e0f3e08131 Merge PR #3750 (tyr0nsur race fixes): keep a texture whose slot is busy, check descriptor key and host texture before eviction 2026-11-30 06:21:15 -08:00
a
3fed39f8f8 host: keep 512 MB of the card's budget free of texture copies
A card that runs out of its budget mid-frame has the driver refuse a command list or remove the device (0x8007000E / 0x887A0007). With VICTORY_TEXTURE_ROOM_PERCENT=80 alone, an 8 GiB card still ended at DXGI local 7845/7092 MiB (host texture copies 5807 MiB): render targets, buffer copies and scratch are made with no room test of their own.

VICTORY_TEXTURE_KEEP_FREE_MB (512 MB by default, 0: off as before) keeps that much of the budget free: a first upload is admitted only while the host copies fit what the budget leaves after the other card bytes and the reserve, and the idle sweep takes idle copies down to the same line. An explicit VICTORY_TEXTURE_BUDGET_MB is now checked before the normal room line. VICTORY_CARD_BREAKDOWN=1 adds the host-texture, aliased-target and free-block breakdown to the memory line.
2026-11-30 22:18:51 +08:00
033c372cbb Shaders: a packed word written to all four channels is stored as an integer 2026-11-30 14:07:17 +00:00
edb22cfd90 xmem takes renderer port 1's switch from the GPU side (unset was off there, on here: heap always Scattered); port diagnostics 2026-11-30 06:01:03 -08:00
c71899d9e8 play: the 2026-11-30 bench set on by default (CARD_ALL, UAV_FOLD, waits, lazy compare, #3838 copy-back classes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v2026.11.30.01
2026-11-30 05:17:01 -08:00
1a4c66ca49 VICTORY_SEND_BAR off unless set (auto-on cost 7-8% on 16 GB PCs, issue 3965)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 05:16:41 -08:00
9a427c1408 No UNIFIED copy-back under HW RT (DXR flicker), panel RT label, port arrange log lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 05:11:33 -08:00