Blender Git Commit Log

Git Commits -> Revision 5ac7ef8

Revision 5ac7ef8 by Thomas Dinges (master)
August 11, 2016, 20:30 (GMT)
Cycles: Change code order for Image Data Types.

Now we have the 4 component ones first (float4, byte4, half4) followed by the 1 component ones (float, byte, half).
Makes code a bit more consistent and also reduces code a bit when enabling half support on GPU in next commit.

This also exposed a typo in half CPU images for 3D textures, which wasn't used yet, but good to have that one fixed anyway.

Commit Details:

Full Hash: 5ac7ef873b7b5895b3482387ba05168e694c6525
Parent Commit: 3aed54d
Lines Changed: +36, -36

5 Modified Paths:

/intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h (+7, -7) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+1, -1) (Diff)
/intern/cycles/render/image.cpp (+5, -5) (Diff)
/intern/cycles/render/image.h (+3, -3) (Diff)
/intern/cycles/util/util_texture.h (+20, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021