diff --git a/intern/cycles/kernel/device/hiprt/common.h b/intern/cycles/kernel/device/hiprt/common.h index 18c6c47b435..ec08fde7dd6 100644 --- a/intern/cycles/kernel/device/hiprt/common.h +++ b/intern/cycles/kernel/device/hiprt/common.h @@ -320,10 +320,7 @@ ccl_device_inline bool point_custom_intersect(const hiprtRay &ray, void *payload, hiprtHit &hit) { - /* Point cloud intersections are currently disabled to decrease register pressure in the ray - * tracing kernels. This increases the number of in-flight ray traversal waves, and fixes the - * performance regression reported in #127464 */ -# if defined(__POINTCLOUD__) && 0 +# if defined(__POINTCLOUD__) RayPayload *local_payload = (RayPayload *)payload; KernelGlobals kg = local_payload->kg; int object_id = kernel_data_fetch(user_instance_id, hit.instanceID);