More minor code style tweaks (remove extra blank lines, etc.)

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 8be9203a1c
コミット f2ed8a2d3b
22ファイル変更
+39 -38

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

@@ -44,7 +44,7 @@ partial class IShaderGenerator
.WithType(IdentifierName("TLoader")),
Parameter(Identifier("result"))
.AddModifiers(Token(SyntaxKind.OutKeyword))
.WithType(IdentifierName($"global::System.{typeof(IntPtr).Name}")))
.WithType(IdentifierName($"global::System.{nameof(IntPtr)}")))
.WithBody(Block(GetDispatchMetadataLoadingStatements(metadataInfo)));
}
@@ -122,7 +122,6 @@ partial class IShaderGenerator
statements.Add(ParseStatement($"global::System.Runtime.CompilerServices.Unsafe.WriteUnaligned<int>(ref global::System.Runtime.CompilerServices.Unsafe.Add(ref r0, 0), {metadataInfo.Root32BitConstantCount});"));
statements.Add(ParseStatement($"global::System.Runtime.CompilerServices.Unsafe.WriteUnaligned<bool>(ref global::System.Runtime.CompilerServices.Unsafe.Add(ref r0, 4), {metadataInfo.IsSamplerUsed.ToString(CultureInfo.InvariantCulture).ToLowerInvariant()});"));
// Populate the sequence of resource descriptors
foreach (ResourceDescriptor descriptor in metadataInfo.ResourceDescriptors)
{