Re: [Mesa-dev] [PATCH] vulkan: enums: fix generation with enum aliases

2017-03-14 Thread Jason Ekstrand
On Tue, Mar 14, 2017 at 4:04 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > It seems new extensions will start to use aliases in enums, meaning > multiple enums with the same value. This forces us to track the values > of the enums to generate correct C code. > Seriously? That s

[Mesa-dev] [PATCH] vulkan: enums: fix generation with enum aliases

2017-03-14 Thread Lionel Landwerlin
It seems new extensions will start to use aliases in enums, meaning multiple enums with the same value. This forces us to track the values of the enums to generate correct C code. Signed-off-by: Lionel Landwerlin Cc: Dylan Baker --- src/vulkan/util/gen_enum_to_str.py | 49 ++