Cycles BVH Build fix for MSVC 2012.

needs to include intrin.h for _BitScanForward and _BitScanReverse.
This commit is contained in:
Jürgen Herrmann 2013-06-18 12:32:43 +00:00
parent 836b91c9c7
commit 5fc1d9205a

@ -23,6 +23,11 @@
#include <stdlib.h>
// Needed for _BistScanForward and _BitScanReverse on MSVC 2012
# if defined(_MSC_VER) && _MSC_VER >= 1700
# include <intrin.h>
# endif
#endif
/* Qualifiers for kernel code shared by CPU and GPU */