asahi: normalize enum formatting

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 10:19:31 -04:00
parent 06a3ecf617
commit a1b8aae170

View file

@ -584,7 +584,7 @@ class Parser(object):
for value in self.values:
name = '{}_{}'.format(prefix, value.name)
name = safe_name(name).upper()
print(' % -36s = %6d,' % (name, value.value))
print(f' {name} = {value.value},')
print('};\n')
print("#ifndef __OPENCL_VERSION__")