add d3d10 support