fix(gpu): fence asynchronous timestamp slot reuse

(cherry picked from commit bc282695e539f09d881c61edd69a1552d410f8fb)
This commit is contained in:
krofty authored and trustno1-coder committed 2026-11-27 17:51:23 -08:00
1 parent c1d81790a3
commit 2cffd2dfba
2 files changed
+101 -20

No files matched your search

+1 -1
View File
@@ -6249,7 +6249,7 @@ impl Host {
if late {
*submitted += 1;
#[cfg(feature = "diagnostics")]
if let Some([front, behind]) = self.span_lists() {
if let Some([front, behind]) = self.span_lists(*submitted) {
lists.insert(0, Some(front));
lists.push(Some(behind));
firsts.iter_mut().for_each(|first| *first += 1);