Implementing D3D12 renderer -> Iterating over IDXGIAdapter1 return DXGI_ERROR_DEVICE_RESET
Hello.
We are implementing a plugin that use GPU for it's internal rendering, So far, we implemented succesfully OpenGL and D3D11 renderers.
currently in the process of implementing the D3D12 renderer, while iterating over the different adapters (like described here:https://docs.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-d3d12createdevice ), we stumble upon a DXGI_ERROR_DEVICE_RESET that block us from getting the device.
After a quick talk with the DirectX12 guys, they stated that:
Direct3D 12 devices are singletons per adapter. If a Direct3D 12 device already exists in the current process for a given adapter, then a subsequent call to D3D12CreateDevice returns the existing device.
If the current Direct3D 12 device is in a removed state, then D3D12CreateDevice fails instead of returning the existing device.
Is there any internal query of After Effects to D3D12 Device that could cause this state ?
Tested on two different computers (one AMD; one NVidia GPU) with Adobe After Effects v18.2 - Both with no additional plugins.
