Spacing cleanup, unrelated change.

This commit is contained in:
riperiperi 2020-05-24 17:06:45 +01:00
parent 36211f2caa
commit db2fec25c7
3 changed files with 5 additions and 9 deletions

View file

@ -7,7 +7,6 @@ namespace Ryujinx.Graphics.Gpu.Engine
{
partial class Methods
{
/// <summary>
/// Performs a buffer to buffer, or buffer to texture copy.
/// </summary>

View file

@ -84,8 +84,6 @@ namespace Ryujinx.Graphics.Gpu.Image
private int _sequenceNumber;
private bool _noSync;
/// <summary>
/// Constructs a new instance of the cached GPU texture.
/// </summary>
@ -303,7 +301,7 @@ namespace Ryujinx.Graphics.Gpu.Image
{
// Texture buffers are not handled here, instead they are invalidated (if modified)
// when the texture is bound. This is handled by the buffer manager.
if ((_sequenceNumber == _context.SequenceNumber && _hasData) || _noSync)
if ((_sequenceNumber == _context.SequenceNumber && _hasData) || Info.Target == Target.TextureBuffer)
{
return;
}
@ -1001,7 +999,6 @@ namespace Ryujinx.Graphics.Gpu.Image
_depth = info.GetDepth();
_layers = info.GetLayers();
_noSync = Info.Target == Target.TextureBuffer;
}
/// <summary>