GPU tests: cover new waits after a fence rewind #2164
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2164
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2164/head"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-11-25 06:44 UTC · original
andrewpozdnakov7-jpg:test/932-fence-rewind-wait→main· +10 −1 · 1 files · 1 commits · merged 2026-11-25 21:55 UTCRefs #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.@Marvisak on GitHub · 2026-11-25 12:35 UTC · original
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