Rename HlslKnownMembers to HlslKnownProperties

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:04:32 +02:00
1 親 1de2962ae3
コミット e6673bf7c0
9ファイル変更
+46 -46

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

+1 -1
ファイルの表示
@@ -245,7 +245,7 @@ internal sealed class ShaderSourceRewriter : HlslSourceRewriter
// If the current member access is a field or property access, check the lookup table
// to see if the member should be rewritten for HLSL compliance, and rewrite if needed.
if (HlslKnownMembers.TryGetMappedName(operation.Member.ToDisplayString(), out string? mapping))
if (HlslKnownProperties.TryGetMappedName(operation.Member.ToDisplayString(), out string? mapping))
{
// Static and instance members are handled differently, with static members being
// converted into a literal expression, and instance getting an updated identifier.