From 1d3b4143abea2a3835cb55b4b657d1f0f5e8da9b Mon Sep 17 00:00:00 2001 From: cccw <66506837+CwWwWwW@users.noreply.github.com> Date: Fri, 27 Nov 2026 22:42:44 +0300 Subject: [PATCH] GPU: a split submission's lists give their descriptor tables' slots back (#1320) The lists a split submission runs at once are not detached, so nothing returned their fresh tables' dynamic slots before the title reset them: a long run lost descriptor slots it never got back. `submit_cut` already does this after the same `execute`, for the same reason. Ported from fxceless/victory-fork af23c65 (fork pull request #1320). (cherry picked from commit 7eb4441181f06a4d5d466cf7fc242c1427462d32) --- crates/victory-gpu/src/queue.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/victory-gpu/src/queue.rs b/crates/victory-gpu/src/queue.rs index 93968e1..5c5de89 100644 --- a/crates/victory-gpu/src/queue.rs +++ b/crates/victory-gpu/src/queue.rs @@ -244,6 +244,12 @@ fn submit_split(this: This, lists: &[This]) { .filter_map(|&l| crate::list::host_list(l)) .collect(); host.execute(&now); + // They have run: their descriptor tables' slots are free again, as + // in `submit_cut` (which does this after the same call, for the + // same reason: the lists are not detached here, so nothing else + // gives their fresh tables' dynamic slots back before the title + // resets them). + crate::list::tables_done(&lists[..cut]); } if cut < lists.len() { static SEEN: AtomicU64 = AtomicU64::new(0);