From cdb0b3b1dcd4e9962426422868b2f40535670a5c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Oct 2017 04:32:25 +0200 Subject: Code refactor: use DeviceInfo to enable QBVH and decoupled volume shading. --- intern/cycles/device/device_cuda.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/device/device_cuda.cpp') diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index dcbe6033bcc..56a56c5217c 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -2128,6 +2128,8 @@ void device_cuda_info(vector& devices) info.advanced_shading = (major >= 2); info.has_bindless_textures = (major >= 3); + info.has_volume_decoupled = false; + info.has_qbvh = false; int pci_location[3] = {0, 0, 0}; cuDeviceGetAttribute(&pci_location[0], CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID, num); -- cgit v1.2.3