mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
panfrost: gen_pack: Allow enum/define values expressed in hexadecimal
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6797>
This commit is contained in:
parent
51d5d44953
commit
fd0941c573
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ class Group(object):
|
|||
class Value(object):
|
||||
def __init__(self, attrs):
|
||||
self.name = attrs["name"]
|
||||
self.value = int(attrs["value"])
|
||||
self.value = int(attrs["value"], 0)
|
||||
|
||||
class Parser(object):
|
||||
def __init__(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue