Blender Git Commit Log

Git Commits -> Revision 23098cd

Revision 23098cd by Brecht Van Lommel (master)
October 7, 2017, 12:53 (GMT)
Code refactor: make texture code more consistent between devices.

* Use common TextureInfo struct for all devices, except CUDA fermi.
* Move image sampling code to kernels/*/kernel_*_image.h files.
* Use arrays for data textures on Fermi too, so device_vector<Struct> works.

Commit Details:

Full Hash: 23098cda9936d785988b689ee69e58e900f17cb2
Parent Commit: d013b56
Lines Changed: +1146, -1323

2 Added Paths:

/intern/cycles/kernel/kernels/cuda/kernel_cuda_image.h (+175, -0) (View)
/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h (+229, -0) (View)

1 Deleted Path:

/intern/cycles/kernel/kernel_image_opencl.h (+0, -252)

23 Modified Paths:

/intern/cycles/device/device.h (+1, -0) (Diff)
/intern/cycles/device/device_cpu.cpp (+60, -8) (Diff)
/intern/cycles/device/device_cuda.cpp (+66, -76) (Diff)
/intern/cycles/device/opencl/opencl.h (+3, -8) (Diff)
/intern/cycles/device/opencl/opencl_base.cpp (+18, -35) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+2, -8) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+3, -1) (Diff)
/intern/cycles/kernel/geom/geom_volume.h (+6, -36) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel.cpp (+4, -118) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h (+459, -29) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel.cu (+1, -0) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel.cl (+1, -1) (Diff)
/intern/cycles/kernel/kernel_compat_cpu.h (+1, -448) (Diff)
/intern/cycles/kernel/kernel_compat_cuda.h (+7, -33) (Diff)
/intern/cycles/kernel/kernel_compat_opencl.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_globals.h (+7, -24) (Diff)
/intern/cycles/kernel/kernel_textures.h (+40, -43) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+2, -2) (Diff)
/intern/cycles/kernel/split/kernel_split_common.h (+4, -1) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+0, -128) (Diff)
/intern/cycles/kernel/svm/svm_voxel.h (+2, -23) (Diff)
/intern/cycles/util/util_texture.h (+54, -2) (Diff)
/intern/cycles/util/util_types.h (+0, -46) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021