improvements to d3d11 backend