Cycles: Keep ccl_always_inline always inlining the stuff

It works around strange shading bug when building with MSVC.
If such weirdeness continues, we perhaps would need to use
proper inline flags all the time.

Anyway, lets see how things will behave now.
This commit is contained in:
Sergey Sharybin 2014-09-26 02:03:49 +06:00
parent 0929821590
commit 2307bd7174

@ -44,12 +44,7 @@
#define __KERNEL_WITH_SSE_ALIGN__
#if defined(_WIN32) && !defined(FREE_WINDOWS)
# ifdef NDEBUG
# define ccl_device_inline static __forceinline
# else
# define ccl_device_inline static
# endif
#define ccl_device_inline static __forceinline
#define ccl_align(...) __declspec(align(__VA_ARGS__))
#ifdef __KERNEL_64_BIT__
#define ccl_try_align(...) __declspec(align(__VA_ARGS__))