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:
authorThomas Dinges <dingto>2021-11-10 22:15:31 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-10 22:16:44 +0300
commite507a789b355a7f96ff01a83707d1a5cc306b0c5 (patch)
tree6493c7b9e1ec74272f11da7227ef9ab2bbcc677a /intern/cycles/device/hip
parent6b0008129e6370866808bd937161579a2cb5cb51 (diff)
Cycles: disable graphics interop for HIP devices
This is due to a driver bug, so disable it for now until it gets resolved in a future driver release. Ref T92972 Differential Revision: https://developer.blender.org/D13167
Diffstat (limited to 'intern/cycles/device/hip')
-rw-r--r--intern/cycles/device/hip/device_impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/device/hip/device_impl.cpp b/intern/cycles/device/hip/device_impl.cpp
index e8482772186..bb0573abf8d 100644
--- a/intern/cycles/device/hip/device_impl.cpp
+++ b/intern/cycles/device/hip/device_impl.cpp
@@ -1160,6 +1160,8 @@ bool HIPDevice::should_use_graphics_interop()
* possible, but from the empiric measurements it can be considerably slower than using naive
* pixels copy. */
+ /* Disable graphics interop for now, because of driver bug in 21.40. See T92972 */
+# if 0
HIPContextScope scope(this);
int num_all_devices = 0;
@@ -1178,6 +1180,7 @@ bool HIPDevice::should_use_graphics_interop()
return true;
}
}
+# endif
return false;
}