Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fixes: 75cc5b8c292 ("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>
# 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