mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
asahi: Remove no-direct-packing
It's weird. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18922>
This commit is contained in:
parent
ea58edaafb
commit
6689d67603
1 changed files with 2 additions and 4 deletions
|
|
@ -526,7 +526,6 @@ class Parser(object):
|
|||
print(pack_header)
|
||||
elif name == "struct":
|
||||
name = attrs["name"]
|
||||
self.no_direct_packing = attrs.get("no-direct-packing", False)
|
||||
object_name = self.gen_prefix(safe_name(name.upper()))
|
||||
self.struct = object_name
|
||||
|
||||
|
|
@ -619,9 +618,8 @@ class Parser(object):
|
|||
|
||||
self.emit_template_struct(self.struct, self.group)
|
||||
self.emit_header(name)
|
||||
if self.no_direct_packing == False:
|
||||
self.emit_pack_function(self.struct, self.group)
|
||||
self.emit_unpack_function(self.struct, self.group)
|
||||
self.emit_pack_function(self.struct, self.group)
|
||||
self.emit_unpack_function(self.struct, self.group)
|
||||
self.emit_print_function(self.struct, self.group)
|
||||
|
||||
def enum_prefix(self, name):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue