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:
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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue