aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-11-02 19:53:23 +0000
committerGitHub <noreply@github.com>2020-11-02 16:53:23 -0300
commite1da7df2075f45ac3d19538f7781115978282100 (patch)
treed46ae3ffedd2886adba64f1044b699f99b13f795 /Ryujinx.Graphics.Shader/TextureUsageFlags.cs
parent11a7c99764ed4e6c575c877c69ca627645702a42 (diff)
Support res scale on images, correctly blacklist for SUST, move logic out of backend. (#1657)
* Support res scale on images, correctly blacklist for SUST, move logic out of backend. * Fix Typo
Diffstat (limited to 'Ryujinx.Graphics.Shader/TextureUsageFlags.cs')
-rw-r--r--Ryujinx.Graphics.Shader/TextureUsageFlags.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/TextureUsageFlags.cs b/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
index d9fa1a50..1f024309 100644
--- a/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
+++ b/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
@@ -11,6 +11,7 @@ namespace Ryujinx.Graphics.Shader
None = 0,
// Integer sampled textures must be noted for resolution scaling.
- ResScaleUnsupported = 1 << 0
+ ResScaleUnsupported = 1 << 0,
+ NeedsScaleValue = 1 << 1
}
}