Minor formatting tweaks to HLSL shaders

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-15 20:49:00 +01:00
1 親 45f5959bb8
コミット 3e2d956e7e
1ファイル変更
+5 -10
+5 -10
ファイルの表示
@@ -43,17 +43,12 @@ namespace ComputeSharp.Shaders.Renderer
builder.AppendLine(threadsZ.ToString());
// User defined onstants
if (info.ConstantsInfo.Count > 0)
foreach (var constant in info.ConstantsInfo)
{
builder.AppendLine();
foreach (var constant in info.ConstantsInfo)
{
builder.Append("#define ");
builder.Append(constant.Key);
builder.Append(' ');
builder.AppendLine(constant.Value);
}
builder.Append("#define ");
builder.Append(constant.Key);
builder.Append(' ');
builder.AppendLine(constant.Value);
}
// Declared types