From 88d8dda2ddcdac5e165d36e9eadfca8716ab9365 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Sat, 30 Oct 2021 14:57:33 +0200 Subject: [PATCH] Fixed a build error in ShaderMethodSourceGenerator files --- .../ShaderMethodSourceGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs b/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs index a48b54fc..cfabb6a4 100644 --- a/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs +++ b/src/ComputeSharp.SourceGenerators/ShaderMethodSourceGenerator.cs @@ -77,7 +77,7 @@ public sealed partial class ShaderMethodSourceGenerator : ISourceGenerator var source = CompilationUnit().AddAttributeLists( AttributeList(SingletonSeparatedList( - Attribute(IdentifierName($"global::ComputeSharp.__Internals.{typeof(ShaderMethodSourceAttribute).FullName}")).AddArgumentListArguments( + Attribute(IdentifierName($"global::{typeof(ShaderMethodSourceAttribute).FullName}")).AddArgumentListArguments( AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(methodDeclarationSymbol.GetFullMetadataName(true)))), AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(invokeMethod))), AttributeArgument(NestedArrayExpression(processedTypes)),