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

__global__ void shade(
	cudaSurfaceObject_t outSurface,
	Path* paths,
	aten::ray* rays,
	ShadowRay* shadowRays,
	int width, int height,

				hitTest << <grid, block >> > (
				//hitTest << <1, 1 >> > (
					paths.ptr(),
					isects.ptr(),
					rays.ptr(),
					width, height,
					shapeparam.ptr(), shapeparam.num(),
