[PATCH 10/10] d3d8: Introduce a helper to convert d3d8 primitive types to wined3d types.