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
78447f8d
Commit
78447f8d
authored
Mar 23, 2018
by
Józef Kucia
Committed by
Alexandre Julliard
Mar 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Fix minor coding style issues in autogenerated code.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c6648a96
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
24 deletions
+24
-24
make_vulkan
dlls/winevulkan/make_vulkan
+4
-4
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+3
-3
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+17
-17
No files found.
dlls/winevulkan/make_vulkan
View file @
78447f8d
...
...
@@ -1787,7 +1787,7 @@ class VkGenerator(object):
f
.
write
(
" {
\n
"
)
f
.
write
(
" if (strcmp(vk_device_dispatch_table[i].name, name) == 0)
\n
"
)
f
.
write
(
" {
\n
"
)
f
.
write
(
" TRACE(
\"
Found name=
%
s in device table
\\
n
\"
,
name
);
\n
"
)
f
.
write
(
" TRACE(
\"
Found name=
%
s in device table
\\
n
\"
,
debugstr_a(name)
);
\n
"
)
f
.
write
(
" return vk_device_dispatch_table[i].func;
\n
"
)
f
.
write
(
" }
\n
"
)
f
.
write
(
" }
\n
"
)
...
...
@@ -1801,7 +1801,7 @@ class VkGenerator(object):
f
.
write
(
" {
\n
"
)
f
.
write
(
" if (strcmp(vk_instance_dispatch_table[i].name, name) == 0)
\n
"
)
f
.
write
(
" {
\n
"
)
f
.
write
(
" TRACE(
\"
Found name=
%
s in instance table
\\
n
\"
,
name
);
\n
"
)
f
.
write
(
" TRACE(
\"
Found name=
%
s in instance table
\\
n
\"
,
debugstr_a(name)
);
\n
"
)
f
.
write
(
" return vk_instance_dispatch_table[i].func;
\n
"
)
f
.
write
(
" }
\n
"
)
f
.
write
(
" }
\n
"
)
...
...
@@ -1818,7 +1818,7 @@ class VkGenerator(object):
f
.
write
(
"};
\n\n
"
)
# Create array of instance extensions.
f
.
write
(
"static const char *vk_instance_extensions[] =
\n
{
\n
"
)
f
.
write
(
"static const char *
const
vk_instance_extensions[] =
\n
{
\n
"
)
for
ext
in
self
.
registry
.
extensions
:
if
ext
[
"type"
]
!=
"instance"
:
continue
...
...
@@ -1950,7 +1950,7 @@ class VkGenerator(object):
f
.
write
(
" USE_VK_FUNC({0})"
.
format
(
vk_func
.
name
))
first
=
False
else
:
f
.
write
(
"
\\\n
USE_VK_FUNC({0})"
.
format
(
vk_func
.
name
))
f
.
write
(
"
\\\n
USE_VK_FUNC({0})"
.
format
(
vk_func
.
name
))
f
.
write
(
"
\n\n
"
)
f
.
write
(
"#endif /* __WINE_VULKAN_THUNKS_H */
\n
"
)
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
78447f8d
...
...
@@ -2315,7 +2315,7 @@ void *wine_vk_get_device_proc_addr(const char *name)
{
if
(
strcmp
(
vk_device_dispatch_table
[
i
].
name
,
name
)
==
0
)
{
TRACE
(
"Found name=%s in device table
\n
"
,
name
);
TRACE
(
"Found name=%s in device table
\n
"
,
debugstr_a
(
name
)
);
return
vk_device_dispatch_table
[
i
].
func
;
}
}
...
...
@@ -2329,7 +2329,7 @@ void *wine_vk_get_instance_proc_addr(const char *name)
{
if
(
strcmp
(
vk_instance_dispatch_table
[
i
].
name
,
name
)
==
0
)
{
TRACE
(
"Found name=%s in instance table
\n
"
,
name
);
TRACE
(
"Found name=%s in instance table
\n
"
,
debugstr_a
(
name
)
);
return
vk_instance_dispatch_table
[
i
].
func
;
}
}
...
...
@@ -2369,7 +2369,7 @@ static const char * const vk_device_extensions[] =
"VK_NV_viewport_swizzle"
,
};
static
const
char
*
vk_instance_extensions
[]
=
static
const
char
*
const
vk_instance_extensions
[]
=
{
"VK_KHR_get_physical_device_properties2"
,
"VK_KHR_surface"
,
...
...
dlls/winevulkan/vulkan_thunks.h
View file @
78447f8d
...
...
@@ -975,23 +975,23 @@ struct vulkan_instance_funcs
USE_VK_FUNC(vkWaitForFences)
#define ALL_VK_INSTANCE_FUNCS() \
USE_VK_FUNC(vkCreateDevice)\
USE_VK_FUNC(vkEnumerateDeviceExtensionProperties)\
USE_VK_FUNC(vkEnumerateDeviceLayerProperties)\
USE_VK_FUNC(vkEnumeratePhysicalDevices)\
USE_VK_FUNC(vkGetPhysicalDeviceFeatures)\
USE_VK_FUNC(vkGetPhysicalDeviceFeatures2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties)\
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties)\
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties)\
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceProperties)\
USE_VK_FUNC(vkGetPhysicalDeviceProperties2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties)\
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2KHR)\
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties)\
USE_VK_FUNC(vkCreateDevice)
\
USE_VK_FUNC(vkEnumerateDeviceExtensionProperties)
\
USE_VK_FUNC(vkEnumerateDeviceLayerProperties)
\
USE_VK_FUNC(vkEnumeratePhysicalDevices)
\
USE_VK_FUNC(vkGetPhysicalDeviceFeatures)
\
USE_VK_FUNC(vkGetPhysicalDeviceFeatures2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceProperties2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2KHR)
\
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties)
\
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties2KHR)
#endif
/* __WINE_VULKAN_THUNKS_H */
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