aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/TextureUsageFlags.cs')
-rw-r--r--Ryujinx.Graphics.Shader/TextureUsageFlags.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/TextureUsageFlags.cs b/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
new file mode 100644
index 00000000..d9fa1a50
--- /dev/null
+++ b/Ryujinx.Graphics.Shader/TextureUsageFlags.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Ryujinx.Graphics.Shader
+{
+ /// <summary>
+ /// Flags that indicate how a texture will be used in a shader.
+ /// </summary>
+ [Flags]
+ public enum TextureUsageFlags
+ {
+ None = 0,
+
+ // Integer sampled textures must be noted for resolution scaling.
+ ResScaleUnsupported = 1 << 0
+ }
+}