aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2023-09-25 22:07:03 +0100
committerGitHub <noreply@github.com>2023-09-25 23:07:03 +0200
commitf6c3f1cdfdb9145634be3bfc54400f0d408f36dd (patch)
treeaa3de1c788717cd76f5990550dad0f3ab3d397bf /src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
parent8026e1c804fae39561087f9e04bd5c4eefa640fa (diff)
GPU: Discard data when getting texture before full clear (#5719)1.1.1024
* GPU: Discard data when getting texture before full clear * Fix rules and order of clear checks * Fix formatting
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
index fb2a97b0..f651420a 100644
--- a/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
+++ b/src/Ryujinx.Graphics.Gpu/Image/TextureSearchFlags.cs
@@ -14,5 +14,6 @@ namespace Ryujinx.Graphics.Gpu.Image
DepthAlias = 1 << 3,
WithUpscale = 1 << 4,
NoCreate = 1 << 5,
+ DiscardData = 1 << 6,
}
}