Cycles BVH Build fix for MSVC 2012.
needs to include intrin.h for _BitScanForward and _BitScanReverse.
This commit is contained in:
@@ -23,6 +23,11 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
// Needed for _BistScanForward and _BitScanReverse on MSVC 2012
|
||||||
|
# if defined(_MSC_VER) && _MSC_VER >= 1700
|
||||||
|
# include <intrin.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Qualifiers for kernel code shared by CPU and GPU */
|
/* Qualifiers for kernel code shared by CPU and GPU */
|
||||||
|
Reference in New Issue
Block a user