diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
index c15abc27..e74bba24 100644
--- a/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
+++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
@@ -12016,7 +12016,7 @@ public static partial class Hlsl
/// The normalized parameter. If the length of the parameter is 0, the result is indefinite.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[HlslIntrinsicName("normalize")]
- public static float Normalize(Float2 x) => default;
+ public static float Normalize(float x) => default;
///
/// Normalizes the specified floating-point vector according to x / length(x).
@@ -12025,7 +12025,7 @@ public static partial class Hlsl
/// The normalized parameter. If the length of the parameter is 0, the result is indefinite.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[HlslIntrinsicName("normalize")]
- public static float Normalize(Float3 x) => default;
+ public static Float2 Normalize(Float2 x) => default;
///
/// Normalizes the specified floating-point vector according to x / length(x).
@@ -12034,7 +12034,16 @@ public static partial class Hlsl
/// The normalized parameter. If the length of the parameter is 0, the result is indefinite.
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[HlslIntrinsicName("normalize")]
- public static float Normalize(Float4 x) => default;
+ public static Float3 Normalize(Float3 x) => default;
+
+ ///
+ /// Normalizes the specified floating-point vector according to x / length(x).
+ ///
+ /// The specified floating-point vector.
+ /// The normalized parameter. If the length of the parameter is 0, the result is indefinite.
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ [HlslIntrinsicName("normalize")]
+ public static Float4 Normalize(Float4 x) => default;
///
/// Returns the specified value raised to the specified power.
diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude b/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
index 0195c977..c6b47260 100644
--- a/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
+++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
@@ -1916,9 +1916,10 @@ var Intrinsics = new[]
Returns = "The normalized {x} parameter. If the length of the {x} parameter is 0, the result is indefinite.",
Overloads = new[]
{
- new { Return = "float", Params = new[] { "Float2" } },
- new { Return = "float", Params = new[] { "Float3" } },
- new { Return = "float", Params = new[] { "Float4" } }
+ new { Return = "float", Params = new[] { "float" } },
+ new { Return = "Float2", Params = new[] { "Float2" } },
+ new { Return = "Float3", Params = new[] { "Float3" } },
+ new { Return = "Float4", Params = new[] { "Float4" } }
}
},
new