This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added patch to recognize GTX 560M card with NVIDIA driver.
- Loading branch information
Showing
4 changed files
with
83 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
patches/wined3d-GTX_560M/0001-wined3d-Recognize-GTX-560M-card-with-NVIDIA-driver.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
From 9d6e5bd47a0186732803f1f6500ef52b8d13e11c Mon Sep 17 00:00:00 2001 | ||
From: Christian Costa <titan.costa@gmail.com> | ||
Date: Sun, 16 Oct 2016 14:01:56 +0200 | ||
Subject: wined3d: Recognize GTX 560M card with NVIDIA driver. | ||
|
||
--- | ||
dlls/wined3d/directx.c | 2 ++ | ||
dlls/wined3d/wined3d_private.h | 1 + | ||
2 files changed, 3 insertions(+) | ||
|
||
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c | ||
index a8c8c9f..9edeb5b 100644 | ||
--- a/dlls/wined3d/directx.c | ||
+++ b/dlls/wined3d/directx.c | ||
@@ -1270,6 +1270,7 @@ static const struct gpu_description gpu_description_table[] = | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX550, "NVIDIA GeForce GTX 550 Ti", DRIVER_NVIDIA_GEFORCE8, 1024}, | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GT555M, "NVIDIA GeForce GT 555M", DRIVER_NVIDIA_GEFORCE8, 1024}, | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX560TI, "NVIDIA GeForce GTX 560 Ti", DRIVER_NVIDIA_GEFORCE8, 1024}, | ||
+ {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX560M, "NVIDIA GeForce GTX 560M", DRIVER_NVIDIA_GEFORCE8, 3072}, | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX560, "NVIDIA GeForce GTX 560", DRIVER_NVIDIA_GEFORCE8, 1024}, | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX570, "NVIDIA GeForce GTX 570", DRIVER_NVIDIA_GEFORCE8, 1280}, | ||
{HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX580, "NVIDIA GeForce GTX 580", DRIVER_NVIDIA_GEFORCE8, 1536}, | ||
@@ -1848,6 +1849,7 @@ cards_nvidia_binary[] = | ||
{"GTX 580", CARD_NVIDIA_GEFORCE_GTX580}, /* Geforce 500 - highend */ | ||
{"GTX 570", CARD_NVIDIA_GEFORCE_GTX570}, /* Geforce 500 - midend high */ | ||
{"GTX 560 Ti", CARD_NVIDIA_GEFORCE_GTX560TI}, /* Geforce 500 - midend */ | ||
+ {"GTX 560M", CARD_NVIDIA_GEFORCE_GTX560M}, /* Geforce 500 - midend mobile */ | ||
{"GTX 560", CARD_NVIDIA_GEFORCE_GTX560}, /* Geforce 500 - midend */ | ||
{"GT 555M", CARD_NVIDIA_GEFORCE_GT555M}, /* Geforce 500 - midend mobile */ | ||
{"GTX 550 Ti", CARD_NVIDIA_GEFORCE_GTX550}, /* Geforce 500 - midend */ | ||
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h | ||
index 4326bee..f089d05 100644 | ||
--- a/dlls/wined3d/wined3d_private.h | ||
+++ b/dlls/wined3d/wined3d_private.h | ||
@@ -1908,6 +1908,7 @@ enum wined3d_pci_device | ||
CARD_NVIDIA_GEFORCE_GTX550 = 0x1244, | ||
CARD_NVIDIA_GEFORCE_GT555M = 0x04b8, | ||
CARD_NVIDIA_GEFORCE_GTX560TI = 0x1200, | ||
+ CARD_NVIDIA_GEFORCE_GTX560M = 0x1251, | ||
CARD_NVIDIA_GEFORCE_GTX560 = 0x1201, | ||
CARD_NVIDIA_GEFORCE_GTX570 = 0x1081, | ||
CARD_NVIDIA_GEFORCE_GTX580 = 0x1080, | ||
-- | ||
2.9.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixes: Recognize GTX 560M card with NVIDIA driver |