GPU tests: cover new waits after a fence rewind #2162
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2164"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-25T06:44:21Z.
Refs #932
D3D12 permits a later signal to lower a fence's value. Extend the existing event test to check that a new wait after 5 to 2 stays pending for 4 and fires when 4 is signalled. D3D12 fence semantics
The same test fails on the monotonic comparison branch
370c61bffcbecause the completed value stays at 5. It passes on current main940d32f69b. The GPU suite passed 146 tests with two ignored. Staged asset policy passed.Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T07:17:30Z.
Review: COMMENTED
Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff.
GPU tests for new waits after a fence rewind — test-only PR; Windows-only.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T12:35:26Z.
Automated triage for the maintainers.
Merge candidate (test only). This extends
signals_set_waiting_eventsincrates/victory-gpu/src/fence.rs. After the fence is signalled back to a lower value (2, from 5), a newSetEventOnCompletion(4)does not fire at once, and it fires when the fence reaches 4. That is D3D12's documented behaviour (a fence can be signalled to a lower value, and a wait compares against the current one). It is also whatmain'ssignalandset_event_on_completiondo. Nothing pinned it before.CI
checkpasses, and the branch merges cleanly withmain.Generated by Claude Code