Fix T40370: cycles CUDA baking timeout with high number of AA samples.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 6 Jun 2014 12:40:09 +0000 (14:40 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 6 Jun 2014 13:39:04 +0000 (15:39 +0200)
commite4e58d46128dc7fe4fb9b881d73b38173f00f5c3
treecc38ac39838bec84d28de396374ba022139a8aa2
parent553264ff8e20484d0b91bb468f56aa1b7144f7aa
Fix T40370: cycles CUDA baking timeout with high number of AA samples.

Now baking does one AA sample at a time, just like final render. There is
also some code for shader antialiasing that solves T40369 but it is disabled
for now because there may be unpredictable side effects.
17 files changed:
intern/cycles/blender/blender_session.cpp
intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_cuda.cpp
intern/cycles/device/device_opencl.cpp
intern/cycles/kernel/kernel.cl
intern/cycles/kernel/kernel.cpp
intern/cycles/kernel/kernel.cu
intern/cycles/kernel/kernel.h
intern/cycles/kernel/kernel_avx.cpp
intern/cycles/kernel/kernel_bake.h
intern/cycles/kernel/kernel_sse2.cpp
intern/cycles/kernel/kernel_sse3.cpp
intern/cycles/kernel/kernel_sse41.cpp
intern/cycles/render/bake.cpp
intern/cycles/render/bake.h
intern/cycles/render/light.cpp
intern/cycles/render/mesh_displace.cpp