Fix: Incorrect ray time used for HIP-RT local intersections
It was always hard-coded to be 0. It does not seem to result in any extra tests passing, but they are probably not sophisticated enough. Noticed while looking into details for the #135856. Pull Request: https://projects.blender.org/blender/blender/pulls/135878
This commit is contained in:
committed by
Sergey Sharybin
parent
e3df02999b
commit
a3eb0faa3f
@@ -118,6 +118,7 @@ ccl_device_intersect bool scene_intersect_local(KernelGlobals kg,
|
||||
LocalPayload payload = {0};
|
||||
payload.kg = kg;
|
||||
payload.self = ray->self;
|
||||
payload.ray_time = ray->time;
|
||||
payload.local_object = local_object;
|
||||
payload.max_hits = max_hits;
|
||||
payload.lcg_state = lcg_state;
|
||||
|
||||
Reference in New Issue
Block a user