Implemented support for local shader constants

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-10 22:33:13 +01:00
1 親 3daafd3e16
コミット 27438f7a69
7ファイル変更
+123 -24

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

+1 -1
ファイルの表示
@@ -96,7 +96,7 @@ namespace ComputeSharp.SourceGenerators
ICollection<INamedTypeSymbol> discoveredTypes,
IDictionary<IMethodSymbol, MethodDeclarationSyntax> staticMethods)
{
ShaderSourceRewriter shaderSourceRewriter = new(semanticModel, discoveredTypes, staticMethods);
ShaderSourceRewriter shaderSourceRewriter = new(semanticModel, discoveredTypes, staticMethods, null); // TODO: implement constant support
// Rewrite the method syntax tree
var processedMethod = shaderSourceRewriter