diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs b/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs index 5df13dbd..e9270de3 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.GetDevice.cs @@ -49,8 +49,16 @@ partial class GraphicsDevice /// /// A sequence of instances. /// + /// /// Creating a device is a relatively expensive operation, so consider using to be /// able to filter the existing adapters before creating a device from them, to reduce the system overhead. + /// + /// + /// This method might enumerate discrete graphics devices multiple times (with different values) when using + /// RDP + /// to connect to a different Windows machine. This is the expected behavior and matches what the underlying DirectX APIs report + /// when enumerating graphics adaptors in this specific scenario. + /// /// public static IEnumerable EnumerateDevices() { @@ -63,10 +71,18 @@ partial class GraphicsDevice /// The predicate to use to select the devices to create. /// A sequence of instances matching . /// + /// /// Note that only devices matching the minimum necessary feature level will actually be instantiated and returned. /// This means that might not actually be used to match against all existing adapters on /// the current system, if any of them doesn't meet the minimum criteria, and that additional filtering might be done /// after the input predicate is invoked, so a match doesn't necessarily guarantee that that device will be returned. + /// + /// + /// Just like , this method might enumerate discrete graphics devices multiple times when using + /// RDP + /// to connect to a different Windows machine. This is the expected behavior and matches what the underlying DirectX APIs report + /// when enumerating graphics adaptors in this specific scenario. + /// /// public static IEnumerable QueryDevices(Predicate predicate) {