Blender Git Commit Log

Git Commits -> Revision 89578a8

Revision 89578a8 by Patrick Mours (master)
January 10, 2020, 15:03 (GMT)
Fix OptiX acceleration structure failing to build in viewport

The `optixAccelBuild` API throws an error when the property to get compacted size is passed in
without the `OPTIX_BUILD_FLAG_ALLOW_COMPACTION` flag set. This is not currently hit
because `background` is always true (set in `mem_alloc`), but would become an issue once that
is sorted out, so fixing it now to be safe.

Commit Details:

Full Hash: 89578a8f6eddd72f3e81758d57c5bd9133c08528
Parent Commit: 6915555
Lines Changed: +2, -2

1 Modified Path:

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