[Bf-blender-cvs] [47280704aa] temp-cycles-denoising: Cycles Denoising: Fix compilation without pass support
Lukas Stockner
noreply at git.blender.org
Fri Mar 24 20:18:58 CET 2017
Commit: 47280704aafb4421ba9dce6815d9a80e198c6ffd
Author: Lukas Stockner
Date: Fri Mar 24 20:09:08 2017 +0100
Branches: temp-cycles-denoising
https://developer.blender.org/rB47280704aafb4421ba9dce6815d9a80e198c6ffd
Cycles Denoising: Fix compilation without pass support
===================================================================
M intern/cycles/kernel/kernel_accumulate.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_accumulate.h b/intern/cycles/kernel/kernel_accumulate.h
index db5ba2acf2..d1a26778aa 100644
--- a/intern/cycles/kernel/kernel_accumulate.h
+++ b/intern/cycles/kernel/kernel_accumulate.h
@@ -609,7 +609,7 @@ ccl_device_inline void path_radiance_split_denoising(KernelGlobals *kg, PathRadi
ADD_COMPONENT(DENOISING_CLEAN_SUBSURFACE_IND, L->indirect_subsurface);
# undef ADD_COMPONENT
#else
- *noisy = *L;
+ *noisy = L->emission;
*clean = make_float3(0.0f, 0.0f, 0.0f);
#endif
More information about the Bf-blender-cvs
mailing list