brw/rt: fix ray_object_(direction|origin) for closest-hit shaders
When closest hit shader is called, the BVH object level brw_nir_rt_load_mem_ray origin/direction is 0. What we should be using is the ray origin/direction and apply the transform of the current instance. Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 9ba7d459 ("intel/rt: Implement the new ray-tracing system values") Reviewed-by:
Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <mesa/mesa!30578>