Cycles: Optionally output luminance from the shader evaluation kernel
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 30 Dec 2015 14:04:01 +0000 (19:04 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 30 Dec 2015 14:04:04 +0000 (19:04 +0500)
commit3918c8b9a52ae9dcdb0488df92d7d3ca615be8c7
tree3740e477610ab3ed020d505cd98308d29f663f5b
parentc8a551bf13edf711b93ea89cd3fcd244e4206cee
Cycles: Optionally output luminance from the shader evaluation kernel

This makes it possible to move some parts of evaluation from host to the device
and hopefully reduce memory usage by avoid having full RGBA buffer on the host.

Reviewers: juicyfruit, lukasstockner97, brecht

Reviewed By: lukasstockner97, brecht

Differential Revision: https://developer.blender.org/D1702
13 files changed:
intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_cuda.cpp
intern/cycles/device/device_multi.cpp
intern/cycles/device/device_network.cpp
intern/cycles/device/device_network.h
intern/cycles/device/device_opencl.cpp
intern/cycles/device/device_task.cpp
intern/cycles/device/device_task.h
intern/cycles/kernel/kernel_bake.h
intern/cycles/kernel/kernels/cpu/kernel_cpu.h
intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h
intern/cycles/kernel/kernels/cuda/kernel.cu
intern/cycles/kernel/kernels/opencl/kernel.cl