diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.Generation.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.Generation.cs index 707826ca..362a1eb7 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.Generation.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.Generation.cs @@ -284,7 +284,7 @@ partial class ConstantBufferSyntaxProcessor { writer.WriteLine($""" /// - /// The input value. + /// The input value. /// A mutable reference to . [UnsafeAccessor(UnsafeAccessorKind.Field)] private static extern ref {typeName} {pathPart.Name}(this ref readonly {containingTypeName} value); @@ -294,7 +294,7 @@ partial class ConstantBufferSyntaxProcessor { writer.WriteLine($""" /// Gets a reference to the unspeakable field "{pathPart.Name}" of type . - /// The input value. + /// The input value. /// A mutable reference to the unspeakable field "{pathPart.Name}". [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "{pathPart.UnspeakableName}")] private static extern ref {typeName} {pathPart.Name}(this ref readonly {containingTypeName} value); diff --git a/src/ComputeSharp.SourceGenerators/ComputeShaderDescriptorGenerator.Resources.Syntax.cs b/src/ComputeSharp.SourceGenerators/ComputeShaderDescriptorGenerator.Resources.Syntax.cs index 48fc7f79..647155ee 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeShaderDescriptorGenerator.Resources.Syntax.cs +++ b/src/ComputeSharp.SourceGenerators/ComputeShaderDescriptorGenerator.Resources.Syntax.cs @@ -98,7 +98,7 @@ partial class ComputeShaderDescriptorGenerator { writer.WriteLine($""" /// - /// The input value. + /// The input value. /// A reference to . [UnsafeAccessor(UnsafeAccessorKind.Field)] private static extern ref readonly {resourceInfo.FieldType} {resourceInfo.FieldName}(this ref readonly {fullyQualifiedTypeName} value); @@ -108,7 +108,7 @@ partial class ComputeShaderDescriptorGenerator { writer.WriteLine($""" /// Gets a reference to the unspeakable field "{resourceInfo.FieldName}" of type . - /// The input value. + /// The input value. /// A reference to the unspeakable field "{resourceInfo.FieldName}". [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "{resourceInfo.UnspeakableName}")] private static extern ref readonly {resourceInfo.FieldType} {resourceInfo.FieldName}(this ref readonly {fullyQualifiedTypeName} value);