Renamed WarpIds type to GridIds

このコミットが含まれているのは:
Sergio Pedri committed 2021-03-08 00:17:27 +01:00
1 親 ebc32be071
コミット c5aed333af
9ファイル変更
+58 -58

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

+2 -2
ファイルの表示
@@ -48,9 +48,9 @@ namespace ComputeSharp.SourceGenerators.SyntaxRewriters
updatedNode = updatedNode.AddParameters(Parameter(Identifier($"uint __{nameof(GroupIds)}__get_Index : SV_GroupIndex")));
}
if (this.shaderSourceRewriter.IsWarpIdsUsed)
if (this.shaderSourceRewriter.IsGridIdsUsed)
{
updatedNode = updatedNode.AddParameters(Parameter(Identifier($"uint3 {nameof(WarpIds)} : SV_GroupID")));
updatedNode = updatedNode.AddParameters(Parameter(Identifier($"uint3 {nameof(GridIds)} : SV_GroupID")));
}
return updatedNode;