[PATCH v4 5/6] d3dx9: Factor out mesh_get_parse_func().