implement clipFacesAndFindContactsCPU, to track down OpenCL issue on Mac OSX

This commit is contained in:
erwin coumans
2013-12-13 10:05:07 -08:00
parent 33889a3dc9
commit 571b14787a
4 changed files with 225 additions and 11 deletions

View File

@@ -1865,13 +1865,11 @@ static const char* satClipKernelsCL= \
"}\n"
"__kernel void clipFacesAndFindContactsKernel( __global const float4* separatingNormals,\n"
" __global const int* hasSeparatingAxis,\n"
" __global struct b3Contact4Data* globalContactsOut,\n"
" __global int4* clippingFacesOut,\n"
" __global float4* worldVertsA1,\n"
" __global float4* worldNormalsA1,\n"
" __global float4* worldVertsB1,\n"
" __global float4* worldVertsB2,\n"
" counter32_t nGlobalContactsOut,\n"
" int vertexFaceCapacity,\n"
" int numPairs,\n"
" int debugMode\n"