Added WarpIds type

このコミットが含まれているのは:
Sergio Pedri committed 2021-01-13 19:35:04 +01:00
1 親 437d4a0688
コミット 073cfa64ab
5ファイル変更
+211 -3

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

+2 -1
ファイルの表示
@@ -25,7 +25,8 @@ namespace ComputeSharp.SourceGenerators.SyntaxRewriters
return updatedNode.AddParameters(
Parameter(Identifier($"uint3 {nameof(ThreadIds)} : SV_DispatchThreadID")),
Parameter(Identifier($"uint3 {nameof(GroupIds)} : SV_GroupThreadID")),
Parameter(Identifier($"uint __{nameof(GroupIds)}__get_Index : SV_GroupIndex")));
Parameter(Identifier($"uint __{nameof(GroupIds)}__get_Index : SV_GroupIndex")),
Parameter(Identifier($"uint3 {nameof(WarpIds)} : SV_GroupID")));
}
/// <inheritdoc/>