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:
@@ -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__")
|
||||
|
||||
Reference in New Issue
Block a user