wined3d: Update NVidia pci ids.
This commit is contained in:
parent
ef385d2e7a
commit
a932fdcb2f
|
@ -1088,13 +1088,29 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
|||
* shader capabilities, so we use the shader capabilities to distinguish between FX and 6xxx/7xxx.
|
||||
*/
|
||||
if(WINE_D3D9_CAPABLE(gl_info) && (gl_info->vs_nv_version == VS_VERSION_30)) {
|
||||
/* Geforce GTX - highend */
|
||||
if(strstr(gl_info->gl_renderer, "GTX 280")) {
|
||||
/* Geforce 200 - highend */
|
||||
if(strstr(gl_info->gl_renderer, "GTX 280") ||
|
||||
strstr(gl_info->gl_renderer, "GTX 285") ||
|
||||
strstr(gl_info->gl_renderer, "GTX 295"))
|
||||
{
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_GTX280;
|
||||
vidmem = 1024;
|
||||
}
|
||||
/* Geforce9 - highend */
|
||||
else if(strstr(gl_info->gl_renderer, "9800")) {
|
||||
/* Geforce 200 - midend high */
|
||||
if(strstr(gl_info->gl_renderer, "GTX 275")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_GTX275;
|
||||
vidmem = 896;
|
||||
}
|
||||
/* Geforce 200 - midend */
|
||||
if(strstr(gl_info->gl_renderer, "GTX 260")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_GTX260;
|
||||
vidmem = 1024;
|
||||
}
|
||||
/* Geforce9 - highend / Geforce 200 - midend (GTS 150/250 are based on the same core) */
|
||||
else if(strstr(gl_info->gl_renderer, "9800") ||
|
||||
strstr(gl_info->gl_renderer, "GTS 150") ||
|
||||
strstr(gl_info->gl_renderer, "GTS 250"))
|
||||
{
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9800GT;
|
||||
vidmem = 512;
|
||||
}
|
||||
|
@ -1103,6 +1119,28 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
|||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9600GT;
|
||||
vidmem = 384; /* The 9600GSO has 384MB, the 9600GT has 512-1024MB */
|
||||
}
|
||||
/* Geforce9 - midend low / Geforce 200 - low*/
|
||||
else if(strstr(gl_info->gl_renderer, "9500") ||
|
||||
strstr(gl_info->gl_renderer, "GT 120") ||
|
||||
strstr(gl_info->gl_renderer, "GT 130"))
|
||||
{
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9500GT;
|
||||
vidmem = 256; /* The 9500GT has 256-1024MB */
|
||||
}
|
||||
/* Geforce9 - lowend */
|
||||
else if(strstr(gl_info->gl_renderer, "9400")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9400GT;
|
||||
vidmem = 256; /* The 9400GT has 256-1024MB */
|
||||
}
|
||||
/* Geforce9 - lowend low */
|
||||
else if(strstr(gl_info->gl_renderer, "9100") ||
|
||||
strstr(gl_info->gl_renderer, "9200") ||
|
||||
strstr(gl_info->gl_renderer, "9300") ||
|
||||
strstr(gl_info->gl_renderer, "G 100"))
|
||||
{
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9200;
|
||||
vidmem = 256; /* The 9100-9300 cards have 256MB */
|
||||
}
|
||||
/* Geforce8 - highend */
|
||||
else if (strstr(gl_info->gl_renderer, "8800")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8800GTS;
|
||||
|
|
|
@ -3320,8 +3320,13 @@ typedef enum _GL_Cards {
|
|||
CARD_NVIDIA_GEFORCE_8600GT = 0x0402,
|
||||
CARD_NVIDIA_GEFORCE_8600MGT = 0x0407,
|
||||
CARD_NVIDIA_GEFORCE_8800GTS = 0x0193,
|
||||
CARD_NVIDIA_GEFORCE_9200 = 0x086d,
|
||||
CARD_NVIDIA_GEFORCE_9400GT = 0x042c,
|
||||
CARD_NVIDIA_GEFORCE_9500GT = 0x0640,
|
||||
CARD_NVIDIA_GEFORCE_9600GT = 0x0622,
|
||||
CARD_NVIDIA_GEFORCE_9800GT = 0x0614,
|
||||
CARD_NVIDIA_GEFORCE_GTX260 = 0x05e2,
|
||||
CARD_NVIDIA_GEFORCE_GTX275 = 0x05e6,
|
||||
CARD_NVIDIA_GEFORCE_GTX280 = 0x05e1,
|
||||
|
||||
CARD_INTEL_845G = 0x2562,
|
||||
|
|
Loading…
Reference in New Issue