From b69fb3e191d9726c64cadf2932e73540dc398374 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 3 Oct 2026 14:44:48 -0400 Subject: [PATCH] Give the denoise work's test images a baseline exposure The learned-denoise branch merged while this one was open, and two of its test fixtures build a RawImage without the baseline_exposure field this branch added; zero is the no-op value. --- core/dr-gpu/tests/grain.rs | 1 + ui/dr-ui/src/develop/denoise.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/core/dr-gpu/tests/grain.rs b/core/dr-gpu/tests/grain.rs index 92b92c6..53cf00c 100644 --- a/core/dr-gpu/tests/grain.rs +++ b/core/dr-gpu/tests/grain.rs @@ -26,6 +26,7 @@ fn like(ctx: &GpuContext) -> DemosaicedImage { samples_per_pixel: 1, profile: None, profile_tables: None, + baseline_exposure: 0.0, make: String::new(), model: String::new(), crop: CropRect { diff --git a/ui/dr-ui/src/develop/denoise.rs b/ui/dr-ui/src/develop/denoise.rs index ad2469b..33b92bd 100644 --- a/ui/dr-ui/src/develop/denoise.rs +++ b/ui/dr-ui/src/develop/denoise.rs @@ -329,6 +329,7 @@ mod tests { samples_per_pixel: 1, profile: None, profile_tables: None, + baseline_exposure: 0.0, make: String::new(), model: String::new(), crop: dr_decode::CropRect {