enable MPR OpenCL for Mac OSX

This commit is contained in:
Erwin Coumans
2014-01-16 14:24:18 -08:00
parent f14ec7b870
commit edb0c72166
2 changed files with 1 additions and 13 deletions

View File

@@ -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[]={"./","../","../../","../../../","../../../../"};

View File

@@ -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;