aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vulkan/Shader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/Shader.cs')
-rw-r--r--Ryujinx.Graphics.Vulkan/Shader.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Vulkan/Shader.cs b/Ryujinx.Graphics.Vulkan/Shader.cs
index 26d0ca40..ca99ebf0 100644
--- a/Ryujinx.Graphics.Vulkan/Shader.cs
+++ b/Ryujinx.Graphics.Vulkan/Shader.cs
@@ -76,10 +76,6 @@ namespace Ryujinx.Graphics.Vulkan
private unsafe static byte[] GlslToSpirv(string glsl, ShaderStage stage)
{
- // TODO: We should generate the correct code on the shader translator instead of doing this compensation.
- glsl = glsl.Replace("gl_VertexID", "(gl_VertexIndex - gl_BaseVertex)");
- glsl = glsl.Replace("gl_InstanceID", "(gl_InstanceIndex - gl_BaseInstance)");
-
Options options;
lock (_shaderOptionsLock)