Remove downlevel paths in HLSL primitives
このコミットが含まれているのは:
1 親
cc7860416a
コミット
bdd97a750d
17ファイル変更
+1
-69
検索条件に一致するファイルはありません
@@ -48,7 +48,7 @@ public readonly struct Bool
|
||||
return ((bool)this).ToString(formatProvider);
|
||||
}
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
#if !SOURCE_GENERATOR
|
||||
/// <inheritdoc cref="bool.TryFormat(Span{char}, out int)"/>
|
||||
public bool TryFormat(Span<char> destination, out int charsWritten)
|
||||
{
|
||||
|
||||
@@ -461,16 +461,12 @@ public unsafe partial struct Bool2
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Bool4 GGGG => ref *(Bool4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
return $"<{this.x != 0}, {this.y != 0}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Bool2"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -1727,16 +1727,12 @@ public unsafe partial struct Bool3
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Bool4 BBBB => ref *(Bool4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
return $"<{this.x != 0}, {this.y != 0}, {this.z != 0}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Bool3"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -4813,16 +4813,12 @@ public unsafe partial struct Bool4
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Bool4 AAAA => ref *(Bool4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
return $"<{this.x != 0}, {this.y != 0}, {this.z != 0}, {this.w != 0}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Bool4"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -463,8 +463,6 @@ public unsafe partial struct Double2
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Double4 GGGG => ref *(Double4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -473,8 +471,6 @@ public unsafe partial struct Double2
|
||||
return $"<{this.x}{separator} {this.y}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Double2"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -1729,8 +1729,6 @@ public unsafe partial struct Double3
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Double4 BBBB => ref *(Double4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -1739,8 +1737,6 @@ public unsafe partial struct Double3
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Double3"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -4815,8 +4815,6 @@ public unsafe partial struct Double4
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Double4 AAAA => ref *(Double4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -4825,8 +4823,6 @@ public unsafe partial struct Double4
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}{separator} {this.w}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Double4"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -464,8 +464,6 @@ public unsafe partial struct Float2
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Float4 GGGG => ref *(Float4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -474,8 +472,6 @@ public unsafe partial struct Float2
|
||||
return $"<{this.x}{separator} {this.y}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Float2"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -1730,8 +1730,6 @@ public unsafe partial struct Float3
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Float4 BBBB => ref *(Float4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -1740,8 +1738,6 @@ public unsafe partial struct Float3
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Float3"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -4816,8 +4816,6 @@ public unsafe partial struct Float4
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Float4 AAAA => ref *(Float4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -4826,8 +4824,6 @@ public unsafe partial struct Float4
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}{separator} {this.w}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Float4"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -464,8 +464,6 @@ public unsafe partial struct Int2
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Int4 GGGG => ref *(Int4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -474,8 +472,6 @@ public unsafe partial struct Int2
|
||||
return $"<{this.x}{separator} {this.y}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Int2"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -1730,8 +1730,6 @@ public unsafe partial struct Int3
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Int4 BBBB => ref *(Int4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -1740,8 +1738,6 @@ public unsafe partial struct Int3
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Int3"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -4816,8 +4816,6 @@ public unsafe partial struct Int4
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly Int4 AAAA => ref *(Int4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -4826,8 +4824,6 @@ public unsafe partial struct Int4
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}{separator} {this.w}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Negates a <see cref="Int4"/> value.
|
||||
/// </summary>
|
||||
|
||||
@@ -463,8 +463,6 @@ public unsafe partial struct UInt2
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly UInt4 GGGG => ref *(UInt4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -473,8 +471,6 @@ public unsafe partial struct UInt2
|
||||
return $"<{this.x}{separator} {this.y}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2"/> values.
|
||||
/// </summary>
|
||||
|
||||
@@ -1729,8 +1729,6 @@ public unsafe partial struct UInt3
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly UInt4 BBBB => ref *(UInt4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -1739,8 +1737,6 @@ public unsafe partial struct UInt3
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3"/> values.
|
||||
/// </summary>
|
||||
|
||||
@@ -4815,8 +4815,6 @@ public unsafe partial struct UInt4
|
||||
[UnscopedRef]
|
||||
public readonly ref readonly UInt4 AAAA => ref *(UInt4*)UndefinedData.Memory;
|
||||
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override readonly string ToString()
|
||||
{
|
||||
@@ -4825,8 +4823,6 @@ public unsafe partial struct UInt4
|
||||
return $"<{this.x}{separator} {this.y}{separator} {this.z}{separator} {this.w}>";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt4"/> values.
|
||||
/// </summary>
|
||||
|
||||
@@ -229,10 +229,6 @@ public unsafe partial struct <#=typeName#>
|
||||
PopIndent();
|
||||
WriteLine("");
|
||||
|
||||
#>
|
||||
#if !SOURCE_GENERATOR
|
||||
|
||||
<#
|
||||
if (elementTypeName == "Bool")
|
||||
{
|
||||
#>
|
||||
@@ -256,10 +252,6 @@ public unsafe partial struct <#=typeName#>
|
||||
<#
|
||||
}
|
||||
|
||||
#>
|
||||
|
||||
#endif
|
||||
<#
|
||||
// Generate the negation operator
|
||||
if (elementTypeName != "UInt")
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする