forked from bartvdbraak/blender
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.
This commit is contained in:
parent
48ea173a7d
commit
58ea0d93f1
@ -1558,7 +1558,7 @@ void device_optix_info(vector<DeviceInfo> &devices)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Only add devices with RTX support
|
// Only add devices with RTX support
|
||||||
if (rtcore_version == 0)
|
if (rtcore_version == 0 && !getenv("CYCLES_OPTIX_TEST"))
|
||||||
it = cuda_devices.erase(it);
|
it = cuda_devices.erase(it);
|
||||||
else
|
else
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
Reference in New Issue
Block a user