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:
committed by
Sergey Sharybin
parent
e92a8042c3
commit
323e27d825
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user