From 99b70f94f773548c67a3178053255245bd0d56d8 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 16 Aug 2019 02:14:31 +0200 Subject: [PATCH] Removed unnecessary shader body indentation --- src/ComputeSharp.Shaders/Translation/ShaderLoader.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ComputeSharp.Shaders/Translation/ShaderLoader.cs b/src/ComputeSharp.Shaders/Translation/ShaderLoader.cs index e5bdc906..c6c15b19 100644 --- a/src/ComputeSharp.Shaders/Translation/ShaderLoader.cs +++ b/src/ComputeSharp.Shaders/Translation/ShaderLoader.cs @@ -201,7 +201,6 @@ namespace ComputeSharp.Shaders.Translation // Additional preprocessing MethodBody = Regex.Replace(MethodBody, @"\d+[fFdD]", m => m.Value.Replace("f", "")); MethodBody = MethodBody.TrimEnd('\n', '\r', ' '); - MethodBody = $" {MethodBody.Replace(Environment.NewLine, $"{Environment.NewLine} ")}"; } } }