Added draft of new aggregate shader source generator type

このコミットが含まれているのは:
Sergio Pedri committed 2021-07-12 15:58:52 +02:00
1 親 b096c70d23
コミット d4eeac8c04
6ファイル変更
+1351

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

@@ -0,0 +1,28 @@
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics.Contracts;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace ComputeSharp.SourceGenerators
{
/// <inheritdoc/>
public sealed partial class IShaderGenerator
{
/// <inheritdoc/>
private static partial MethodDeclarationSyntax CreateLoadDispatchMetadataMethod(
GeneratorExecutionContext context,
StructDeclarationSyntax structDeclaration,
INamedTypeSymbol structDeclarationSymbol,
IEnumerable<string> discoveredResources,
int root32BitConstantsCount,
bool isSamplerUsed)
{
return MethodDeclaration(IdentifierName("void"), "LoadDispatchMetadataMethod");
}
}
}