[PATCH v2 1/5] wined3d: Introduce wined3d_device_check_format_support().