Merge day/textures

This commit is contained in:
local committed 2026-11-25 12:55:58 -06:00
commit f6e2b31ceb
20 files changed
+1887 -84

No files matched your search

+13 -2
View File
@@ -8702,6 +8702,7 @@ impl Host {
#[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);
p.panel.draw(self, copy, &back, (width, height), format);
#[cfg(not(feature = "diagnostics"))]
let _ = frame;
@@ -8714,13 +8715,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);