 struct Path {
 	aten::vec3 throughput;
 	aten::vec3 contrib;
-	aten::Intersection isect;
 	aten::sampler sampler;
 	
 	real pdfb;

				//shade << <1, 1 >> > (
					outputSurf,
					paths.ptr(),
					rays.ptr(),
					shadowRays.ptr(),
					width, height,


__global__ void hitTest(
	Path* paths,
	aten::Intersection* isects,
	aten::ray* rays,
	int width, int height,
	aten::ShapeParameter* shapes, int geomnum,
