Initial working version for [Field] source generator

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-27 13:47:54 +01:00
1 親 033bed4634
コミット ebe1859a18
2ファイル変更
+20 -25

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

+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp
/// This is necessary to be used instead of manually declare fields, so that the fields can be
/// declared with the right offset into the type data, as HLSL requires precise alignment for values.
/// </summary>
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = true)]
public sealed class FieldAttribute : Attribute
{
/// <summary>