[PATCH 4/6] wined3d: Provide a better fallback for D3D10 AMD GPUs.

Matteo Bruni mbruni at codeweavers.com
Tue Oct 16 09:33:02 CDT 2012


BTW, current r600g from git doesn't report GL_EXT_gpu_shader4 here (even
though it supports GLSL 1.30), so it wouldn't trigger the d3d_level >= 10
case.
---
 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 686cead..4c8d391 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2152,7 +2152,7 @@ static enum wined3d_pci_device select_card_fallback_amd(const struct wined3d_gl_
 {
     UINT d3d_level = d3d_level_from_gl_info(gl_info);
     if (d3d_level >= 10)
-        return CARD_AMD_RADEON_HD2600;
+        return CARD_AMD_RADEON_HD2900;
     if (d3d_level >= 9)
         return CARD_AMD_RADEON_9500;
     if (d3d_level >= 8)
-- 
1.7.8.6




More information about the wine-patches mailing list