[PATCH 5/5] wined3d: add legacy ATI cards

Roderick Colenbrander thunderbird2k at gmail.com
Mon Aug 16 20:52:44 CDT 2010


---
 dlls/wined3d/directx.c         |   15 ++++++++++++---
 dlls/wined3d/wined3d_private.h |    2 ++
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 7f36461..f26235e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -996,9 +996,15 @@ static const struct driver_version_information driver_version_table[] =
 {
     /* ATI
      * - Radeon HD2x00 (R600) and up supported by current drivers.
-     * - Radeon 9500 (R300) - X1*00 (R5xx) supported upto Catalyst 9.3 (Linux) and 10.2 (XP/Vista/Win7) */
+     * - Radeon 9500 (R300) - X1*00 (R5xx) supported upto Catalyst 9.3 (Linux) and 10.2 (XP/Vista/Win7)
+     * - Radeon 7xxx (R100) - 9250 (RV250) supported upto Catalyst 6.11 (XP)
+     * - Rage 128 supported upto XP, latest official build 6.13.3279 dated October 2001 */
+    {DRIVER_ATI_RAGE_128PRO,    5,  0,  "ati2dvaa.dll", 6,  13, 3279,  0},
+    {DRIVER_ATI_R100,           5,  0,  "ati2dvag.dll", 6,  14, 10, 6614},
     {DRIVER_ATI_R300,           5,  0,  "ati2dvag.dll", 6,  14, 10, 6764},
     {DRIVER_ATI_R600,           5,  0,  "ati2dvag.dll", 6,  14, 10, 8681},
+    {DRIVER_ATI_RAGE_128PRO,    5,  0,  "ati2dvaa.dll", 6,  13, 3279,  0},
+    {DRIVER_ATI_R100,           5,  1,  "ati2dvag.dll", 6,  14, 10, 6614},
     {DRIVER_ATI_R300,           5,  1,  "ati2dvag.dll", 6,  14, 10, 6764},
     {DRIVER_ATI_R600,           5,  1,  "ati2dvag.dll", 6,  14, 10, 8681},
     {DRIVER_ATI_R300,           6,  0,  "atiumdag.dll", 7,  14, 10, 741 },
@@ -1097,8 +1103,13 @@ static const struct gpu_description gpu_description_table[] =
     {HW_VENDOR_NVIDIA,     CARD_NVIDIA_GEFORCE_GTS350M,    "NVIDIA GeForce GTS 350M",          DRIVER_NVIDIA_GEFORCE6   },
     {HW_VENDOR_NVIDIA,     CARD_NVIDIA_GEFORCE_GTX470,     "NVIDIA GeForce GTX 470",           DRIVER_NVIDIA_GEFORCE6   },
     {HW_VENDOR_NVIDIA,     CARD_NVIDIA_GEFORCE_GTX480,     "NVIDIA GeForce GTX 480",           DRIVER_NVIDIA_GEFORCE6   },
+
     /* ATI cards */
+    {HW_VENDOR_ATI,        CARD_ATI_RAGE_128PRO,           "ATI Rage Fury",                    DRIVER_ATI_RAGE_128PRO,  },
+    {HW_VENDOR_ATI,        CARD_ATI_RADEON_7200,           "ATI RADEON 7200 SERIES",           DRIVER_ATI_R100,         },
+    {HW_VENDOR_ATI,        CARD_ATI_RADEON_8500,           "ATI RADEON 8500 SERIES",           DRIVER_ATI_R100,         },
     {HW_VENDOR_ATI,        CARD_ATI_RADEON_9500,           "ATI Radeon 9500",                  DRIVER_ATI_R300,         },
+    {HW_VENDOR_ATI,        CARD_ATI_RADEON_XPRESS_200M,    "ATI RADEON XPRESS 200M Series",    DRIVER_ATI_R300,         },
     {HW_VENDOR_ATI,        CARD_ATI_RADEON_X700,           "ATI Radeon X700 SE",               DRIVER_ATI_R300,         },
     {HW_VENDOR_ATI,        CARD_ATI_RADEON_X1600,          "ATI Radeon X1600 Series",          DRIVER_ATI_R300,         },
     {HW_VENDOR_ATI,        CARD_ATI_RADEON_HD2350,         "ATI Mobility Radeon HD 2350",      DRIVER_ATI_R600,         },
@@ -1119,8 +1130,6 @@ static const struct gpu_description gpu_description_table[] =
     {HW_VENDOR_INTEL,      CARD_INTEL_I915GM,              "Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family",   DRIVER_INTEL_GMA900  },
     {HW_VENDOR_INTEL,      CARD_INTEL_I945GM,              "Mobile Intel(R) 945GM Express Chipset Family",              DRIVER_INTEL_GMA950  },
     {HW_VENDOR_INTEL,      CARD_INTEL_X3100,               "Mobile Intel(R) 965 Express Chipset Family",                DRIVER_INTEL_GMA3000 }
-
-    /* TODO: Add information about legacy ATI hardware and other cards. */
 };
 
 static void init_driver_info(struct wined3d_driver_info *driver_info,
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 6a6978b..c811419 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1230,6 +1230,8 @@ typedef struct WineD3D_PixelFormat
  * R3xx, R4xx and R5xx GPUs. */
 enum wined3d_display_driver
 {
+    DRIVER_ATI_RAGE_128PRO,
+    DRIVER_ATI_R100,
     DRIVER_ATI_R300,
     DRIVER_ATI_R600,
     DRIVER_INTEL_GMA800,
-- 
1.7.0.4




More information about the wine-patches mailing list