mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-07 11:13:15 +00:00
renderer_vulkan: Remove some fallbacks and misc format queries that are no longer needed. (#1773)
This commit is contained in:
parent
8caca4df32
commit
3e22622508
3 changed files with 5 additions and 28 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue