 #define WARP_SIZE			32
 
 __device__ unsigned int headDev = 0;
-
-#define ENABLE_PERSISTENT_THREAD
 
 __global__ void hitTest(
 	idaten::PathTracing::Path* paths,

	cudaTextureObject_t vtxNml,
	const aten::mat4* __restrict__ matrices,
	cudaTextureObject_t* textures,
	const unsigned int* random)
{
	int idx = blockIdx.x * blockDim.x + threadIdx.x;


		m_paths.init(width * height);
		m_isects.init(width * height);
		m_rays.init(width * height);

#ifdef SEPARATE_SHADOWRAY_HITTEST
		m_shadowRays.init(width * height);
#endif

		cudaMemset(m_paths.ptr(), 0, m_paths.bytes());

