Blender Git Commit Log

Git Commits -> Revision d259e7d

Revision d259e7d by Patrick Mours (master)
January 7, 2021, 18:23 (GMT)
Cycles: Increase instance limit for OptiX acceleration structure building

For a while now OptiX had support for 28-bits of instance IDs, instead of the initial 24-bits (see also
value reported by OPTIX_DEVICE_PROPERTY_LIMIT_MAX_INSTANCE_ID). This change makes use of
that and also adds an error reported when the number of instances an OptiX acceleration structure is
created with goes beyond the limit, to make this clear instead of just rendering an image with artifacts.

Manifest Tasks: T81431

Commit Details:

Full Hash: d259e7dcfbbd37cec5a45fdfb554f24de10d0268
Parent Commit: 3db2bc8
Lines Changed: +16, -2

2 Modified Paths:

/intern/cycles/device/device_optix.cpp (+14, -0) (Diff)
/intern/cycles/kernel/kernels/optix/kernel_optix.cu (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021