Cycles: Add support for bindless textures.
[blender.git] / intern / cycles / device / device_multi.cpp
index 6141f9af50f80a53a694b5d1af1e1f0b24e91937..434d0085d39333377d0c1ec94769794c783a1e90 100644 (file)
@@ -352,7 +352,7 @@ static bool device_multi_add(vector<DeviceInfo>& devices, DeviceType type, bool
 
        info.advanced_shading = with_advanced_shading;
        info.pack_images = false;
-       info.extended_images = true;
+       info.has_bindless_textures = true;
 
        foreach(DeviceInfo& subinfo, devices) {
                if(subinfo.type == type) {
@@ -376,7 +376,7 @@ static bool device_multi_add(vector<DeviceInfo>& devices, DeviceType type, bool
                        if(subinfo.display_device)
                                info.display_device = true;
                        info.pack_images = info.pack_images || subinfo.pack_images;
-                       info.extended_images = info.extended_images && subinfo.extended_images;
+                       info.has_bindless_textures = info.has_bindless_textures && subinfo.has_bindless_textures;
                        num_added++;
                }
        }