Removed unsupported noise HLSL intrinsic

このコミットが含まれているのは:
Sergio Pedri committed 2021-03-13 14:33:16 +01:00
1 親 5622a8b60a
コミット 5e80d7910e
2ファイル変更
-45

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

-27
ファイルの表示
@@ -11471,33 +11471,6 @@ namespace ComputeSharp
[HlslIntrinsicName("mul")]
public static Int4x4 Mul(Int4x4 x, Int4x4 y) => default;
/// <summary>
/// Generates a random value using the Perlin-noise algorithm.
/// </summary>
/// <param name="x">A floating-point vector from which to generate Perlin noise.</param>
/// <returns>The Perlin noise value within a range between -1 and 1.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
[Pure]
[HlslIntrinsicName("noise")]
public static float Noise(Float2 x) => default;
/// <summary>
/// Generates a random value using the Perlin-noise algorithm.
/// </summary>
/// <param name="x">A floating-point vector from which to generate Perlin noise.</param>
/// <returns>The Perlin noise value within a range between -1 and 1.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
[Pure]
[HlslIntrinsicName("noise")]
public static float Noise(Float3 x) => default;
/// <summary>
/// Generates a random value using the Perlin-noise algorithm.
/// </summary>
/// <param name="x">A floating-point vector from which to generate Perlin noise.</param>
/// <returns>The Perlin noise value within a range between -1 and 1.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
[Pure]
[HlslIntrinsicName("noise")]
public static float Noise(Float4 x) => default;
/// <summary>
/// Normalizes the specified floating-point vector according to x / length(x).
/// </summary>
/// <param name="x">The specified floating-point vector.</param>
-18
ファイルの表示
@@ -1888,24 +1888,6 @@ var Intrinsics = new[]
IsPure = true
},
new
{
Name = "Noise",
HlslName = "noise",
Summary = "Generates a random value using the Perlin-noise algorithm.",
Parameters = new[]
{
new { IsOut = false, Name = "x", Info = "A floating-point vector from which to generate Perlin noise." }
},
Returns = "The Perlin noise value within a range between -1 and 1.",
Overloads = new[]
{
new { Return = "float", Params = new[] { "Float2" } },
new { Return = "float", Params = new[] { "Float3" } },
new { Return = "float", Params = new[] { "Float4" } }
},
IsPure = true
},
new
{
Name = "Normalize",
HlslName = "normalize",