Ryujinx/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
riperiperi f6c3f1cdfd
GPU: Discard data when getting texture before full clear (#5719)
* GPU: Discard data when getting texture before full clear

* Fix rules and order of clear checks

* Fix formatting
2023-09-25 23:07:03 +02:00

19 lines
410 B
C#

using System;
namespace Ryujinx.Graphics.Gpu.Image
{
/// <summary>
/// Texture search flags, defines texture information comparison rules.
/// </summary>
[Flags]
enum TextureSearchFlags
{
None = 0,
ForSampler = 1 << 1,
ForCopy = 1 << 2,
DepthAlias = 1 << 3,
WithUpscale = 1 << 4,
NoCreate = 1 << 5,
DiscardData = 1 << 6,
}
}