diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-03-26 20:30:17 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-03-26 20:30:17 +0300 |
commit | 58ea0d93f193adf84162d736c3c69500584e1aef (patch) | |
tree | e7d10a32122fe6171feea9330c0500370f778d18 /intern/cycles | |
parent | 48ea173a7dbf9fb3678692b12909973854932c60 (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')
-rw-r--r-- | intern/cycles/device/device_optix.cpp | 2 |
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; |