aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-07-06 16:20:06 -0300
committerGitHub <noreply@github.com>2021-07-06 21:20:06 +0200
commitd125fce3e8c780c042040ac8064155cd6751d353 (patch)
treedf64688dd517a858517da7b4da83871b59e6268b /Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs
parentb0ac1ade7fcde04f15384a329a0eca5ae9ed5065 (diff)
Allow shader language and target API to be specified on the shader translator (#2402)
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs b/Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs
new file mode 100644
index 00000000..db839e94
--- /dev/null
+++ b/Ryujinx.Graphics.Shader/Translation/TargetLanguage.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.Graphics.Shader.Translation
+{
+ public enum TargetLanguage
+ {
+ Glsl,
+ Spirv
+ }
+}