Do not flush multisample textures (#1973)
This commit is contained in:
parent
053dcfdb05
commit
67033ed8e0
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
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;
|
ITexture texture = HostTexture;
|
||||||
if (ScaleFactor != 1f)
|
if (ScaleFactor != 1f)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue