Simplify creating source generator builder types

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-09 13:31:41 +02:00
1 親 26934553f6
コミット 7506cab338
27ファイル変更
+58 -88

検索条件に一致するファイルはありません

@@ -124,7 +124,7 @@ partial class D2DPixelShaderDescriptorGenerator
// each row needs to be at a multiple of 16 bytes (a float4 register).
if (HlslKnownTypes.IsNonLinearMatrixType(typeName, out string? elementName, out int rows, out int columns))
{
using ImmutableArrayBuilder<int> builder = ImmutableArrayBuilder<int>.Rent();
using ImmutableArrayBuilder<int> builder = new();
for (int j = 0; j < rows; j++)
{