Cycles:
* Code cleanup, remove deprecated support_advanced_shading() functions. Left over from r43734.
This commit is contained in:
@@ -67,11 +67,6 @@ public:
|
|||||||
task_pool.stop();
|
task_pool.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool support_advanced_shading()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void mem_alloc(device_memory& mem, MemoryType type)
|
void mem_alloc(device_memory& mem, MemoryType type)
|
||||||
{
|
{
|
||||||
mem.device_pointer = mem.data_pointer;
|
mem.device_pointer = mem.data_pointer;
|
||||||
|
@@ -222,11 +222,6 @@ public:
|
|||||||
RPCSend snd(socket, "task_cancel");
|
RPCSend snd(socket, "task_cancel");
|
||||||
snd.write();
|
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)
|
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.description = "Network Device";
|
||||||
info.id = "NETWORK";
|
info.id = "NETWORK";
|
||||||
info.num = 0;
|
info.num = 0;
|
||||||
|
info.advanced_shading = true; /* todo: get this info from device */
|
||||||
|
info.pack_images = false;
|
||||||
|
|
||||||
devices.push_back(info);
|
devices.push_back(info);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user