mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vk/enum2str: add more max enum vendors
Acked-by: Iván Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25210>
This commit is contained in:
parent
d09aac5e64
commit
b8a9c72561
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ def compute_max_enum_name(s):
|
|||
max_enum_name = CamelCase_to_SHOUT_CASE(s)
|
||||
last_prefix = max_enum_name.rsplit('_', 1)[-1]
|
||||
# Those special prefixes need to be always at the end
|
||||
if last_prefix in ['AMD', 'EXT', 'INTEL', 'KHR', 'NV', 'LUNARG'] :
|
||||
if last_prefix in ['AMD', 'EXT', 'INTEL', 'KHR', 'NV', 'LUNARG', 'QCOM', 'MSFT'] :
|
||||
max_enum_name = "_".join(max_enum_name.split('_')[:-1])
|
||||
max_enum_name = max_enum_name + "_MAX_ENUM_" + last_prefix
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue