From 70146112206a3812b404e549a632e03740349f08 Mon Sep 17 00:00:00 2001 From: Rua Date: Wed, 30 Oct 2024 18:20:50 +0100 Subject: [PATCH] Add KHR to possible format suffixes --- 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 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(); }