generator: Update list of vendor names (#676)

This commit is contained in:
Charles Giessen 2022-11-07 15:47:44 -07:00 committed by Marijn Suijten
parent ca9168bc3a
commit 24000c1249

View file

@ -1199,7 +1199,43 @@ pub fn variant_ident(enum_name: &str, variant_name: &str) -> Ident {
// TODO: Also needs to be more robust, vendor names can be substrings from itself, id:4
// like NVX and NV
let vendors = [
"_NVX", "_KHR", "_EXT", "_NV", "_AMD", "_ANDROID", "_GOOGLE", "_INTEL", "_FUCHSIA",
"_AMD",
"_AMDX",
"_ANDROID",
"_ARM",
"_BRCM",
"_CHROMIUM",
"_EXT",
"_FB",
"_FSL",
"_FUCHSIA",
"_GGP",
"_GOOGLE",
"_HUAWEI",
"_IMG",
"_INTEL",
"_JUICE",
"_KDAB",
"_KHR",
"_KHX",
"_LUNARG",
"_MESA",
"_MVK",
"_NN",
"_NV",
"_NVX",
"_NXP",
"_NZXT",
"_QCOM",
"_QNX",
"_RASTERGRID",
"_RENDERDOC",
"_SAMSUNG",
"_SEC",
"_TIZEN",
"_VALVE",
"_VIV",
"_VSI",
];
let struct_name = name.to_shouty_snake_case();
let vendor = vendors