forked from bartvdbraak/blender
Cycles BVH Build fix for MSVC 2012.
needs to include intrin.h for _BitScanForward and _BitScanReverse.
This commit is contained in:
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user