Minor formatting tweaks to HLSL shaders
このコミットが含まれているのは:
1 親
45f5959bb8
コミット
3e2d956e7e
1ファイル変更
+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
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする