forked from bartvdbraak/blender
Fix T39247
Changes to interpolation break texture allocation on sm35 and greater.
This commit is contained in:
parent
a91247c2b4
commit
28c1a860e2
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user