asahi: get rid of default from the XML

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31908>
This commit is contained in:
Alyssa Rosenzweig 2024-10-07 13:36:50 -04:00
parent 1a2938704d
commit c8a1c82175

View file

@ -107,7 +107,7 @@ class Field(object):
self.modifier = parse_modifier(attrs.get("modifier"))
self.exact = attrs.get("exact")
self.default = attrs.get("default")
self.default = None
if self.exact is not None:
self.default = self.exact