فهرست منبع

Do not flush multisample textures (#1973)

gdkchan 5 سال پیش
والد
کامیت
67033ed8e0
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      Ryujinx.Graphics.Gpu/Image/Texture.cs

+ 6 - 0
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)
                 {