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
82182a11
Commit
82182a11
authored
Nov 10, 2022
by
Georg Lehmann
Committed by
Alexandre Julliard
Nov 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Fix handling enums in needs_alignment.
parent
0a2bffa7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
make_vulkan
dlls/winevulkan/make_vulkan
+5
-0
No files found.
dlls/winevulkan/make_vulkan
View file @
82182a11
...
...
@@ -1168,6 +1168,9 @@ class VkVariable(object):
def
is_bitmask
(
self
):
return
self
.
type_info
[
"category"
]
==
"bitmask"
def
is_enum
(
self
):
return
self
.
type_info
[
"category"
]
==
"enum"
def
is_dynamic_array
(
self
):
""" Returns if the member is an array element.
Vulkan uses this for dynamically sized arrays for which
...
...
@@ -1202,6 +1205,8 @@ class VkVariable(object):
return
True
elif
self
.
is_bitmask
():
return
self
.
type_info
[
"data"
]
.
type
==
"VkFlags64"
elif
self
.
is_enum
():
return
self
.
type_info
[
"data"
]
.
bitwidth
==
64
elif
self
.
is_struct
()
or
self
.
is_union
():
return
self
.
type_info
[
"data"
]
.
needs_alignment
()
elif
self
.
is_handle
():
...
...
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