aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-07 18:31:17 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit6b13c5b439a54d0bb0139a2e33a2f76707db5fe7 (patch)
tree00ff3f8c7ac2dc7e499a52434fa2f96460387c95 /Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs
parent7ce5584f9e0d86f17ea4fc781483f60cfa288340 (diff)
Support bindless texture gather shader instruction
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs b/Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs
new file mode 100644
index 00000000..55d1225a
--- /dev/null
+++ b/Ryujinx.Graphics.Shader/Decoders/IOpCodeTexture.cs
@@ -0,0 +1,23 @@
+namespace Ryujinx.Graphics.Shader.Decoders
+{
+ interface IOpCodeTexture : IOpCode
+ {
+ Register Rd { get; }
+ Register Ra { get; }
+ Register Rb { get; }
+
+ bool IsArray { get; }
+
+ TextureDimensions Dimensions { get; }
+
+ int ComponentMask { get; }
+
+ int Immediate { get; }
+
+ TextureLodMode LodMode { get; }
+
+ bool HasOffset { get; }
+ bool HasDepthCompare { get; }
+ bool IsMultisample { get; }
+ }
+} \ No newline at end of file