Cycles: Add single channel texture support for OpenCL.
authorThomas Dinges <blender@dingto.org>
Sun, 14 Aug 2016 18:21:08 +0000 (20:21 +0200)
committerThomas Dinges <blender@dingto.org>
Sun, 14 Aug 2016 18:21:08 +0000 (20:21 +0200)
commit5c0a67b325b2c07574ef303947d5c026ab3f55d5
tree05e2e8b33a5b4843d1e5a1589fa8fe5dfeb27dd4
parentda77d9873f1632f2ec4b624e949c0270753fa465
Cycles: Add single channel texture support for OpenCL.

This way OpenCL devices can also benefit from a smaller memory footprint, when using e.g. bumpmaps (greyscale, 1 channel).

Additional target for my GSoC 2016.
intern/cycles/kernel/kernel_compat_cpu.h
intern/cycles/kernel/kernel_textures.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/render/image.cpp
intern/cycles/render/scene.h
intern/cycles/util/util_texture.h