Cleanup: Remove special code for Visual Studio 2008.
Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow. Differential Revision: https://developer.blender.org/D715
This commit is contained in:
@@ -76,17 +76,6 @@ CCL_NAMESPACE_BEGIN
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifndef __KERNEL_GPU__
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1800)
|
||||
# define copysignf(x, y) ((float)_copysign(x, y))
|
||||
# define hypotf(x, y) _hypotf(x, y)
|
||||
# define isnan(x) _isnan(x)
|
||||
# define isfinite(x) _finite(x)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef __KERNEL_OPENCL__
|
||||
|
||||
ccl_device_inline float fmaxf(float a, float b)
|
||||
|
@@ -69,13 +69,6 @@
|
||||
#define WITH_CYCLES_OPTIMIZED_KERNEL_AVX2
|
||||
#endif
|
||||
|
||||
/* MSVC 2008, no SSE41 (broken blendv intrinsic) and no AVX support */
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1700)
|
||||
#undef WITH_CYCLES_OPTIMIZED_KERNEL_SSE41
|
||||
#undef WITH_CYCLES_OPTIMIZED_KERNEL_AVX
|
||||
#undef WITH_CYCLES_OPTIMIZED_KERNEL_AVX2
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* SSE Experiment
|
||||
|
Reference in New Issue
Block a user