Add KHR to possible format suffixes (#2597)

This commit is contained in:
Rua 2024-10-30 18:25:17 +01:00 committed by GitHub
parent 0c74e34a18
commit 3f4de467be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -685,7 +685,7 @@ fn formats_members(
let mut parts = vulkan_name.split('_').collect::<Vec<_>>(); let mut parts = vulkan_name.split('_').collect::<Vec<_>>();
if ["EXT", "IMG"].contains(parts.last().unwrap()) { if ["KHR", "EXT", "IMG"].contains(parts.last().unwrap()) {
parts.pop(); parts.pop();
} }