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
48d68e0c
Commit
48d68e0c
authored
Sep 10, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable EXT_extended_dynamic_state2.
parent
8bac6690
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 @
48d68e0c
...
...
@@ -242,6 +242,7 @@ static HRESULT wined3d_select_vulkan_queue_family(const struct wined3d_adapter_v
struct
wined3d_physical_device_info
{
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
dynamic_state_features
;
VkPhysicalDeviceExtendedDynamicState2FeaturesEXT
dynamic_state2_features
;
VkPhysicalDeviceHostQueryResetFeatures
host_query_reset_features
;
VkPhysicalDeviceShaderDrawParametersFeatures
draw_parameters_features
;
VkPhysicalDeviceTransformFeedbackFeaturesEXT
xfb_features
;
...
...
@@ -338,6 +339,7 @@ static const struct wined3d_allocator_ops wined3d_allocator_vk_ops =
static
void
get_physical_device_info
(
const
struct
wined3d_adapter_vk
*
adapter_vk
,
struct
wined3d_physical_device_info
*
info
)
{
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT
*
vertex_divisor_features
=
&
info
->
vertex_divisor_features
;
VkPhysicalDeviceExtendedDynamicState2FeaturesEXT
*
dynamic_state2_features
=
&
info
->
dynamic_state2_features
;
VkPhysicalDeviceShaderDrawParametersFeatures
*
draw_parameters_features
=
&
info
->
draw_parameters_features
;
VkPhysicalDeviceExtendedDynamicStateFeaturesEXT
*
dynamic_state_features
=
&
info
->
dynamic_state_features
;
VkPhysicalDeviceHostQueryResetFeatures
*
host_query_reset_features
=
&
info
->
host_query_reset_features
;
...
...
@@ -363,8 +365,11 @@ static void get_physical_device_info(const struct wined3d_adapter_vk *adapter_vk
host_query_reset_features
->
sType
=
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES
;
host_query_reset_features
->
pNext
=
vertex_divisor_features
;
dynamic_state2_features
->
sType
=
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT
;
dynamic_state2_features
->
pNext
=
host_query_reset_features
;
dynamic_state_features
->
sType
=
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT
;
dynamic_state_features
->
pNext
=
host_query_reset
_features
;
dynamic_state_features
->
pNext
=
dynamic_state2
_features
;
features2
->
sType
=
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2
;
features2
->
pNext
=
dynamic_state_features
;
...
...
@@ -2366,6 +2371,7 @@ static bool wined3d_adapter_vk_init_device_extensions(struct wined3d_adapter_vk
info
[]
=
{
{
VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME
,
VK_API_VERSION_1_3
},
{
VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME
,
VK_API_VERSION_1_3
},
{
VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME
,
VK_API_VERSION_1_2
},
{
VK_EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME
,
~
0u
},
{
VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME
,
~
0u
},
...
...
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