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
ab36f7d5
Commit
ab36f7d5
authored
Oct 23, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Use local params struct declarations for 32-bit thunks.
parent
b88d373b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
make_vulkan
dlls/winevulkan/make_vulkan
+12
-1
vulkan_thunks.c
dlls/winevulkan/vulkan_thunks.c
+0
-0
No files found.
dlls/winevulkan/make_vulkan
View file @
ab36f7d5
...
...
@@ -860,7 +860,18 @@ class VkFunction(object):
def
thunk
(
self
,
prefix
=
None
,
conv
=
False
):
thunk
=
"NTSTATUS {0}{1}(void *args)
\n
"
.
format
(
prefix
,
self
.
name
)
thunk
+=
"{
\n
"
thunk
+=
" struct {0}_params *params = args;
\n
"
.
format
(
self
.
name
)
if
conv
:
thunk
+=
" struct
\n
"
thunk
+=
" {
\n
"
for
p
in
self
.
params
:
thunk
+=
" {0};
\n
"
.
format
(
p
.
definition
(
is_member
=
True
))
if
self
.
extra_param
:
thunk
+=
" void *{0};
\n
"
.
format
(
self
.
extra_param
)
if
self
.
type
!=
"void"
:
thunk
+=
" {0} result;
\n
"
.
format
(
self
.
type
)
thunk
+=
" } *params = args;
\n
"
else
:
thunk
+=
" struct {0}_params *params = args;
\n
"
.
format
(
self
.
name
)
thunk
+=
self
.
body
(
conv
=
conv
,
unwrap
=
self
.
thunk_type
==
ThunkType
.
PUBLIC
,
params_prefix
=
"params->"
)
thunk
+=
"}
\n\n
"
return
thunk
...
...
dlls/winevulkan/vulkan_thunks.c
View file @
ab36f7d5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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