aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/SamplerType.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-02 23:07:21 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit3ab5c23f492183ae6f5cf8f62c4239bf181d2630 (patch)
tree288daa576efbbe3220d835834acd562dff7d6cbd /Ryujinx.Graphics.Shader/SamplerType.cs
parent63345a3098e05e0d0692bc46852dfbfccfdcfae2 (diff)
Add partial support for array of samplers, and add pass to identify them from bindless texture accesses
Diffstat (limited to 'Ryujinx.Graphics.Shader/SamplerType.cs')
-rw-r--r--Ryujinx.Graphics.Shader/SamplerType.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Shader/SamplerType.cs b/Ryujinx.Graphics.Shader/SamplerType.cs
index 42854c97..5e0b776c 100644
--- a/Ryujinx.Graphics.Shader/SamplerType.cs
+++ b/Ryujinx.Graphics.Shader/SamplerType.cs
@@ -14,8 +14,9 @@ namespace Ryujinx.Graphics.Shader
Mask = 0xff,
Array = 1 << 8,
- Multisample = 1 << 9,
- Shadow = 1 << 10
+ Indexed = 1 << 9,
+ Multisample = 1 << 10,
+ Shadow = 1 << 11
}
static class SamplerTypeExtensions