A pipeline a list binds again is not kept and named again (from Belobug 92d353f8, romainhedouin)

Two queries for an interface, three locks and a name looked up at every
change of pipeline; now one lookup by address.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 15:42:59 -06:00
1 parent c8ede50886
commit 14692d11ff
2 files changed
+18 -3

No files matched your search

+1 -3
View File
@@ -1460,10 +1460,8 @@ impl State {
// SAFETY: an open list and a live pipeline.
unsafe { l.SetPipelineState(&p.pso) };
self.host_pipeline = p.pso.as_raw() as usize;
list.used_pipeline(&p.name);
// The title may release the pipeline before it submits the list.
list.keep(&p.pso);
list.keep(&p.root);
list.bind_pipeline(&p.name, &p.pso, &p.root);
}
for stage in &p.stages {
let t = stage.translated();