Do not perform layout conversion on buffer texture flushes (#1729)
This commit is contained in:
parent
0679084f11
commit
7f536b5a15
1 changed files with 29 additions and 26 deletions
|
@ -809,6 +809,8 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Info.Target != Target.TextureBuffer)
|
||||||
|
{
|
||||||
if (Info.IsLinear)
|
if (Info.IsLinear)
|
||||||
{
|
{
|
||||||
data = LayoutConverter.ConvertLinearToLinearStrided(
|
data = LayoutConverter.ConvertLinearToLinearStrided(
|
||||||
|
@ -837,6 +839,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
_sizeInfo,
|
_sizeInfo,
|
||||||
data);
|
data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue