Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2020-12-03 17:20:50 +0300
committerPatrick Mours <pmours@nvidia.com>2020-12-03 17:20:50 +0300
commita3c40912153235508aaccbd310f247073029becb (patch)
treeed4119cdc89e5f22d4d89f6cffa0f3fba6ddcabf /source/blender/editors/screen/screen_context.c
parent5d1308262218db60e22088bd7f16587cf28148e0 (diff)
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.
Diffstat (limited to 'source/blender/editors/screen/screen_context.c')
0 files changed, 0 insertions, 0 deletions