diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
index 6369f90b..91a35729 100644
--- a/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
+++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.g.cs
@@ -5229,7 +5229,7 @@ public static partial class Hlsl
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[Pure]
[HlslIntrinsicName("distance")]
- public static Float2 Distance(Float2 x, Float2 y) => default;
+ public static float Distance(Float2 x, Float2 y) => default;
///
/// Returns a distance scalar between two vectors.
@@ -5240,7 +5240,7 @@ public static partial class Hlsl
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[Pure]
[HlslIntrinsicName("distance")]
- public static Float3 Distance(Float3 x, Float3 y) => default;
+ public static float Distance(Float3 x, Float3 y) => default;
///
/// Returns a distance scalar between two vectors.
@@ -5251,7 +5251,7 @@ public static partial class Hlsl
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
[Pure]
[HlslIntrinsicName("distance")]
- public static Float4 Distance(Float4 x, Float4 y) => default;
+ public static float Distance(Float4 x, Float4 y) => default;
///
/// Returns the dot product of two vectors.
diff --git a/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude b/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
index 2c760f2d..911edb36 100644
--- a/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
+++ b/src/ComputeSharp/Core/Intrinsics/Hlsl.ttinclude
@@ -822,9 +822,9 @@ var Intrinsics = new[]
Returns = "A floating-point, scalar value that represents the distance between the {x} parameter and the {y} parameter.",
Overloads = new[]
{
- new { Return = "Float2", Params = new[] { "Float2", "Float2" } },
- new { Return = "Float3", Params = new[] { "Float3", "Float3" } },
- new { Return = "Float4", Params = new[] { "Float4", "Float4" } }
+ new { Return = "float", Params = new[] { "Float2", "Float2" } },
+ new { Return = "float", Params = new[] { "Float3", "Float3" } },
+ new { Return = "float", Params = new[] { "Float4", "Float4" } }
},
IsPure = true
},