Cycles:
authorThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:10:14 +0000 (17:10 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 21 Feb 2013 17:10:14 +0000 (17:10 +0000)
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.

intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_network.cpp

index c2ba91faf69d8e4bd53533dc02416828934e4ce8..47f3273fdfaee8f5a0952e38a2f36f53a84438ed 100644 (file)
@@ -67,11 +67,6 @@ public:
                task_pool.stop();
        }
 
-       bool support_advanced_shading()
-       {
-               return true;
-       }
-
        void mem_alloc(device_memory& mem, MemoryType type)
        {
                mem.device_pointer = mem.data_pointer;
index f5545c3dfdfc6e1a92222fc65ff82ee6f368917e..201f04bc5d8bff6c1da2bc744a38480c5d621f5a 100644 (file)
@@ -222,11 +222,6 @@ public:
                RPCSend snd(socket, "task_cancel");
                snd.write();
        }
-
-       bool support_advanced_shading()
-       {
-               return true; /* todo: get this info from device */
-       }
 };
 
 Device *device_network_create(DeviceInfo& info, Stats &stats, const char *address)
@@ -242,6 +237,8 @@ void device_network_info(vector<DeviceInfo>& devices)
        info.description = "Network Device";
        info.id = "NETWORK";
        info.num = 0;
+       info.advanced_shading = true; /* todo: get this info from device */
+       info.pack_images = false;
 
        devices.push_back(info);
 }