 #define DEBUG_IY	(511 - 81)
 #endif
 
-template <bool isFillAOV>
 __global__ void genPath(
+	bool isFillAOV,
 	idaten::SVGFPathTracing::Path* paths,
 	aten::ray* rays,
 	int width, int height,

		return;
	}

	const auto idx = getIdx(23, 511 - 503, width);


	paths->attrib[idx].isHit = false;

	hitbools[idx] = 0;

				width, height);
		}
		else {
			shadeMiss << <grid, block >> > (
				bounce,
				m_aovNormalDepth[curaov].ptr(),
				m_aovTexclrTemporalWeight[curaov].ptr(),
				m_aovMomentMeshid[curaov].ptr(),
				m_paths.ptr(),
				width, height);
		}

		checkCudaKernel(shadeMiss);
