 	path.isSingular = false;
 
 	path.samples += 1;
-
-#ifdef ENABLE_DEBUG
-	path.contrib = aten::vec3(1, 0, 0);
-#endif
 }
 
 namespace idaten

		ix * sizeof(float4), iy,
		cudaBoundaryModeTrap);	
}
#endif

__global__ void makePathMask(
	idaten::PathTracing::Path* paths,

	*prevPos = *prevPos * 0.5 + 0.5;	// [-1, 1] -> [0, 1]
}

__global__ void temporalReprojection(
	const idaten::PathTracing::Path* __restrict__ paths,
	const aten::CameraParameter* __restrict__ camera,
	const float4* __restrict__ aovs,
	const float4* __restrict__ prevAOVs,
	const aten::mat4* __restrict__ mtxs,
