enable MPR OpenCL for Mac OSX
This commit is contained in:
@@ -16,16 +16,8 @@ Bullet2FileDemo::~Bullet2FileDemo()
|
||||
void Bullet2FileDemo::setupScene(const ConstructionInfo& ci)
|
||||
{
|
||||
b3Assert(ci.m_instancingRenderer);
|
||||
#ifdef __APPLE__
|
||||
//MPR doesn't work yet on Apple, so use a simpler test file
|
||||
//see bool useMpr at the top of
|
||||
//src/Bullet3OpenCL/NarrowphaseCollision/b3ConvexHullContact.cpp
|
||||
|
||||
|
||||
const char* fileName="data/testFile.bullet";
|
||||
#else
|
||||
//const char* fileName="data/testFile.bullet";
|
||||
const char* fileName="data/testFileFracture.bullet";
|
||||
#endif
|
||||
FILE* f = 0;
|
||||
|
||||
const char* prefix[]={"./","../","../../","../../../","../../../../"};
|
||||
|
||||
@@ -16,11 +16,7 @@ subject to the following restrictions:
|
||||
bool findSeparatingAxisOnGpu = true;
|
||||
bool splitSearchSepAxisConcave = false;
|
||||
bool splitSearchSepAxisConvex = true;
|
||||
#ifdef __APPLE__
|
||||
bool useMprGpu = false;
|
||||
#else
|
||||
bool useMprGpu = true;//use mpr for edge-edge (+contact point) or sat. Needs testing on main OpenCL platforms, before enabling...
|
||||
#endif
|
||||
bool bvhTraversalKernelGPU = true;
|
||||
bool findConcaveSeparatingAxisKernelGPU = true;
|
||||
bool clipConcaveFacesAndFindContactsCPU = false;//false;//true;
|
||||
|
||||
Reference in New Issue
Block a user