[PATCH v2] d3dx10: Introduce get_d3dx10_dds_format().