Add extra LF in shaders with no captured values
このコミットが含まれているのは:
1 親
989f346555
コミット
f2e4dac552
1ファイル変更
+7
-5
+7
-5
@@ -505,12 +505,14 @@ partial class ID2D1ShaderGenerator
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Captured variables
|
// Captured variables
|
||||||
AppendLF();
|
if (valueFields.Any())
|
||||||
|
|
||||||
// User-defined values
|
|
||||||
foreach (var (fieldName, fieldType) in valueFields)
|
|
||||||
{
|
{
|
||||||
AppendLineAndLF($"{fieldType} {fieldName};");
|
AppendLF();
|
||||||
|
|
||||||
|
foreach (var (fieldName, fieldType) in valueFields)
|
||||||
|
{
|
||||||
|
AppendLineAndLF($"{fieldType} {fieldName};");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Forward declarations
|
// Forward declarations
|
||||||
|
|||||||
新しいイシューから参照
ユーザーをブロックする