Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2017-02-10 19:43:01 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2017-02-10 19:45:37 +0300
commit641cd4840b4a61e8fc49d718daa4f5d4faa45fad (patch)
tree590fd5f5ea22302d7a6d42c5df755f587ce8cea6
parent79e1f52c68c48da241918b422568783c39dd32a1 (diff)
Cycles Denoising: Enable floating point exceptions in filter code if enabled in CMakesoc-2016-cycles_denoising
-rw-r--r--intern/cycles/device/device_denoising.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device_denoising.cpp b/intern/cycles/device/device_denoising.cpp
index f77be83f556..7ac5eaf1ea4 100644
--- a/intern/cycles/device/device_denoising.cpp
+++ b/intern/cycles/device/device_denoising.cpp
@@ -83,6 +83,10 @@ void DenoisingTask::tiles_from_rendertiles(RenderTile *rtiles)
bool DenoisingTask::run_denoising()
{
+#ifdef WITH_CYCLES_DEBUG_FPE
+ scoped_fpe fpe(FPE_ENABLED);
+#endif
+
/* Allocate denoising buffer. */
buffer.passes = use_cross_denoising? 20 : 14;
buffer.w = align_up(rect.z - rect.x, 4);