GPU list: bind initial pipeline state in create_list and create_list_x #1446
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!1446
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1446/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?
@geiyiliyabumo on GitHub · 2026-11-24 18:04 UTC · original
geiyiliyabumo:fix/list-create-initial-pipeline→main· +119 −8 · 1 files · 2 commits · merged 2026-11-25 00:22 UTCSummary
Fixes \VIC-BT-003\ (P0, tracked in #1242) in \crates/victory-gpu/src/list.rs:
ew_list, initializing Windows draw state (\state.set_pipeline(pipeline)) and recording \crate::pipeline::bound(pipeline)\ on successful creation (while keeping null \pInitialState\ a clean no-op).
Verification
AI-assisted; synthetic tests only, no game files.
@wbkepler on GitHub · 2026-11-24 20:56 UTC · original
Ran
lists_bind_the_initial_pipeline_on_creationon Windows 11 / RTX 5090 with this branch (e52777a): passed.Interaction note: this is functionally the same as the VIC-BT-003 hunk in #1353. Both pass
pipelinethroughnew_listintoState, for bothcreate_listandcreate_list_x. This version is slightly tidier: it callspipeline::boundonly afterhand_outsucceeds. So the two only need one of them to land.On the
Reset(allocator, pso)path,reset/reset_xalready pass the pipeline tostate.reset(pipeline), so the draw state stays consistent with creation. The only gap is thatresetdoesn't callcrate::pipeline::bound(pipeline)the wayset_pipelinedoes, so a pipeline that is only ever bound throughResetnever gets its "first bind" log. That's logging only and was already the case before this PR. It's a one-line addition if you want it here.AI-assisted review (Claude Code); checked on Windows 11 / RTX 5090.
@geiyiliyabumo on GitHub · 2026-11-24 21:07 UTC · original
Thanks @wbkepler for verifying on RTX 5090 and pointing out the
resetlogging gap! Addedcrate::pipeline::bound(pipeline)inreset(covering bothResetandResetX) in8d3a025, verified withcargo test -p victory-gpu --lib list, strict clippy (default +--all-features), andcargo xtask policy.AI-assisted; synthetic tests only, no game files.
@acetonahard-code on GitHub · 2026-11-24 21:14 UTC · original
Heads-up: #461 (opened earlier today) makes the same change.
create_listandcreate_list_xforwardpInitialStateintonew_list, with the same new parameter. The two conflict inlist.rs.Tested on Windows 11, RTX 4070 SUPER (driver 621.14), with the repo toolchain, merged into current
main(ffe310e):cargo test -p victory-gpumainmain+ this PRmain,--all-featuresmain+ this PR,--all-featurescargo clippy --all-targets -- -D warnings, with and without--all-features: clean.I didn't test with game data.
Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.