Fix T54001: AMD OpenCL fails with certain resolutions, after recent changes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 5 Feb 2018 21:13:08 +0000 (22:13 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 5 Feb 2018 21:19:49 +0000 (22:19 +0100)
commitce3e0afe5971fbd75e314714f7bcfa79fedcbe7b
tree81c5e1cb7ad943c09fbda42e21d6664d6e4b5027
parentbd9ed0228b8455167a404c11121f0d4d46e4c689
Fix T54001: AMD OpenCL fails with certain resolutions, after recent changes.

We should actually be using CL_DEVICE_MEM_BASE_ADDR_ALIGN for sub buffers,
previous change in this code was incorrect. Renamed the function now to
make the specific purpose of this alignment clear, it's not required for
data types in general.
intern/cycles/device/device.h
intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_denoising.cpp
intern/cycles/device/opencl/opencl.h
intern/cycles/device/opencl/opencl_base.cpp
intern/cycles/device/opencl/opencl_util.cpp