diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-29 18:56:27 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-01-30 02:23:06 +0300 |
commit | 9815f8a623d47c9a52aac8ac3a2bcc17d1c74b5e (patch) | |
tree | c42a1bbdd4f070802932bce88c11be8c8732b930 /intern/cycles/kernel/CMakeLists.txt | |
parent | fef53c74b5520fe6404d581a3c15fad4177f29b7 (diff) |
Cycles: Cleanup of OpenCL split kernel routines
The idea is to switch from allocating separate buffers for shader data's
structure of arrays to allocating one huge memory block and do some index
trickery to make it accessed as SOA.
This saves quite reasonable amount of lines of code in device_opencl and
also makes it possible to get rid of special declaration of ShaderData
structure.
As a side effect it also makes it easier to experiment with SOA vs. AOS
for split kernel.
Works fine here on NVidia GTX580, Intel CPU amd AMD Fiji cards.
Reviewers: #cycles, brecht, juicyfruit, dingto
Differential Revision: https://developer.blender.org/D1593
Diffstat (limited to 'intern/cycles/kernel/CMakeLists.txt')
-rw-r--r-- | intern/cycles/kernel/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/cycles/kernel/CMakeLists.txt b/intern/cycles/kernel/CMakeLists.txt index 5249416e838..b5b0b1f3fae 100644 --- a/intern/cycles/kernel/CMakeLists.txt +++ b/intern/cycles/kernel/CMakeLists.txt @@ -55,7 +55,6 @@ set(SRC_HEADERS kernel_queues.h kernel_random.h kernel_shader.h - kernel_shaderdata_vars.h kernel_shadow.h kernel_subsurface.h kernel_textures.h |