From 430066bcd62d77c003e5bd6adb0c988becfb6130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tur=C3=A1nszki=20J=C3=A1nos?= Date: Sun, 5 Oct 2025 09:28:18 +0200 Subject: [PATCH] path tracing denoiser job additional safety --- WickedEngine/wiRenderPath3D_PathTracing.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WickedEngine/wiRenderPath3D_PathTracing.cpp b/WickedEngine/wiRenderPath3D_PathTracing.cpp index 46f0a837d..72430445f 100644 --- a/WickedEngine/wiRenderPath3D_PathTracing.cpp +++ b/WickedEngine/wiRenderPath3D_PathTracing.cpp @@ -309,7 +309,8 @@ namespace wi } else { - denoiserResult = Texture(); + wi::jobsystem::Wait(denoiserContext); + denoiserResult = {}; denoiserProgress = 0; } #endif // OPEN_IMAGE_DENOISE