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
a2dc7a4a
Commit
a2dc7a4a
authored
Nov 10, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove no longer used make_vulkan functions.
parent
ac171915
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
make_vulkan
dlls/winevulkan/make_vulkan
+1
-24
No files found.
dlls/winevulkan/make_vulkan
View file @
a2dc7a4a
...
...
@@ -642,18 +642,6 @@ class VkFunction(object):
def
returns_longlong
(
self
):
return
self
.
type
in
[
"uint64_t"
,
"VkDeviceAddress"
]
def
needs_unwrapping
(
self
):
""" Check if the function needs any input/output type unwrapping.
Functions need input/output unwrapping if struct parameters have
wrapped handles.
"""
for
p
in
self
.
params
:
if
p
.
needs_unwrapping
():
return
True
return
False
def
needs_dispatch
(
self
):
return
self
.
dispatch
...
...
@@ -747,7 +735,7 @@ class VkFunction(object):
body
+=
" return params.result;
\n
"
return
body
def
body
(
self
,
conv
,
unwrap
=
True
,
params_prefix
=
""
):
def
body
(
self
,
conv
,
unwrap
,
params_prefix
=
""
):
body
=
""
needs_alloc
=
False
...
...
@@ -2235,17 +2223,6 @@ class StructConversionFunction(object):
return
body
def
_set_name
(
self
):
name
=
"convert_{0}_"
.
format
(
self
.
type
)
win_type
=
"win32"
if
self
.
conv
else
"win64"
host_part
=
"host"
if
self
.
unwrap
else
"unwrapped_host"
if
self
.
direction
==
Direction
.
INPUT
:
name
+=
"{0}_to_{1}"
.
format
(
win_type
,
host_part
)
else
:
# Direction.OUTPUT
name
+=
"{0}_to_{1}"
.
format
(
host_part
,
win_type
)
self
.
name
=
name
class
ArrayConversionFunction
(
object
):
def
__init__
(
self
,
array
,
direction
,
conv
,
unwrap
):
...
...
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