Просмотр исходного кода

Enable parallel ASTC decoding by default (#1930)

gdkchan 5 лет назад
Родитель
Сommit
b8353f5639
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Ryujinx.Graphics.Gpu/Image/Texture.cs

+ 1 - 1
Ryujinx.Graphics.Gpu/Image/Texture.cs

@@ -646,7 +646,7 @@ namespace Ryujinx.Graphics.Gpu.Image
             // - BC4/BC5 is not supported on 3D textures.
             if (!_context.Capabilities.SupportsAstcCompression && Info.FormatInfo.Format.IsAstc())
             {
-                if (!AstcDecoder.TryDecodeToRgba8(
+                if (!AstcDecoder.TryDecodeToRgba8P(
                     data.ToArray(),
                     Info.FormatInfo.BlockWidth,
                     Info.FormatInfo.BlockHeight,