Cleanup: Avoid default hit initialization
The entire object is assigned later on, no need to initialize it.
This commit is contained in:
committed by
Sergey Sharybin
parent
323e27d825
commit
b2dd523d0d
@@ -44,7 +44,7 @@ ccl_device_intersect bool scene_intersect(KernelGlobals kg,
|
||||
payload.prim_type = PRIMITIVE_NONE;
|
||||
payload.ray_time = ray->time;
|
||||
|
||||
hiprtHit hit = {};
|
||||
hiprtHit hit;
|
||||
|
||||
GET_TRAVERSAL_STACK()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user