shadow: improve DXGI support