moved getting pointer for per thread tessellation cache to ray precalculations, therefore only once per ray