   void* uniform geomUserPtr_in = args->geomUserPtr;
   RTCIntersectContext* uniform context_in = args->context;
   RTCRayN* uniform ray_in = args->ray;
-  RTCHitN* uniform potentialHit_in = args->potentialHit;
+  RTCHitN* uniform hit_in = args->hit;
   uniform unsigned int N_in = args->N;
   #warning FIXME: function may get called with zero valid mask
   #warning FIXME: reject hit through *valid_in = 0 instead of ray_in.geomID = RTC_INVALID_GEOMETRY_ID;
 }@@
 
 @@{
-void EXPR intersectionFilterN(int* ID valid_in, void* ID geomUserPtr_in, const RTCIntersectContext* ID context_in, RTCRayN* ID ray_in, const RTCHitN* ID potentialHit_in, const size_t ID N_in);
+void EXPR intersectionFilterN(int* ID valid_in, void* ID geomUserPtr_in, const RTCIntersectContext* ID context_in, RTCRayN* ID ray_in, const RTCHitN* ID hit_in, const size_t ID N_in);
 =>
 void intersectionFilterN(const uniform RTCFilterFunctionNArguments* const uniform args);
 }@@

@@{
ray_in.
=>
potentialHit->
}@@
}@@


@@{
ray_in.
=>
hit->
}@@
}@@

