mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-06 14:09:58 +00:00
Reduce accelerated unswizzle path
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user