Skip to content

Commit

Permalink
generator: Update list of vendor names
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-lunarg committed Nov 7, 2022
1 parent 51f5997 commit ce308f8
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",
"_IMG",
"_AMD",
"_AMDX",
"_ARM",
"_FSL",
"_BRCM",
"_NXP",
"_NV",
"_NVX",
"_VIV",
"_VSI",
"_KDAB",
"_ANDROID",
"_CHROMIUM",
"_FUCHSIA",
"_GGP",
"_GOOGLE",
"_QCOM",
"_LUNARG",
"_NZXT",
"_SAMSUNG",
"_SEC",
"_TIZEN",
"_RENDERDOC",
"_NN",
"_MVK",
"_KHR",
"_KHX",
"_EXT",
"_MESA",
"_INTEL",
"_HUAWEI",
"_VALVE",
"_QNX",
"_JUICE",
"_FB",
"_RASTERGRID",
];
let struct_name = name.to_shouty_snake_case();
let vendor = vendors
Expand Down

0 comments on commit ce308f8

Please sign in to comment.