Blender Git Commit Log
Git Commits -> Revision a3c4091
Revision a3c4091 by Patrick Mours (master) December 3, 2020, 14:20 (GMT) |
Fix Cycles device kernels containing debug assertation code NanoVDB includes "assert.h" and makes use of "assert" in several places and since the compile pipeline for CUDA/OptiX kernels does not define "NDEBUG" for release builds, those debug checks were always added. This is not intended, so this patch disables "assert" for CUDA/OptiX by defining "NDEBUG" before including NanoVDB headers. This also fixes a warning about unknown pragmas in NanoVDB thrown by the CUDA compiler. |
Commit Details:
Full Hash: a3c40912153235508aaccbd310f247073029becb
Parent Commit: 5d13082
Lines Changed: +3, -0