Cycles: Metal graphics interop

This is trivial with unified memory, and avoids one memory copy.

Pull Request: https://projects.blender.org/blender/blender/pulls/137363
This commit is contained in:
Brecht Van Lommel
2025-04-14 14:06:58 +02:00
parent b174e5f0d1
commit ecd54ba4e4
12 changed files with 118 additions and 7 deletions

View File

@@ -1122,6 +1122,7 @@ bool CUDADevice::should_use_graphics_interop(const GraphicsInteropDevice &intero
return found;
}
case GraphicsInteropDevice::METAL:
case GraphicsInteropDevice::NONE: {
return false;
}