 	printf("P0 (%f, %f), dP (%f, %f)\n", P0.x, P0.y, dP.x, dP.y);
 #endif
 
-	static const int maxSteps = 50;
-
-	for (;
-		((PQk.x * stepDir) <= end)	// I_ɓB.
-		&& (stepCount < maxSteps)	// ő又ɓB.
-		&& (sceneZMax != 0.0);	// ȂƂɓBĂȂ.
-		++stepCount)
+	static const int maxSteps = 20;
+
+	bool isect = false;
+	bool breakLoop = false;
+
+	for (; (stepCount < maxSteps) && !breakLoop; ++stepCount)
 	{
 		// OZ̍ől̍ŏlɂȂ.
 		rayZMin = prevZMaxEstimate;

#endif
	}
}

__global__ void hitTest(
	const int* __restrict__ notIntersectInScreenSpaceIds,

	}

	// TODO
	static const float stride = 15.0f;

	float c = (ix + iy) * 0.25f;
	float jitter = stride > 1.0f ? fmod(c, 1.0f) : 0.0f;
