Cycles: OpenCL tweaks
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 22 Nov 2011 13:15:19 +0000 (13:15 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 22 Nov 2011 13:15:19 +0000 (13:15 +0000)
commit47853bf6f6fa7ab4dc523fe255a8253b7ae9f914
tree8c968c8577dc88681b121501f87851d9eca35dab
parentc71e31eb4f814c1ef561ac5467af3c16efa02a0d
Cycles: OpenCL tweaks
* Reduce kernel arguments size, helps compile for apple nvidia.
* Fix use of unitialized variable in displace kernel.
* Use build flags in opencl kernel md5 hash.
* Reorganize code for kernel feature #defines a bit.
intern/cycles/device/device_opencl.cpp
intern/cycles/kernel/kernel.cl
intern/cycles/kernel/kernel_camera.h
intern/cycles/kernel/kernel_compat_cpu.h
intern/cycles/kernel/kernel_compat_cuda.h
intern/cycles/kernel/kernel_compat_opencl.h
intern/cycles/kernel/kernel_globals.h
intern/cycles/kernel/kernel_shader.h
intern/cycles/kernel/kernel_types.h
intern/cycles/render/filter.cpp