spectral

OpenCL 2.1 access violation -> strange solution ?

Discussion created by spectral on Jul 30, 2010
Latest reply on Aug 4, 2010 by mihzaha

Hi,

I have a strange crash with my code; I explain, when I do this  have a crash :

Ray shadowRay;
... set up the shadow ray ...
Intersect(&shadowRay, &rayHit, scene);

When I do this , I have no crash :

Ray shadowRay;
... set up the shadow ray ...
Ray shadowRay2;
rayCopy(shadowRay2, shadowRay);
Intersect(&shadowRay2, &rayHit, scene);

Strange, no ?

 

Outcomes