From 3f4de467bed597509ae99d5c0d3f14f82dee18dd Mon Sep 17 00:00:00 2001 From: Rua Date: Wed, 30 Oct 2024 18:25:17 +0100 Subject: [PATCH] Add KHR to possible format suffixes (#2597) --- vulkano/autogen/formats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano/autogen/formats.rs b/vulkano/autogen/formats.rs index 958849e3..9757c3e5 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(); }