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
bc6907ee
Commit
bc6907ee
authored
Jul 13, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Require tessellation shaders to create a feature level 11.0 device.
parent
f8a07161
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
adapter_vk.c
dlls/wined3d/adapter_vk.c
+7
-1
No files found.
dlls/wined3d/adapter_vk.c
View file @
bc6907ee
...
...
@@ -2261,6 +2261,12 @@ static bool feature_level_10_supported(const struct wined3d_physical_device_info
&&
info
->
vertex_divisor_features
.
vertexAttributeInstanceRateZeroDivisor
;
}
static
bool
feature_level_11_supported
(
const
struct
wined3d_physical_device_info
*
info
,
unsigned
int
shader_model
)
{
return
shader_model
>=
5
&&
info
->
features2
.
features
.
tessellationShader
;
}
static
enum
wined3d_feature_level
feature_level_from_caps
(
const
struct
wined3d_physical_device_info
*
info
,
const
struct
shader_caps
*
shader_caps
)
{
...
...
@@ -2283,7 +2289,7 @@ static enum wined3d_feature_level feature_level_from_caps(const struct wined3d_p
if
(
!
feature_level_10_supported
(
info
,
shader_model
))
return
WINED3D_FEATURE_LEVEL_9_3
;
if
(
shader_model
<=
4
)
if
(
!
feature_level_11_supported
(
info
,
shader_model
)
)
return
WINED3D_FEATURE_LEVEL_10_1
;
return
WINED3D_FEATURE_LEVEL_11_1
;
...
...
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