Blender Git Loki

Git Commits -> Revision 5113729

Revision 5113729 by Sergey Sharybin (cycles-x)
March 18, 2021, 16:33 (GMT)
Cycles: Fix crash when rendering with OSL enabled

Implement move semantic for the CPUKernelThreadGlobals.

Without this the way how kernels globals were initialized was using move
semantic, but was leaving runtime pointers in original and a moved copy.

Commit Details:

Full Hash: 511372949f53af7c75d3489b74f0281319adc230
Parent Commit: 82f945d
Lines Changed: +46, -12

2 Modified Paths:

/intern/cycles/device/cpu/kernel_thread_globals.cpp (+37, -12) (Diff)
/intern/cycles/device/cpu/kernel_thread_globals.h (+9, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021