Fix T53001: more workarounds for crash in AMD compiler with recent drivers.
[blender-staging.git] / intern / cycles / kernel / kernel_compat_cuda.h
index 1e2af9de8b3c09e950930863c0e357dbfe8b81d2..2e8ca48c41303fef4d612a590351ce1b4c86b52f 100644 (file)
@@ -50,7 +50,8 @@
 #endif
 #define ccl_device_noinline  __device__ __noinline__
 #define ccl_global
-#define ccl_constant
+#define ccl_static_constant __constant__
+#define ccl_constant const
 #define ccl_local __shared__
 #define ccl_local_param
 #define ccl_private