mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-12 01:30:55 +01:00
Reduce accelerated unswizzle path
This commit is contained in:
parent
facee08b5e
commit
6221bd2c43
1 changed files with 3 additions and 0 deletions
|
|
@ -204,6 +204,9 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
|
||||||
if (VideoCore::Surface::GetFormatType(format) != SurfaceType::ColorTexture) {
|
if (VideoCore::Surface::GetFormatType(format) != SurfaceType::ColorTexture) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!MaxwellToVK::SurfaceFormat(device, FormatType::Optimal, false, format).storage) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return IsUnswizzleStorageFormatSupported(device, BytesPerBlock(format));
|
return IsUnswizzleStorageFormatSupported(device, BytesPerBlock(format));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue