Skip to content
Snippets Groups Projects
Commit aaff1913 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
Browse files

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: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9ba7d459 ("intel/rt: Implement the new ray-tracing system values")
Reviewed-by: Sagar Ghuge's avatarSagar Ghuge <sagar.ghuge@intel.com>
Part-of: <mesa/mesa!30578>
parent 79356231
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment