[Bf-blender-cvs] [9b5beba9fd] soc-2016-cycles_denoising: Cycles Denoising: Also enable FPE debugging during denoising

Lukas Stockner noreply at git.blender.org
Wed Feb 1 05:19:13 CET 2017


Commit: 9b5beba9fda2b9f62a0c8eee3c1d8aa1df1b1e0e
Author: Lukas Stockner
Date:   Fri Jan 27 04:47:11 2017 +0100
Branches: soc-2016-cycles_denoising
https://developer.blender.org/rB9b5beba9fda2b9f62a0c8eee3c1d8aa1df1b1e0e

Cycles Denoising: Also enable FPE debugging during denoising

===================================================================

M	intern/cycles/device/device_cpu.cpp

===================================================================

diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 4e6fb119b2..02bb9170e9 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -477,6 +477,10 @@ public:
 
 	void denoise_run(KernelGlobals *kg, int sample, float *filter_buffer, int4 filter_area, int4 rect, int offset, int stride, float *buffers)
 	{
+#ifdef WITH_CYCLES_DEBUG_FPE
+		scoped_fpe fpe(FPE_ENABLED);
+#endif
+
 		bool use_gradients = kg->__data.integrator.use_gradients;
 
 		int hw = kg->__data.integrator.half_window;




More information about the Bf-blender-cvs mailing list