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.
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.
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>
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>
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>
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>
`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>
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>
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>
`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)
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.