fix non-default image view usage being ignored (#2552)

Co-authored-by: Firestar99 <4696087-firestar99@users.noreply.gitlab.com>
This commit is contained in:
Firestar99 2024-08-03 19:23:19 +02:00 committed by GitHub
parent c8fb6a16c2
commit 795b573e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -573,7 +573,7 @@ impl ImageView {
usage = implicit_default_usage;
false
} else {
usage == implicit_default_usage
usage != implicit_default_usage
};
let mut info_vk = ash::vk::ImageViewCreateInfo {