renderer_vulkan: Remove some fallbacks and misc format queries that are no longer needed. (#1773)

This commit is contained in:
squidbus 2024-12-14 02:04:30 -08:00 committed by GitHub
parent 8caca4df32
commit 3e22622508
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 28 deletions

View file

@ -141,8 +141,7 @@ ImageView::ImageView(const Vulkan::Instance& instance, const ImageViewInfo& info
.image = image.image,
.viewType = info.type,
.format = instance.GetSupportedFormat(format, image.format_features),
.components =
instance.GetSupportedComponentSwizzle(format, info.mapping, image.format_features),
.components = info.mapping,
.subresourceRange{
.aspectMask = aspect,
.baseMipLevel = info.range.base.level,