Skip warnings for shader types with no fields

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-24 00:32:27 +01:00
1 親 709197ee43
コミット 43b79bdf4b
9ファイル変更
+46 -16

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

@@ -8,12 +8,12 @@ namespace ComputeSharp.D2D1.SourceGenerators;
/// <inheritdoc/>
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed class NotReadonlyPixelShaderTypeAnalyzer : NotReadonlyShaderTypeAnalyzerBase
public sealed class NotReadOnlyPixelShaderTypeWithFieldsAnalyzer : NotReadOnlyShaderTypeWithFieldsAnalyzerBase
{
/// <summary>
/// Creates a new <see cref="NotReadonlyPixelShaderTypeAnalyzer"/> instance.
/// Creates a new <see cref="NotReadOnlyPixelShaderTypeWithFieldsAnalyzer"/> instance.
/// </summary>
public NotReadonlyPixelShaderTypeAnalyzer()
public NotReadOnlyPixelShaderTypeWithFieldsAnalyzer()
: base(NotReadOnlyShaderType, ImmutableArray.Create("ComputeSharp.D2D1.ID2D1PixelShader"))
{
}