mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
panfrost: Decode nested structs correctly
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: 75cc5b8c29 ("panfrost: Adopt gen_pack_header.py via v3d")
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6440>
This commit is contained in:
parent
aac5a559cc
commit
6fd62215fa
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ class Group(object):
|
|||
# Recurse for structs, see pack() for validation
|
||||
if field.type in self.parser.structs:
|
||||
pack_name = self.parser.gen_prefix(safe_name(field.type)).upper()
|
||||
print(" {}_unpack(cl + {}, &values->{});".format(pack_name, field.start // 32, field.name))
|
||||
print(" {}_unpack(cl + {}, &values->{});".format(pack_name, field.start // 8, field.name))
|
||||
continue
|
||||
|
||||
convert = None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue