aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-10-01 22:22:23 -0300
committerGitHub <noreply@github.com>2020-10-02 11:22:23 +1000
commit86412ed30a5e28a7c11ba30c3987bdebeeb903c1 (patch)
tree4192a36cbdae409e9a474f5ab4ca5c6516a7a4cf /Ryujinx.Graphics.Gpu/Image
parentf8c41a9a51aa5a9e30ab947cc7feb4821791f676 (diff)
Supper 2D array ASTC compressed texture formats decoding (#1593)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/Texture.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs
index fa3bd242..b1698363 100644
--- a/Ryujinx.Graphics.Gpu/Image/Texture.cs
+++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs
@@ -657,6 +657,7 @@ namespace Ryujinx.Graphics.Gpu.Image
Info.Height,
_depth,
Info.Levels,
+ _layers,
out Span<byte> decoded))
{
string texInfo = $"{Info.Target} {Info.FormatInfo.Format} {Info.Width}x{Info.Height}x{Info.DepthOrLayers} levels {Info.Levels}";