wined3d: Added further Nvidia Geforce 8xxx detection.
Aaron Brazener
rnbrznr at googlemail.com
Wed Dec 30 06:02:35 CST 2009
The attached patch is to add the missing PCI device information for
the Nvidia 8xxx series of cards.
-------------- next part --------------
From d136042fc854f74983cb2f51207e02ebf2ad19c8 Mon Sep 17 00:00:00 2001
From: Aaron Brazener <rnbrznr at gmail.com>
Date: Wed, 30 Dec 2009 11:30:45 +0000
Subject: wined3d: Added further Nvidia Geforce 8xxx detection.
---
dlls/wined3d/directx.c | 4 +++-
dlls/wined3d/wined3d_private.h | 18 ++++++++++++++++--
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 713a349..f9bc752 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1288,7 +1288,9 @@ static enum wined3d_pci_device wined3d_guess_card(const struct wined3d_gl_info *
}
/* Geforce8 - lowend */
- if (strstr(gl_renderer, "8300")
+ if (strstr(gl_renderer, "8100")
+ || strstr(gl_renderer, "8200")
+ || strstr(gl_renderer, "8300")
|| strstr(gl_renderer, "8400")
|| strstr(gl_renderer, "8500"))
{
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index b0c2804..31c2cd3 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1297,10 +1297,24 @@ enum wined3d_pci_device
CARD_NVIDIA_GEFORCE_7300 = 0x01d7, /* GeForce Go 7300 */
CARD_NVIDIA_GEFORCE_7600 = 0x0391,
CARD_NVIDIA_GEFORCE_7800GT = 0x0092,
- CARD_NVIDIA_GEFORCE_8300GS = 0x0423,
- CARD_NVIDIA_GEFORCE_8600GT = 0x0402,
+ CARD_NVIDIA_GEFORCE_8100 = 0x084F,
+ CARD_NVIDIA_GEFORCE_8200 = 0x0849, /* Other PCI ID 0x084B */
+ CARD_NVIDIA_GEFORCE_8300 = 0x0448,
+ CARD_NVIDIA_GEFORCE_8300GS = 0x0423, /* Other PCI ID 0x0406 */
+ CARD_NVIDIA_GEFORCE_8400 = 0x06E2,
+ CARD_NVIDIA_GEFORCE_8400GS = 0x0404, /* Other PCI IDs 0x0404, 0x0422, 0x0424, 0x06E4 */
+ CARD_NVIDIA_GEFORCE_8400SE = 0x0420, /* Other PCI ID 0x06E3 */
+ CARD_NVIDIA_GEFORCE_8500GT = 0x0421,
+ CARD_NVIDIA_GEFORCE_8600GT = 0x0402, /* Other PCI ID 0x0401 */
CARD_NVIDIA_GEFORCE_8600MGT = 0x0407,
+ CARD_NVIDIA_GEFORCE_8600GTS = 0x0400,
+ CARD_NVIDIA_GEFORCE_8600GS = 0x0403,
+ CARD_NVIDIA_GEFORCE_8800GS = 0x0606,
+ CARD_NVIDIA_GEFORCE_8800GT = 0x0602, /* Other PCI ID 0x0611 */
CARD_NVIDIA_GEFORCE_8800GTS = 0x0193,
+ CARD_NVIDIA_GEFORCE_8800GTS512 = 0x0600,
+ CARD_NVIDIA_GEFORCE_8800GTX = 0x0191,
+ CARD_NVIDIA_GEFORCE_8800ULTRA = 0x0194,
CARD_NVIDIA_GEFORCE_9200 = 0x086d,
CARD_NVIDIA_GEFORCE_9400GT = 0x042c,
CARD_NVIDIA_GEFORCE_9500GT = 0x0640,
--
1.6.3.3
More information about the wine-patches
mailing list