Skip to content

Commit

Permalink
Add KHR to possible format suffixes (#2597)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored Oct 30, 2024
1 parent 0c74e34 commit 3f4de46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulkano/autogen/formats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ fn formats_members(

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();
}

Expand Down

0 comments on commit 3f4de46

Please sign in to comment.