Blender Git Commit Log

Git Commits -> Revision dabe5cd

Revision dabe5cd by Jeroen Bakker (master)
February 26, 2019, 13:06 (GMT)
T61971: Compilation Displacement/Background Kernel

Displacement and Background kernels are selectively used, but always compiled. This patch will not compile these kernels when they are not needed.

Displacement kernel is only used for true displacement.
Background kernel is only used when there is a (Cycles)Light of type `LIGHT_BACKGROUND`.

Reviewed By: brecht, #cycles

Tags: #cycles

Maniphest Tasks: T61971

Differential Revision: https://developer.blender.org/D4412

Commit Details:

Full Hash: dabe5cd31add8aa55b9ad4bce1b591ed4e98f1a1
Parent Commit: e6099c7
Lines Changed: +32, -7

4 Modified Paths:

/intern/cycles/device/device.cpp (+4, -0) (Diff)
/intern/cycles/device/device.h (+11, -1) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+13, -6) (Diff)
/intern/cycles/render/session.cpp (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021