Reduce accelerated unswizzle path

This commit is contained in:
CamilleLaVey
2026-09-16 18:23:20 -04:00
parent facee08b5e
commit 6221bd2c43
@@ -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));
}