GPU: skip empty command list submissions #1268
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!1268
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1268/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?
@EatCodeSleep2 on GitHub · 2026-11-24 16:57 UTC · original
EatCodeSleep2:fix/skip-empty-gpu-submissions-1249→main· +25 −1 · 2 files · 1 commits · closed without mergingSummary
Refs #1249, finding VIC-BT-035.
Verification
A synthetic D3D12 test reproduced the empty submission advancing the fence from 0 to 1 on main. With this change an empty batch leaves it at 0, and submitting one closed list advances it to 1.
cargo test --locked -p victory-gpu --lib(51 passed, 1 ignored)cargo test --locked -p victory-gpu --lib --features diagnostics(54 passed, 1 ignored)VICTORY_D3D12_WARP=1cargo clippy --locked -p victory-gpu --all-targets --features diagnostics -- -D warningsAI-assisted. Only synthetic command lists were used.
@Marvisak on GitHub · 2026-11-25 00:36 UTC · original
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #1424. Same early return for an empty host submission as #1424, plus a count == 0 check in the queue entry that the host-side check already covers.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed