mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 23:20:36 +02: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) {
|
||||
return false;
|
||||
}
|
||||
if (!MaxwellToVK::SurfaceFormat(device, FormatType::Optimal, false, format).storage) {
|
||||
return false;
|
||||
}
|
||||
return IsUnswizzleStorageFormatSupported(device, BytesPerBlock(format));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue