diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-28 16:08:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-28 16:08:54 +0300 |
commit | 407fd66d0a2e62eece8c03a2403d1288abbfd9be (patch) | |
tree | 5fea2e85247d7b6f56671cfada334cde9bccfaa1 /intern/cycles/render/image.h | |
parent | 0f339a748eff50317589b45e9b4f3c286ca18f91 (diff) |
Cycles: Cleanup, de-duplicate image packing of various types
Diffstat (limited to 'intern/cycles/render/image.h')
-rw-r--r-- | intern/cycles/render/image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/render/image.h b/intern/cycles/render/image.h index 76c2cc46f12..0d457c144fe 100644 --- a/intern/cycles/render/image.h +++ b/intern/cycles/render/image.h @@ -151,6 +151,13 @@ private: ImageDataType type, int slot); + template<typename T> + void device_pack_images_type( + ImageDataType type, + const vector<device_vector<T>*>& cpu_textures, + device_vector<T> *device_image, + uint4 *info); + void device_pack_images(Device *device, DeviceScene *dscene, Progress& progess); |