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
This commit is contained in:
Thomas Dinges 2021-11-10 20:15:31 +01:00 committed by Brecht Van Lommel
parent 6b0008129e
commit e507a789b3
Notes: blender-bot 2023-02-14 05:59:31 +01:00
Referenced by issue #92972, Cycles HIP graphics interop issue on AMD 5500 XT and Windows
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}