Blender Git Commit Log

Git Commits -> Revision 557544f

Revision 557544f by Thomas Dinges (master)
April 16, 2016, 18:49 (GMT)
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

Commit Details:

Full Hash: 557544f2c452303ff4b4d3af96551841e4d79040
Parent Commit: b973911
Lines Changed: +69, -55

6 Modified Paths:

/intern/cycles/kernel/svm/svm_image.h (+9, -6) (Diff)
/intern/cycles/render/image.cpp (+36, -21) (Diff)
/intern/cycles/render/image.h (+2, -3) (Diff)
/intern/cycles/render/scene.cpp (+1, -4) (Diff)
/intern/cycles/render/scene.h (+2, -2) (Diff)
/intern/cycles/util/util_texture.h (+19, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021