Cleanup: Remove redundant assignment

The payload stores pointers, no need to restore pointer
of the function argument to the same value.
This commit is contained in:
Sergey Sharybin
2025-03-25 15:02:01 +01:00
committed by Sergey Sharybin
parent e92a8042c3
commit 323e27d825

View File

@@ -196,10 +196,6 @@ ccl_device_intersect bool scene_intersect_shadow_all(KernelGlobals kg,
GET_TRAVERSAL_ANY_HIT(table_shadow_intersect, 1, ray->time)
const hiprtHit hit = traversal.getNextHit();
num_recorded_hits = payload.r_num_recorded_hits;
throughput = payload.r_throughput;
return hit.hasHit();
}
#endif /* __SHADOW_RECORD_ALL__ */