Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorMartijn Berger <martijn.berger@gmail.com>2014-03-19 10:36:34 +0400
committerMartijn Berger <martijn.berger@gmail.com>2014-03-19 10:37:18 +0400
commit28c1a860e20085afa49ecd79777f45e93a8eebff (patch)
tree4e4de131deb514e2aaf6870a01936758f6594fca /intern
parenta91247c2b4702cbdd423fb5526c2f5a8d04c65d8 (diff)
Fix T39247
Changes to interpolation break texture allocation on sm35 and greater.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/device/device_cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index 5133a5c9fea..f3f6344521b 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -457,7 +457,7 @@ public:
CUarray_format_enum format;
size_t dsize = datatype_size(mem.data_type);
size_t size = mem.memory_size();
- bool use_texture = interpolation || use_texture_storage;
+ bool use_texture = (interpolation != INTERPOLATION_NONE) || use_texture_storage;
if(use_texture) {