Added GPU SoftBody constraint solvers for DirectX 11 (Direct Compute) and OpenCL, thanks to AMD.
See also http://code.google.com/p/bullet/issues/detail?id=390 Added Demos/DX11ClothDemo (an OpenCL cloth demo will follow soon)
This commit is contained in:
22
src/BulletMultiThreaded/GpuSoftBodySolvers/CMakeLists.txt
Normal file
22
src/BulletMultiThreaded/GpuSoftBodySolvers/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${BULLET_PHYSICS_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
LIST(APPEND SubDirList "CPU")
|
||||
|
||||
|
||||
# Configure use of OpenCL and DX11
|
||||
# Generates the settings file and defines libraries and include paths
|
||||
OPTION(USE_OPENCL "Use OpenCL" OFF)
|
||||
|
||||
|
||||
|
||||
if( USE_OPENCL )
|
||||
LIST(APPEND SubDirList "OpenCL")
|
||||
endif( USE_OPENCL )
|
||||
if( USE_DX11 )
|
||||
LIST(APPEND SubDirList "DX11")
|
||||
endif( USE_DX11 )
|
||||
|
||||
SUBDIRS( ${SubDirList} )
|
||||
Reference in New Issue
Block a user