Enabled rewriting of custom struct captures

このコミットが含まれているのは:
Sergio Pedri committed 2021-03-11 18:24:29 +01:00
1 親 243f255699
コミット 54a8b8a4e8
3ファイル変更
+39 -26

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

+5
ファイルの表示
@@ -161,6 +161,11 @@ namespace ComputeSharp.SourceGenerators
continue;
}
else if (!HlslKnownTypes.IsKnownHlslType(metadataName))
{
// Track the type if it's a custom struct
types.Add(typeSymbol);
}
string typeName = HlslKnownTypes.GetMappedName(typeSymbol);