Do not perform layout conversion on buffer texture flushes (#1729)

This commit is contained in:
gdkchan 2020-11-18 18:17:40 -03:00 committed by Matt Heins
commit c847e6fdb8

View file

@ -809,6 +809,8 @@ namespace Ryujinx.Graphics.Gpu.Image
}
}
if (Info.Target != Target.TextureBuffer)
{
if (Info.IsLinear)
{
data = LayoutConverter.ConvertLinearToLinearStrided(
@ -837,6 +839,7 @@ namespace Ryujinx.Graphics.Gpu.Image
_sizeInfo,
data);
}
}
return data;
}