Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
73391354
Commit
73391354
authored
Aug 04, 2023
by
Evan Tang
Committed by
Alexandre Julliard
Aug 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Update reported driver versions.
parent
ee1d3a19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
directx.c
dlls/wined3d/directx.c
+11
-4
No files found.
dlls/wined3d/directx.c
View file @
73391354
...
...
@@ -238,6 +238,9 @@ ULONG CDECL wined3d_decref(struct wined3d *wined3d)
* 24 -> Windows 10 April 2018 Update - WDDM 2.4
* 25 -> Windows 10 October 2018 Update - WDDM 2.5
* 26 -> Windows 10 May 2019 Update - WDDM 2.6
* 27 -> Windows 10 May 2020 Update - WDDM 2.7
* 30 -> Windows 11 21H2 - WDDM 3.0
* 31 -> Windows 11 22H2 - WDDM 3.1
*
* "y" is the maximum Direct3D version / feature level the driver supports.
* 11 -> 6
...
...
@@ -285,7 +288,7 @@ static const struct driver_version_information driver_version_table[] =
{
DRIVER_AMD_R600
,
DRIVER_MODEL_NT5X
,
"ati2dvag.dll"
,
10
,
1280
},
{
DRIVER_AMD_R300
,
DRIVER_MODEL_NT6X
,
"atiumdag.dll"
,
10
,
741
},
{
DRIVER_AMD_R600
,
DRIVER_MODEL_NT6X
,
"atiumdag.dll"
,
10
,
1280
},
{
DRIVER_AMD_RX
,
DRIVER_MODEL_NT6X
,
"aticfx32.dll"
,
15002
,
61
},
{
DRIVER_AMD_RX
,
DRIVER_MODEL_NT6X
,
"aticfx32.dll"
,
21023
,
2010
},
/* Adrenalin 23.7.2 */
/* Intel
* The drivers are unified but not all versions support all GPUs. At some point the 2k/xp
...
...
@@ -297,7 +300,7 @@ static const struct driver_version_information driver_version_table[] =
{
DRIVER_INTEL_GMA3000
,
DRIVER_MODEL_NT5X
,
"igxprd32.dll"
,
10
,
5218
},
{
DRIVER_INTEL_GMA950
,
DRIVER_MODEL_NT6X
,
"igdumd32.dll"
,
10
,
1504
},
{
DRIVER_INTEL_GMA3000
,
DRIVER_MODEL_NT6X
,
"igdumd32.dll"
,
10
,
1666
},
{
DRIVER_INTEL_HD4000
,
DRIVER_MODEL_NT6X
,
"igdumdim32.dll"
,
15
,
4352
},
{
DRIVER_INTEL_HD4000
,
DRIVER_MODEL_NT6X
,
"igdumdim32.dll"
,
101
,
4577
},
/* Nvidia
* - Geforce8 and newer is supported by the current 340.52 driver on XP-Win8
...
...
@@ -314,7 +317,7 @@ static const struct driver_version_information driver_version_table[] =
{
DRIVER_NVIDIA_GEFORCE6
,
DRIVER_MODEL_NT6X
,
"nvd3dum.dll"
,
13
,
783
},
{
DRIVER_NVIDIA_GEFORCE8
,
DRIVER_MODEL_NT6X
,
"nvd3dum.dll"
,
13
,
4052
},
{
DRIVER_NVIDIA_FERMI
,
DRIVER_MODEL_NT6X
,
"nvd3dum.dll"
,
13
,
9135
},
{
DRIVER_NVIDIA_KEPLER
,
DRIVER_MODEL_NT6X
,
"nvd3dum.dll"
,
1
4
,
4587
},
{
DRIVER_NVIDIA_KEPLER
,
DRIVER_MODEL_NT6X
,
"nvd3dum.dll"
,
1
5
,
3118
},
/* 531.18 */
/* Red Hat */
{
DRIVER_REDHAT_VIRGL
,
DRIVER_MODEL_GENERIC
,
"virgl.dll"
,
0
,
0
},
...
...
@@ -773,7 +776,7 @@ bool wined3d_driver_info_init(struct wined3d_driver_info *driver_info,
break
;
case
10
:
driver_os_version
=
26
;
driver_os_version
=
31
;
driver_model
=
DRIVER_MODEL_NT6X
;
break
;
...
...
@@ -829,6 +832,10 @@ bool wined3d_driver_info_init(struct wined3d_driver_info *driver_info,
else
if
(
os_version
.
dwMajorVersion
<
6
)
driver_feature_level
=
min
(
driver_feature_level
,
14
);
/* Drivers with the OS version 30+ all have the feature level word set to 0 */
if
(
driver_os_version
>=
30
)
driver_feature_level
=
0
;
driver_info
->
vendor
=
gpu_desc
->
vendor
;
driver_info
->
device
=
gpu_desc
->
device
;
wined3d_copy_name
(
driver_info
->
description
,
gpu_desc
->
description
,
ARRAY_SIZE
(
driver_info
->
description
));
...
...
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