8 Replies Latest reply on Aug 4, 2010 9:10 AM by mihzaha

    OpenCL 2.1 access violation -> strange solution ?

    spectral

      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 ?