diff options
author | Thomas Dinges <blender@dingto.org> | 2016-04-16 21:48:33 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-04-16 21:49:59 +0300 |
commit | 557544f2c452303ff4b4d3af96551841e4d79040 (patch) | |
tree | 06e0409ce904eecda37a6784977d652087c34afc /intern/cycles/kernel/kernel_compat_cpu.h | |
parent | b973911feeec1bf487b35245005406fb32018cbf (diff) |
Cycles: Refactor Image Texture limits.
Instead of treating Fermi GPU limits as default,
and overriding them for other devices,
we now nicely set them for each platform.
* Due to setting values for all platforms,
we don't have to offset the slot id for OpenCL anymore,
as the image manager wont add float images for OpenCL now.
* Bugfix: TEX_NUM_FLOAT_IMAGES was always 5, even for CPU,
so the code in svm_image.h clamped float textures with alpha on CPU after the 5th slot.
Reviewers: #cycles, brecht
Reviewed By: #cycles, brecht
Subscribers: brecht
Differential Revision: https://developer.blender.org/D1925
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_cpu.h')
0 files changed, 0 insertions, 0 deletions