Hi, I'm trying to share a texture between a Direct3D11 device running on the integrated Intel GPU and a Direct3D9 device standing on a discrete video card.
Scenario: Intel CPU + discrete Nvidia GPU physically connected to a monitor.
I'm able to create a Direct3D11 device relying on the Intel GPU to let MFX successfully perform the hardware decoding.
The decoded D3D11 textures must be rendered on the active “connected to a monitor” GPU, using a shared texture toward D3D9Ex (WPF D3DImage).
When I try to create the shared D3D9 texture I got:
SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: Parametro non corretto.
Of course the entire implementation works like a charm if I physically plug monitor on the Intel GPU (D3D9 + D3D11 on same GPU).
Thank you