Search code examples
windows-10-mobiledirect3d12

Is Direct3D 12 supported on Windows 10 Mobile (phone)?


Is Direct3D 12 supported on Windows 10 Mobile (phone)? I've recently upgrade my personal project to Direct3D 12 under the impression that it runs on all versions of Windows 10 Universal Apps. My phone ran my old Direct3D 11.1 code just fine, but D3D12CreateDevice() fails with the error that the specified feature level (11_0, 11_1, 12_0, or 12_1) or interface (ID3D12Device) is not supported. Am I doing something wrong, or is D3D12 really not supported on phones? If it isn't supported, will it ever be? I don't mind just developing on PC for now, but I'd rather know now it will never be supported.


Solution

  • https://msdn.microsoft.com/en-us/library/windows/desktop/dn899228(v=vs.85).aspx says:

    Direct3D 12 provides four main benefits [...], and cross-platform development for a Windows 10 device (PC, tablet, console or phone).

    https://msdn.microsoft.com/en-us/library/windows/desktop/dn899118(v=vs.85).aspx says:

    To program with Direct3D 12, you need these components:

    A hardware platform with a Direct3D 12-compatible GPU

    Display drivers that support the Windows Display Driver Model (WDDM) 2.0