diff --git a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.cs b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.cs index d346273d..f4eb2a8e 100644 --- a/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.cs +++ b/src/ComputeSharp.SourceGeneration.Hlsl/SyntaxProcessors/ConstantBufferSyntaxProcessor.cs @@ -36,7 +36,7 @@ internal static partial class ConstantBufferSyntaxProcessor ref int constantBufferSizeInBytes, out ImmutableArray fields) { - // Helper method that uses boxes instead of ref-s (illegal in enumerators) + // Helper method to traverse the type hierarchy and append all valid fields static void GetInfo( Compilation compilation, ITypeSymbol currentTypeSymbol,