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>2019-11-25 20:36:55 +0300
committerPatrick Mours <pmours@nvidia.com>2019-11-25 20:36:55 +0300
commit03cdfc2ff6df61a247b90c4ad8bb1b26034b4505 (patch)
tree2cff9b889733d8e9659690d592cf63c3248dc87a /source/blender/editors/space_nla
parentb374b24f1b2dea4360f318fe3c86bede00bdaae4 (diff)
Fix potential access to deleted memory in OptiX kernel loading code
Calling "OptiXDevice::load_kernels" multiple times would call "optixPipelineDestroy" on a pipeline pointer that may have already been deleted previously (since the PIP_SHADER_EVAL pipeline is only created conditionally). This change also avoids a CUDA kernel reload every time this is called. The CUDA kernels are precompiled and don't change, so there is no need to reload them every time.
Diffstat (limited to 'source/blender/editors/space_nla')
0 files changed, 0 insertions, 0 deletions