wined3d: Add separate methods for setting the primitive type.