diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-04-30 15:15:10 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-04-30 16:04:40 +0300 |
commit | 6121c28501eff722717fb8b777f6004fb6d4e152 (patch) | |
tree | 5f7ab035da266265b2224ce37477ef06752fdb0d /intern/cycles/kernel/kernel_compat_optix.h | |
parent | 36bf067ddcb4e7a7612476e9badcf8d44afeee2a (diff) |
Fix T75895: Unable to Compile Cycles on NAVI/Linux
This patch will add some compiler hints to break unrolling in the
nestled for loops of the voronoi node.
Reviewed by: Brecht van Lommel
Differential Revision: https://developer.blender.org/D7574
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_optix.h')
-rw-r--r-- | intern/cycles/kernel/kernel_compat_optix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_compat_optix.h b/intern/cycles/kernel/kernel_compat_optix.h index 7068acc3a32..970f5cf864c 100644 --- a/intern/cycles/kernel/kernel_compat_optix.h +++ b/intern/cycles/kernel/kernel_compat_optix.h @@ -70,6 +70,7 @@ __device__ half __float2half(const float f) #define ccl_private #define ccl_may_alias #define ccl_addr_space +#define ccl_loop_no_unroll #define ccl_restrict __restrict__ #define ccl_ref #define ccl_align(n) __align__(n) |