diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-07-10 18:09:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-07-10 18:10:05 +0300 |
commit | d8e648c352debfe9664d3c312bdb6cee5fcefbf3 (patch) | |
tree | 4f00469fdafad4b98f11d77ce4ca113e2539f6ba /intern/cycles/kernel/kernel_path.h | |
parent | 9dbe9a753a54cad83f94ef295b7a8b4350ab9783 (diff) |
Fix T78776: Cycles OpenCL error after recent changes for holdouts
Diffstat (limited to 'intern/cycles/kernel/kernel_path.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h index 0e1c929696b..eb6c94fe104 100644 --- a/intern/cycles/kernel/kernel_path.h +++ b/intern/cycles/kernel/kernel_path.h @@ -288,7 +288,7 @@ ccl_device_forceinline bool kernel_path_shader_apply(KernelGlobals *kg, if (kernel_data.background.transparent) { L->transparent += average(holdout_weight * throughput); } - if (holdout_weight == make_float3(1.0f, 1.0f, 1.0f)) { + if (isequal_float3(holdout_weight, make_float3(1.0f, 1.0f, 1.0f))) { return false; } } |