Cycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can assume SSE2 here, so just re-use the regular one. Saves 500kb in the blender binary.
Reviewed by: brecht Differential Revision: https://developer.blender.org/D199
This commit is contained in:
@@ -8,10 +8,6 @@ include(cmake/external_libs.cmake)
|
||||
|
||||
# Build Flags
|
||||
|
||||
if(WITH_RAYOPTIMIZATION AND SUPPORT_SSE_BUILD)
|
||||
set(WITH_CYCLES_OPTIMIZED_KERNEL ON)
|
||||
endif()
|
||||
|
||||
if(WIN32 AND MSVC)
|
||||
# there is no /arch:SSE3, but intrinsics are available anyway
|
||||
if(CMAKE_CL_64)
|
||||
@@ -54,10 +50,6 @@ add_definitions(${BOOST_DEFINITIONS} ${OPENIMAGEIO_DEFINITIONS})
|
||||
add_definitions(-DCCL_NAMESPACE_BEGIN=namespace\ ccl\ {)
|
||||
add_definitions(-DCCL_NAMESPACE_END=})
|
||||
|
||||
if(WITH_CYCLES_OPTIMIZED_KERNEL)
|
||||
add_definitions(-DWITH_OPTIMIZED_KERNEL)
|
||||
endif()
|
||||
|
||||
if(WITH_CYCLES_NETWORK)
|
||||
add_definitions(-DWITH_NETWORK)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user