Chip Davis : d3d8: Introduce a helper to convert d3d8 primitive types to wined3d types.