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:
authorRay Molenkamp <github@lazydodo.com>2020-03-26 20:30:17 +0300
committerRay Molenkamp <github@lazydodo.com>2020-03-26 20:30:17 +0300
commit58ea0d93f193adf84162d736c3c69500584e1aef (patch)
treee7d10a32122fe6171feea9330c0500370f778d18 /intern/cycles/device
parent48ea173a7dbf9fb3678692b12909973854932c60 (diff)
Cycles/Optix: Add CYCLES_OPTIX_TEST override
This works similarly to the CYCLES_OPENCL_TEST environment variable to allow testing on unsupported hardware. Note: like the OPENCL test override, this is for *testing* only and bug reports on unsupported hardware will *not* be accepted at this point in time.
Diffstat (limited to 'intern/cycles/device')
-rw-r--r--intern/cycles/device/device_optix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device_optix.cpp b/intern/cycles/device/device_optix.cpp
index c23732839b6..42d7b00314c 100644
--- a/intern/cycles/device/device_optix.cpp
+++ b/intern/cycles/device/device_optix.cpp
@@ -1558,7 +1558,7 @@ void device_optix_info(vector<DeviceInfo> &devices)
}
// Only add devices with RTX support
- if (rtcore_version == 0)
+ if (rtcore_version == 0 && !getenv("CYCLES_OPTIX_TEST"))
it = cuda_devices.erase(it);
else
++it;