Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1e7c5d8c
Commit
1e7c5d8c
authored
Jul 26, 2014
by
Andrei Slăvoiu
Committed by
Alexandre Julliard
Jul 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the card selection for AMD binary driver use arrays only.
parent
47bec5eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
33 deletions
+20
-33
directx.c
dlls/wined3d/directx.c
+20
-33
No files found.
dlls/wined3d/directx.c
View file @
1e7c5d8c
...
...
@@ -1900,6 +1900,26 @@ static enum wined3d_pci_device select_card_amd_binary(const char *gl_renderer)
{
"HD 3400"
,
CARD_AMD_RADEON_HD2350
},
/* HD2350/HD2400/HD3400 - lowend */
{
"HD 2400"
,
CARD_AMD_RADEON_HD2350
},
/* HD2350/HD2400/HD3400 - lowend */
{
"HD 2350"
,
CARD_AMD_RADEON_HD2350
},
/* HD2350/HD2400/HD3400 - lowend */
/* Radeon R5xx */
{
"X1950"
,
CARD_AMD_RADEON_X1600
},
{
"X1900"
,
CARD_AMD_RADEON_X1600
},
{
"X1800"
,
CARD_AMD_RADEON_X1600
},
{
"X1650"
,
CARD_AMD_RADEON_X1600
},
{
"X1600"
,
CARD_AMD_RADEON_X1600
},
/* Radeon R4xx + X1300/X1400/X1450/X1550/X2300/X2500/HD2300 (lowend R5xx)
* Note X2300/X2500/HD2300 are R5xx GPUs with a 2xxx naming but they are still DX9-only */
{
"HD 2300"
,
CARD_AMD_RADEON_X700
},
{
"X2500"
,
CARD_AMD_RADEON_X700
},
{
"X2300"
,
CARD_AMD_RADEON_X700
},
{
"X1550"
,
CARD_AMD_RADEON_X700
},
{
"X1450"
,
CARD_AMD_RADEON_X700
},
{
"X1400"
,
CARD_AMD_RADEON_X700
},
{
"X1300"
,
CARD_AMD_RADEON_X700
},
{
"X850"
,
CARD_AMD_RADEON_X700
},
{
"X800"
,
CARD_AMD_RADEON_X700
},
{
"X700"
,
CARD_AMD_RADEON_X700
},
/* Radeon Xpress Series - onboard, DX9b, Shader 2.0, 300-400 MHz */
{
"Radeon Xpress"
,
CARD_AMD_RADEON_XPRESS_200M
},
};
for
(
i
=
0
;
i
<
sizeof
(
cards
)
/
sizeof
(
*
cards
);
++
i
)
...
...
@@ -1908,39 +1928,6 @@ static enum wined3d_pci_device select_card_amd_binary(const char *gl_renderer)
return
cards
[
i
].
id
;
}
/* Radeon R5xx */
if
(
strstr
(
gl_renderer
,
"X1600"
)
||
strstr
(
gl_renderer
,
"X1650"
)
||
strstr
(
gl_renderer
,
"X1800"
)
||
strstr
(
gl_renderer
,
"X1900"
)
||
strstr
(
gl_renderer
,
"X1950"
))
{
return
CARD_AMD_RADEON_X1600
;
}
/* Radeon R4xx + X1300/X1400/X1450/X1550/X2300/X2500/HD2300 (lowend R5xx)
* Note X2300/X2500/HD2300 are R5xx GPUs with a 2xxx naming but they are still DX9-only */
if
(
strstr
(
gl_renderer
,
"X700"
)
||
strstr
(
gl_renderer
,
"X800"
)
||
strstr
(
gl_renderer
,
"X850"
)
||
strstr
(
gl_renderer
,
"X1300"
)
||
strstr
(
gl_renderer
,
"X1400"
)
||
strstr
(
gl_renderer
,
"X1450"
)
||
strstr
(
gl_renderer
,
"X1550"
)
||
strstr
(
gl_renderer
,
"X2300"
)
||
strstr
(
gl_renderer
,
"X2500"
)
||
strstr
(
gl_renderer
,
"HD 2300"
)
)
{
return
CARD_AMD_RADEON_X700
;
}
/* Radeon Xpress Series - onboard, DX9b, Shader 2.0, 300-400 MHz */
if
(
strstr
(
gl_renderer
,
"Radeon Xpress"
))
{
return
CARD_AMD_RADEON_XPRESS_200M
;
}
return
PCI_DEVICE_NONE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment