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
95d26736
Commit
95d26736
authored
Jan 20, 2020
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jan 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vulkan-1/tests: Fix some test failures.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39f96c1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
vulkan.c
dlls/vulkan-1/tests/vulkan.c
+4
-6
No files found.
dlls/vulkan-1/tests/vulkan.c
View file @
95d26736
...
...
@@ -177,10 +177,9 @@ static void test_enumerate_physical_device2(void)
ok
(
vr
==
VK_SUCCESS
,
"Got unexpected VkResult %d.
\n
"
,
vr
);
vr
=
vkEnumeratePhysicalDevices
(
vk_instance
,
&
count
,
NULL
);
ok
(
vr
==
VK_SUCCESS
,
"Got unexpected VkResult %d.
\n
"
,
vr
);
if
(
!
count
)
if
(
vr
||
!
count
)
{
skip
(
"No physical devices.
\n
"
);
skip
(
"No physical devices.
VkResult %d.
\n
"
,
vr
);
vkDestroyInstance
(
vk_instance
,
NULL
);
return
;
}
...
...
@@ -397,10 +396,9 @@ static void for_each_device(void (*test_func)(VkPhysicalDevice))
ok
(
vr
==
VK_SUCCESS
,
"Got unexpected VkResult %d.
\n
"
,
vr
);
vr
=
vkEnumeratePhysicalDevices
(
vk_instance
,
&
count
,
NULL
);
ok
(
vr
==
VK_SUCCESS
,
"Got unexpected VkResult %d.
\n
"
,
vr
);
if
(
!
count
)
if
(
vr
||
!
count
)
{
skip
(
"No physical devices.
\n
"
);
skip
(
"No physical devices.
VkResult %d.
\n
"
,
vr
);
vkDestroyInstance
(
vk_instance
,
NULL
);
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