A slot written with another texture goes on showing one that can stand for it (VICTORY_KEEP_SHOWN=1; 0: black, then grey); textures that pop are counted (VICTORY_POP_WATCH)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 10:39:25 -06:00
1 parent bc83b16387
commit af0013dd76
4 files changed
+527 -7

No files matched your search

+14 -2
View File
@@ -8363,6 +8363,8 @@ impl Host {
.flatten();
#[cfg(feature = "diagnostics")]
let probe = if slot.is_some() { None } else { crate::capture::probe(&self.device, list, texture) };
#[cfg(feature = "diagnostics")]
let watched = crate::popwatch::take(&self.device, list, texture);
#[cfg(not(feature = "diagnostics"))]
let _ = frame;
list.ResourceBarrier(&[
@@ -8374,13 +8376,23 @@ impl Host {
),
]);
copy.close();
match slot {
let flown = match slot {
Some(i) => {
let flown = self.execute_own(copy);
p.ahead[i].1 = flown;
flown
}
None => self.execute(&[copy]),
None => {
self.execute(&[copy]);
0
}
};
#[cfg(feature = "diagnostics")]
if let Some(taken) = watched {
crate::popwatch::sent(taken, flown, frame);
}
#[cfg(not(feature = "diagnostics"))]
let _ = flown;
#[cfg(feature = "diagnostics")]
if let Some((buffer, footprint)) = capture {
crate::capture::save_read_back(frame, &buffer, &footprint);