Fixed source generator unit tests
このコミットが含まれているのは:
1 親
3147e8fade
コミット
b330616aa9
2ファイル変更
+8
-39
検索条件に一致するファイルはありません
@@ -206,6 +206,10 @@ namespace ComputeSharp.SourceGenerators
|
||||
continue;
|
||||
}
|
||||
|
||||
AttributeData? attribute = fieldSymbol.GetAttributes().FirstOrDefault(static a => a.AttributeClass is { Name: nameof(GroupSharedAttribute) });
|
||||
|
||||
if (attribute is not null) continue;
|
||||
|
||||
// Constant properties must be of a primitive, vector or matrix type
|
||||
if (fieldSymbol.Type is not INamedTypeSymbol typeSymbol ||
|
||||
!HlslKnownTypes.IsKnownHlslType(typeSymbol.GetFullMetadataName()))
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする