diff --git a/vulkano/autogen/formats.rs b/vulkano/autogen/formats.rs index 958849e36d..9757c3e5c1 100644 --- a/vulkano/autogen/formats.rs +++ b/vulkano/autogen/formats.rs @@ -685,7 +685,7 @@ fn formats_members( let mut parts = vulkan_name.split('_').collect::>(); - if ["EXT", "IMG"].contains(parts.last().unwrap()) { + if ["KHR", "EXT", "IMG"].contains(parts.last().unwrap()) { parts.pop(); }