From 35fce28bad33a2a5cb4a955284c507991ba9b1bf Mon Sep 17 00:00:00 2001 From: kanglf20 Date: Sun, 21 Apr 2024 15:30:08 +0800 Subject: [PATCH] Reformat ReSTIR_DI integrator code --- src/integrators/restir_di.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrators/restir_di.cpp b/src/integrators/restir_di.cpp index e5328c31..b74f9800 100644 --- a/src/integrators/restir_di.cpp +++ b/src/integrators/restir_di.cpp @@ -513,7 +513,7 @@ class ReSTIRDirectLightingInstance final : public ProgressiveIntegrator::Instanc luisa::vector local_pixels; if (node()->video()) { shutter_samples = camera->node()->uniform_shutter_samples(); - for(auto &s: shutter_samples) s.spp = 1u; + for (auto &s : shutter_samples) s.spp = 1u; local_pixels.resize(pixel_count); } command_buffer << synchronize();