Skip to content

Commit

Permalink
Add KHR to possible format suffixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua committed Oct 30, 2024
1 parent 0c74e34 commit 7014611
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 7014611

Please sign in to comment.