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
52ae9be1
Commit
52ae9be1
authored
Nov 09, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Always fill output in fill_luid_property.
parent
45eca854
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
loader.c
dlls/winevulkan/loader.c
+14
-14
No files found.
dlls/winevulkan/loader.c
View file @
52ae9be1
...
...
@@ -414,26 +414,26 @@ static void fill_luid_property(VkPhysicalDeviceProperties2 *properties2)
{
device_luid_valid
=
VK_TRUE
;
device_node_mask
=
1
;
if
(
id
)
{
memcpy
(
&
id
->
deviceLUID
,
&
luid
,
sizeof
(
id
->
deviceLUID
));
id
->
deviceLUIDValid
=
device_luid_valid
;
id
->
deviceNodeMask
=
device_node_mask
;
}
if
(
vk11
)
{
memcpy
(
&
vk11
->
deviceLUID
,
&
luid
,
sizeof
(
vk11
->
deviceLUID
));
vk11
->
deviceLUIDValid
=
device_luid_valid
;
vk11
->
deviceNodeMask
=
device_node_mask
;
}
break
;
}
}
SetupDiDestroyDeviceInfoList
(
devinfo
);
release_display_device_init_mutex
(
mutex
);
if
(
id
)
{
if
(
device_luid_valid
)
memcpy
(
&
id
->
deviceLUID
,
&
luid
,
sizeof
(
id
->
deviceLUID
));
id
->
deviceLUIDValid
=
device_luid_valid
;
id
->
deviceNodeMask
=
device_node_mask
;
}
if
(
vk11
)
{
if
(
device_luid_valid
)
memcpy
(
&
vk11
->
deviceLUID
,
&
luid
,
sizeof
(
vk11
->
deviceLUID
));
vk11
->
deviceLUIDValid
=
device_luid_valid
;
vk11
->
deviceNodeMask
=
device_node_mask
;
}
TRACE
(
"deviceName:%s deviceLUIDValid:%d LUID:%08lx:%08lx deviceNodeMask:%#x.
\n
"
,
properties2
->
properties
.
deviceName
,
device_luid_valid
,
luid
.
HighPart
,
luid
.
LowPart
,
device_node_mask
);
...
...
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