mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-01-22 17:11:40 +00:00
Spacing cleanup, unrelated change.
This commit is contained in:
parent
36211f2caa
commit
db2fec25c7
|
@ -7,7 +7,6 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||||
{
|
{
|
||||||
partial class Methods
|
partial class Methods
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Performs a buffer to buffer, or buffer to texture copy.
|
/// Performs a buffer to buffer, or buffer to texture copy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -84,8 +84,6 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
|
|
||||||
private int _sequenceNumber;
|
private int _sequenceNumber;
|
||||||
|
|
||||||
private bool _noSync;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a new instance of the cached GPU texture.
|
/// Constructs a new instance of the cached GPU texture.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -303,7 +301,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
{
|
{
|
||||||
// Texture buffers are not handled here, instead they are invalidated (if modified)
|
// Texture buffers are not handled here, instead they are invalidated (if modified)
|
||||||
// when the texture is bound. This is handled by the buffer manager.
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1001,7 +999,6 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
|
|
||||||
_depth = info.GetDepth();
|
_depth = info.GetDepth();
|
||||||
_layers = info.GetLayers();
|
_layers = info.GetLayers();
|
||||||
_noSync = Info.Target == Target.TextureBuffer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue