aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.Graphics.Gpu/Image/Texture.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs
index 3c576cb7..6dfe4628 100644
--- a/Ryujinx.Graphics.Gpu/Image/Texture.cs
+++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs
@@ -723,6 +723,12 @@ namespace Ryujinx.Graphics.Gpu.Image
return; // Flushing this format is not supported, as it may have been converted to another host format.
}
+ if (Info.Target == Target.Texture2DMultisample ||
+ Info.Target == Target.Texture2DMultisampleArray)
+ {
+ return; // Flushing multisample textures is not supported, the host does not allow getting their data.
+ }
+
ITexture texture = HostTexture;
if (ScaleFactor != 1f)
{