Fix #127464: Disable HIPRT point clouds to fix performance regression

Temporarily disable point cloud rendering in HIPRT to fix a performance
regression triggered by increased register preasure until
a better solution can be developed.

Pull Request: https://projects.blender.org/blender/blender/pulls/127738
This commit is contained in:
Alaska
2024-09-17 17:59:18 +02:00
committed by Sergey Sharybin
parent 2976520525
commit 27680118db

View File

@@ -318,7 +318,10 @@ ccl_device_inline bool point_custom_intersect(const hiprtRay &ray,
void *payload,
hiprtHit &hit)
{
# ifdef __POINTCLOUD__
/* Point cloud intersections are currently disabled to decrease register pressure in the ray
* tracing kernels. This increases the number of inflight ray traversal waves, and fixes the
* performance regression reported in #127464 */
# if defined(__POINTCLOUD__) && 0
RayPayload *local_payload = (RayPayload *)payload;
KernelGlobals kg = local_payload->kg;
int object_id = kernel_data_fetch(user_instance_id, hit.instanceID);