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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-26 23:07:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-01-26 23:07:01 +0400
commit803286dde8dd9594a6a8c9e1ed154863934da295 (patch)
treef04c73fd252d79ad73340b59d89c30c40bc58f20 /intern/cycles/device/device_opencl.cpp
parent4514a4455be89bc0a789d78355321abe6cfd5112 (diff)
Cycles: render passes for CUDA cards with compute model >= 2.x.
Diffstat (limited to 'intern/cycles/device/device_opencl.cpp')
-rw-r--r--intern/cycles/device/device_opencl.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index ccfd8544362..9a55f957895 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -453,20 +453,6 @@ public:
clReleaseContext(cxContext);
}
- bool support_full_kernel()
- {
- return false;
- }
-
- string description()
- {
- char name[1024];
-
- clGetDeviceInfo(cdDevice, CL_DEVICE_NAME, sizeof(name), &name, NULL);
-
- return string("OpenCL ") + name;
- }
-
void mem_alloc(device_memory& mem, MemoryType type)
{
size_t size = mem.memory_size();
@@ -750,6 +736,7 @@ void device_opencl_info(vector<DeviceInfo>& devices)
info.num = num;
/* we don't know if it's used for display, but assume it is */
info.display_device = true;
+ info.advanced_shading = false;
devices.push_back(info);
}