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
fe41590d
Commit
fe41590d
authored
Dec 16, 2023
by
Georg Lehmann
Committed by
Alexandre Julliard
Dec 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vulkan-1/tests: Enable feature in private data test.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51314
parent
cbcfaab5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vulkan.c
dlls/vulkan-1/tests/vulkan.c
+6
-1
No files found.
dlls/vulkan-1/tests/vulkan.c
View file @
fe41590d
...
...
@@ -395,6 +395,7 @@ static void test_private_data(VkPhysicalDevice vk_physical_device)
{
PFN_vkDestroyPrivateDataSlotEXT
pfn_vkDestroyPrivateDataSlotEXT
;
PFN_vkCreatePrivateDataSlotEXT
pfn_vkCreatePrivateDataSlotEXT
;
VkPhysicalDevicePrivateDataFeaturesEXT
data_features
;
VkPrivateDataSlotCreateInfoEXT
data_create_info
;
PFN_vkGetPrivateDataEXT
pfn_vkGetPrivateDataEXT
;
PFN_vkSetPrivateDataEXT
pfn_vkSetPrivateDataEXT
;
...
...
@@ -407,7 +408,11 @@ static void test_private_data(VkPhysicalDevice vk_physical_device)
static
const
char
*
ext_name
=
"VK_EXT_private_data"
;
if
((
vr
=
create_device
(
vk_physical_device
,
1
,
&
ext_name
,
NULL
,
&
vk_device
))
<
0
)
data_features
.
sType
=
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES_EXT
;
data_features
.
pNext
=
NULL
;
data_features
.
privateData
=
VK_TRUE
;
if
((
vr
=
create_device
(
vk_physical_device
,
1
,
&
ext_name
,
&
data_features
,
&
vk_device
))
<
0
)
{
skip
(
"Failed to create device with VK_EXT_private_data, VkResult %d.
\n
"
,
vr
);
return
;
...
...
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