Skip to content

Commit

Permalink
generator: Update list of vendor names (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-lunarg authored and MarijnS95 committed Nov 18, 2022
1 parent ca9168b commit 24000c1
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion generator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24000c1

Please sign in to comment.