From e507a789b355a7f96ff01a83707d1a5cc306b0c5 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Wed, 10 Nov 2021 20:15:31 +0100 Subject: 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 --- intern/cycles/device/hip/device_impl.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/cycles/device') 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; } -- cgit v1.2.3