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
e3de7f77
Commit
e3de7f77
authored
Aug 28, 2018
by
Józef Kucia
Committed by
Alexandre Julliard
Aug 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Trace properties for created devices.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
33732fac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
vulkan.c
dlls/winevulkan/vulkan.c
+14
-0
No files found.
dlls/winevulkan/vulkan.c
View file @
e3de7f77
...
...
@@ -60,6 +60,9 @@ static void *wine_vk_get_global_proc_addr(const char *name);
static
const
struct
vulkan_funcs
*
vk_funcs
;
static
VkResult
(
*
p_vkEnumerateInstanceVersion
)(
uint32_t
*
version
);
void
WINAPI
wine_vkGetPhysicalDeviceProperties
(
VkPhysicalDevice
physical_device
,
VkPhysicalDeviceProperties
*
properties
);
static
void
wine_vk_physical_device_free
(
struct
VkPhysicalDevice_T
*
phys_dev
)
{
if
(
!
phys_dev
)
...
...
@@ -600,6 +603,17 @@ VkResult WINAPI wine_vkCreateDevice(VkPhysicalDevice phys_dev,
if
(
allocator
)
FIXME
(
"Support for allocation callbacks not implemented yet
\n
"
);
if
(
TRACE_ON
(
vulkan
))
{
VkPhysicalDeviceProperties
properties
;
wine_vkGetPhysicalDeviceProperties
(
phys_dev
,
&
properties
);
TRACE
(
"Device name: %s.
\n
"
,
debugstr_a
(
properties
.
deviceName
));
TRACE
(
"Vendor ID: %#x, Device ID: %#x.
\n
"
,
properties
.
vendorID
,
properties
.
deviceID
);
TRACE
(
"Driver version: %#x.
\n
"
,
properties
.
driverVersion
);
}
if
(
!
(
object
=
heap_alloc_zero
(
sizeof
(
*
object
))))
return
VK_ERROR_OUT_OF_HOST_MEMORY
;
...
...
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