blender/intern/cycles/kernel/kernels
Thomas Dinges 4a4f043bc4 Cycles: Add support for single channel float textures on CPU.
Until now, single channel textures were packed into a float4, wasting 3 floats per pixel. Memory usage of such textures is now reduced by 3/4.
Voxel Attributes such as density, flame and heat benefit from this, but also Bumpmaps with one channel.
This commit also includes some cleanup and code deduplication for image loading.

Example Smoke render from Cosmos Laundromat: http://www.pasteall.org/pic/show.php?id=102972
Memory here went down from ~600MB to ~300MB.

Reviewers: #cycles, brecht

Differential Revision: https://developer.blender.org/D1981
2016-05-11 21:58:34 +02:00
..
cpu Cycles: Add support for single channel float textures on CPU. 2016-05-11 21:58:34 +02:00
cuda Some fixes for CUDA runtime compile: 2016-05-06 23:13:33 +02:00
opencl Cycles: Cleanup, indent nested preprocessor directives 2016-03-25 13:55:42 +01:00