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
3d824d11
Commit
3d824d11
authored
May 10, 2022
by
Georg Lehmann
Committed by
Alexandre Julliard
May 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Prevent infinite recursion in make_vulkan.
Signed-off-by:
Georg Lehmann
<
dadschoorse@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d5b31ea6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
make_vulkan
dlls/winevulkan/make_vulkan
+9
-3
No files found.
dlls/winevulkan/make_vulkan
View file @
3d824d11
...
...
@@ -2043,6 +2043,8 @@ class VkStruct(Sequence):
"""
for
m
in
self
.
members
:
if
self
.
name
==
m
.
type
:
continue
if
m
.
needs_alignment
():
return
True
return
False
...
...
@@ -2057,6 +2059,8 @@ class VkStruct(Sequence):
return
True
for
m
in
self
.
members
:
if
self
.
name
==
m
.
type
:
continue
if
m
.
needs_conversion
():
return
True
return
False
...
...
@@ -2065,6 +2069,8 @@ class VkStruct(Sequence):
""" Returns if struct members need unwrapping of handle. """
for
m
in
self
.
members
:
if
self
.
name
==
m
.
type
:
continue
if
m
.
needs_unwrapping
():
return
True
return
False
...
...
@@ -2073,11 +2079,11 @@ class VkStruct(Sequence):
""" Check if any struct member needs some memory freeing."""
for
m
in
self
.
members
:
if
self
.
name
==
m
.
type
:
continue
if
m
.
needs_free
():
return
True
continue
return
False
def
needs_struct_extensions_conversion
(
self
):
...
...
@@ -3350,7 +3356,7 @@ class VkRegistry(object):
if
"data"
in
type_info
:
types
[
m
.
type
][
"data"
]
.
required
=
True
if
type_info
[
"category"
]
==
"struct"
:
if
type_info
[
"category"
]
==
"struct"
and
struct
.
name
!=
m
.
type
:
# Yay, recurse
mark_struct_dependencies
(
type_info
[
"data"
],
types
)
elif
type_info
[
"category"
]
==
"funcpointer"
:
...
...
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