diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-03-29 16:03:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-03-29 16:03:48 +0400 |
commit | a2e4ebd36a319dc18f362b1f75863b8ee93eed7d (patch) | |
tree | bcf041e53375766661de3d0a199930369b3d1466 /intern/cycles/device/device_network.h | |
parent | 07d1fba3676c950b0cc3ab1dfb1f2de614c62697 (diff) |
Cycles code internals: add CPU kernel support for 3D image textures.
Diffstat (limited to 'intern/cycles/device/device_network.h')
-rw-r--r-- | intern/cycles/device/device_network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_network.h b/intern/cycles/device/device_network.h index bf8f3c70c49..8596b61b179 100644 --- a/intern/cycles/device/device_network.h +++ b/intern/cycles/device/device_network.h @@ -118,7 +118,7 @@ public: void add(const device_memory& mem) { archive & mem.data_type & mem.data_elements & mem.data_size; - archive & mem.data_width & mem.data_height & mem.device_pointer; + archive & mem.data_width & mem.data_height & mem.data_depth & mem.device_pointer; } template<typename T> void add(const T& data) @@ -261,7 +261,7 @@ public: void read(network_device_memory& mem) { *archive & mem.data_type & mem.data_elements & mem.data_size; - *archive & mem.data_width & mem.data_height & mem.device_pointer; + *archive & mem.data_width & mem.data_height & mem.data_depth & mem.device_pointer; mem.data_pointer = 0; } |