GPU: keep the initial pipeline of new command lists #461
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!461
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/461/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?
@fuzeofficlal on GitHub · 2026-11-24 03:42 UTC · original
fuzeofficlal:fix/initial-command-list-pso→main· +82 −6 · 2 files · 1 commits · closed without mergingBoth command-list creation entry points accept an initial pipeline state. Forward it into the list's draw state so the first draw or dispatch can use it when the caller sets the PSO at creation. Host pipeline creation stays lazy.
The synthetic regression creates a shim pipeline and passes it to the regular and X command-list entry points. Both calls returned success on main but stored a null pipeline. With this change both retain the supplied pipeline, and ResetX and Reset still clear and restore the pipeline as requested.
The GPU test suite passed on Windows with 46 tests in diagnostics and 44 in the default build, with one ignored benchmark in each configuration. The focused regression also passed with WARP. The staged asset policy check passed.
@DaviTostes on GitHub · 2026-11-24 03:46 UTC · original
Verified
bf84506on Arch Linux x86_64, Windows MSVC release build under Wine 11.22 (victory-gpu,--test-threads=1): 44 passed, 0 failed, 1 ignored.Not covered: title command lists that are opened, submitted and reused in the world (no game data here).
@LocranKing on GitHub · 2026-11-24 04:18 UTC · original
Tested on Windows 11 + NVIDIA GeForce RTX 3060 Ti (8 GB, MSVC
1.98.1).Tested
bf84506(pr-461, clean tree)32.0.16.2101), Rust1.98.1(x86_64-pc-windows-msvc)cargo xtask policy:asset policy: 151 files okcargo test --workspace: 265 passed, 0 failed, 4 ignoreddiagbuild (VICTORY_D3D12_DRED=1) live boot/first-screen run (45 s) on RTX 3060 Ti:33.3–33.4 ms/frame(0.2 mspreparing,0.1 mscopies,1.2–4.8 mson the GPU,0.0 mscopying back),13draws/frame,0dropped (frame=1024:6656/6656draws,512/512dispatches).copystat(steady state):14.9–15.4submissions,70–72title copies (0.1 MB),75–77refreshes (62.9–65.0 MB),10watches (0.14–0.16 ms),0–1page faults.crashes.logempty.Not tested: World streaming past the first screens, D3D12 debug layer (
VICTORY_D3D12_DEBUG=1), AMD GPUs.AI use: Antigravity (
Gemini 4 Hydrogen) ran the checks and diagnostics run and drafted this report from the logs.@mercuryVM on GitHub · 2026-11-24 05:47 UTC · original
Correction to my review: the
#[cfg(not(windows))] let _ = pipeline;is needed, since thestatefield is#[cfg(windows)]. Please ignore that nit; the approval stands.AI-assisted (Claude Code).
@Marvisak on GitHub · 2026-11-25 00:03 UTC · original
Automated triage for the maintainers. Closing because another open pull request covers the same change.
See #1446. Keeps the initial pipeline passed at list creation; #1446 does the same and merges clean.
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