diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-03-29 23:58:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-03-30 01:00:17 +0300 |
commit | 91c44fe88547ee4e4d78858d816068876a3db3c4 (patch) | |
tree | 180184d9513021b34c5c8e7e5587e442be5a05e8 /intern/cycles/device/device.h | |
parent | 661e6e096648bec6d696853b8e5f50dbb1a38472 (diff) |
Cycles: disable NanoVDB for AMD OpenCL
It is causing issue with AMD OpenCL drivers, due to a potential driver bug.
Ref T84461
Diffstat (limited to 'intern/cycles/device/device.h')
-rw-r--r-- | intern/cycles/device/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h index 0a731969c79..b5468248e5a 100644 --- a/intern/cycles/device/device.h +++ b/intern/cycles/device/device.h @@ -78,6 +78,7 @@ class DeviceInfo { int num; bool display_device; /* GPU is used as a display device. */ bool has_half_images; /* Support half-float textures. */ + bool has_nanovdb; /* Support NanoVDB volumes. */ bool has_volume_decoupled; /* Decoupled volume shading. */ bool has_branched_path; /* Supports branched path tracing. */ bool has_adaptive_stop_per_sample; /* Per-sample adaptive sampling stopping. */ @@ -99,6 +100,7 @@ class DeviceInfo { cpu_threads = 0; display_device = false; has_half_images = false; + has_nanovdb = false; has_volume_decoupled = false; has_branched_path = true; has_adaptive_stop_per_sample = false; |