From e1c4dc2eec5c54c64a90e8a60fafa7923aa852d2 Mon Sep 17 00:00:00 2001 From: Michael Huttner Date: Tue, 20 Feb 2024 17:40:14 +0100 Subject: [PATCH] reset ReadThanWritten on rerun, fix #1146 and #1150 --- src/driver.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver.rs b/src/driver.rs index 2911885ba..767263947 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -1718,6 +1718,9 @@ impl ProcessingSession { // this, but, uh, so far it seems to work. for summ in self.bs.events.values_mut() { summ.read_digest = None; + if summ.access_pattern == AccessPattern::ReadThenWritten { + summ.access_pattern = AccessPattern::Read + } } warnings = self.tex_pass(Some(&rerun_explanation), status)?;