diff --git a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
index d85e1295..5a5b0df5 100644
--- a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
+++ b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
@@ -23,4 +23,9 @@ internal sealed class HlslIntrinsicNameAttribute : Attribute
/// Gets the name of the HLSL intrinsic.
///
public string Name { get; }
+
+ ///
+ /// Gets whether or not matching parameters is also required to extract the name of this intrinsic.
+ ///
+ public bool RequiresParametersMatching { get; init; }
}
diff --git a/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.g.cs b/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.g.cs
index 102c7d17..937ed920 100644
--- a/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.g.cs
+++ b/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.g.cs
@@ -11,7 +11,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool")]
+ [HlslIntrinsicName("bool", RequiresParametersMatching = true)]
public static bool FloatToBool(float x) => default;
///
@@ -20,7 +20,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2")]
+ [HlslIntrinsicName("bool2", RequiresParametersMatching = true)]
public static Bool2 FloatToBool(Float2 x) => default;
///
@@ -29,7 +29,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3")]
+ [HlslIntrinsicName("bool3", RequiresParametersMatching = true)]
public static Bool3 FloatToBool(Float3 x) => default;
///
@@ -38,7 +38,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4")]
+ [HlslIntrinsicName("bool4", RequiresParametersMatching = true)]
public static Bool4 FloatToBool(Float4 x) => default;
///
@@ -47,7 +47,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x1")]
+ [HlslIntrinsicName("bool1x1", RequiresParametersMatching = true)]
public static Bool1x1 FloatToBool(Float1x1 x) => default;
///
@@ -56,7 +56,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x2")]
+ [HlslIntrinsicName("bool1x2", RequiresParametersMatching = true)]
public static Bool1x2 FloatToBool(Float1x2 x) => default;
///
@@ -65,7 +65,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x3")]
+ [HlslIntrinsicName("bool1x3", RequiresParametersMatching = true)]
public static Bool1x3 FloatToBool(Float1x3 x) => default;
///
@@ -74,7 +74,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x4")]
+ [HlslIntrinsicName("bool1x4", RequiresParametersMatching = true)]
public static Bool1x4 FloatToBool(Float1x4 x) => default;
///
@@ -83,7 +83,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x1")]
+ [HlslIntrinsicName("bool2x1", RequiresParametersMatching = true)]
public static Bool2x1 FloatToBool(Float2x1 x) => default;
///
@@ -92,7 +92,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x2")]
+ [HlslIntrinsicName("bool2x2", RequiresParametersMatching = true)]
public static Bool2x2 FloatToBool(Float2x2 x) => default;
///
@@ -101,7 +101,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x3")]
+ [HlslIntrinsicName("bool2x3", RequiresParametersMatching = true)]
public static Bool2x3 FloatToBool(Float2x3 x) => default;
///
@@ -110,7 +110,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x4")]
+ [HlslIntrinsicName("bool2x4", RequiresParametersMatching = true)]
public static Bool2x4 FloatToBool(Float2x4 x) => default;
///
@@ -119,7 +119,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x1")]
+ [HlslIntrinsicName("bool3x1", RequiresParametersMatching = true)]
public static Bool3x1 FloatToBool(Float3x1 x) => default;
///
@@ -128,7 +128,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x2")]
+ [HlslIntrinsicName("bool3x2", RequiresParametersMatching = true)]
public static Bool3x2 FloatToBool(Float3x2 x) => default;
///
@@ -137,7 +137,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x3")]
+ [HlslIntrinsicName("bool3x3", RequiresParametersMatching = true)]
public static Bool3x3 FloatToBool(Float3x3 x) => default;
///
@@ -146,7 +146,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x4")]
+ [HlslIntrinsicName("bool3x4", RequiresParametersMatching = true)]
public static Bool3x4 FloatToBool(Float3x4 x) => default;
///
@@ -155,7 +155,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x1")]
+ [HlslIntrinsicName("bool4x1", RequiresParametersMatching = true)]
public static Bool4x1 FloatToBool(Float4x1 x) => default;
///
@@ -164,7 +164,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x2")]
+ [HlslIntrinsicName("bool4x2", RequiresParametersMatching = true)]
public static Bool4x2 FloatToBool(Float4x2 x) => default;
///
@@ -173,7 +173,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x3")]
+ [HlslIntrinsicName("bool4x3", RequiresParametersMatching = true)]
public static Bool4x3 FloatToBool(Float4x3 x) => default;
///
@@ -182,7 +182,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x4")]
+ [HlslIntrinsicName("bool4x4", RequiresParametersMatching = true)]
public static Bool4x4 FloatToBool(Float4x4 x) => default;
///
/// Converts the input value into a value (non-zero elements map to , zero elements map to ).
@@ -190,7 +190,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool")]
+ [HlslIntrinsicName("bool", RequiresParametersMatching = true)]
public static bool DoubleToBool(double x) => default;
///
@@ -199,7 +199,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2")]
+ [HlslIntrinsicName("bool2", RequiresParametersMatching = true)]
public static Bool2 DoubleToBool(Double2 x) => default;
///
@@ -208,7 +208,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3")]
+ [HlslIntrinsicName("bool3", RequiresParametersMatching = true)]
public static Bool3 DoubleToBool(Double3 x) => default;
///
@@ -217,7 +217,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4")]
+ [HlslIntrinsicName("bool4", RequiresParametersMatching = true)]
public static Bool4 DoubleToBool(Double4 x) => default;
///
@@ -226,7 +226,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x1")]
+ [HlslIntrinsicName("bool1x1", RequiresParametersMatching = true)]
public static Bool1x1 DoubleToBool(Double1x1 x) => default;
///
@@ -235,7 +235,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x2")]
+ [HlslIntrinsicName("bool1x2", RequiresParametersMatching = true)]
public static Bool1x2 DoubleToBool(Double1x2 x) => default;
///
@@ -244,7 +244,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x3")]
+ [HlslIntrinsicName("bool1x3", RequiresParametersMatching = true)]
public static Bool1x3 DoubleToBool(Double1x3 x) => default;
///
@@ -253,7 +253,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x4")]
+ [HlslIntrinsicName("bool1x4", RequiresParametersMatching = true)]
public static Bool1x4 DoubleToBool(Double1x4 x) => default;
///
@@ -262,7 +262,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x1")]
+ [HlslIntrinsicName("bool2x1", RequiresParametersMatching = true)]
public static Bool2x1 DoubleToBool(Double2x1 x) => default;
///
@@ -271,7 +271,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x2")]
+ [HlslIntrinsicName("bool2x2", RequiresParametersMatching = true)]
public static Bool2x2 DoubleToBool(Double2x2 x) => default;
///
@@ -280,7 +280,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x3")]
+ [HlslIntrinsicName("bool2x3", RequiresParametersMatching = true)]
public static Bool2x3 DoubleToBool(Double2x3 x) => default;
///
@@ -289,7 +289,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x4")]
+ [HlslIntrinsicName("bool2x4", RequiresParametersMatching = true)]
public static Bool2x4 DoubleToBool(Double2x4 x) => default;
///
@@ -298,7 +298,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x1")]
+ [HlslIntrinsicName("bool3x1", RequiresParametersMatching = true)]
public static Bool3x1 DoubleToBool(Double3x1 x) => default;
///
@@ -307,7 +307,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x2")]
+ [HlslIntrinsicName("bool3x2", RequiresParametersMatching = true)]
public static Bool3x2 DoubleToBool(Double3x2 x) => default;
///
@@ -316,7 +316,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x3")]
+ [HlslIntrinsicName("bool3x3", RequiresParametersMatching = true)]
public static Bool3x3 DoubleToBool(Double3x3 x) => default;
///
@@ -325,7 +325,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x4")]
+ [HlslIntrinsicName("bool3x4", RequiresParametersMatching = true)]
public static Bool3x4 DoubleToBool(Double3x4 x) => default;
///
@@ -334,7 +334,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x1")]
+ [HlslIntrinsicName("bool4x1", RequiresParametersMatching = true)]
public static Bool4x1 DoubleToBool(Double4x1 x) => default;
///
@@ -343,7 +343,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x2")]
+ [HlslIntrinsicName("bool4x2", RequiresParametersMatching = true)]
public static Bool4x2 DoubleToBool(Double4x2 x) => default;
///
@@ -352,7 +352,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x3")]
+ [HlslIntrinsicName("bool4x3", RequiresParametersMatching = true)]
public static Bool4x3 DoubleToBool(Double4x3 x) => default;
///
@@ -361,7 +361,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x4")]
+ [HlslIntrinsicName("bool4x4", RequiresParametersMatching = true)]
public static Bool4x4 DoubleToBool(Double4x4 x) => default;
///
/// Converts the input value into a value (non-zero elements map to , zero elements map to ).
@@ -369,7 +369,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool")]
+ [HlslIntrinsicName("bool", RequiresParametersMatching = true)]
public static bool IntToBool(int x) => default;
///
@@ -378,7 +378,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2")]
+ [HlslIntrinsicName("bool2", RequiresParametersMatching = true)]
public static Bool2 IntToBool(Int2 x) => default;
///
@@ -387,7 +387,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3")]
+ [HlslIntrinsicName("bool3", RequiresParametersMatching = true)]
public static Bool3 IntToBool(Int3 x) => default;
///
@@ -396,7 +396,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4")]
+ [HlslIntrinsicName("bool4", RequiresParametersMatching = true)]
public static Bool4 IntToBool(Int4 x) => default;
///
@@ -405,7 +405,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x1")]
+ [HlslIntrinsicName("bool1x1", RequiresParametersMatching = true)]
public static Bool1x1 IntToBool(Int1x1 x) => default;
///
@@ -414,7 +414,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x2")]
+ [HlslIntrinsicName("bool1x2", RequiresParametersMatching = true)]
public static Bool1x2 IntToBool(Int1x2 x) => default;
///
@@ -423,7 +423,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x3")]
+ [HlslIntrinsicName("bool1x3", RequiresParametersMatching = true)]
public static Bool1x3 IntToBool(Int1x3 x) => default;
///
@@ -432,7 +432,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x4")]
+ [HlslIntrinsicName("bool1x4", RequiresParametersMatching = true)]
public static Bool1x4 IntToBool(Int1x4 x) => default;
///
@@ -441,7 +441,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x1")]
+ [HlslIntrinsicName("bool2x1", RequiresParametersMatching = true)]
public static Bool2x1 IntToBool(Int2x1 x) => default;
///
@@ -450,7 +450,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x2")]
+ [HlslIntrinsicName("bool2x2", RequiresParametersMatching = true)]
public static Bool2x2 IntToBool(Int2x2 x) => default;
///
@@ -459,7 +459,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x3")]
+ [HlslIntrinsicName("bool2x3", RequiresParametersMatching = true)]
public static Bool2x3 IntToBool(Int2x3 x) => default;
///
@@ -468,7 +468,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x4")]
+ [HlslIntrinsicName("bool2x4", RequiresParametersMatching = true)]
public static Bool2x4 IntToBool(Int2x4 x) => default;
///
@@ -477,7 +477,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x1")]
+ [HlslIntrinsicName("bool3x1", RequiresParametersMatching = true)]
public static Bool3x1 IntToBool(Int3x1 x) => default;
///
@@ -486,7 +486,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x2")]
+ [HlslIntrinsicName("bool3x2", RequiresParametersMatching = true)]
public static Bool3x2 IntToBool(Int3x2 x) => default;
///
@@ -495,7 +495,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x3")]
+ [HlslIntrinsicName("bool3x3", RequiresParametersMatching = true)]
public static Bool3x3 IntToBool(Int3x3 x) => default;
///
@@ -504,7 +504,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x4")]
+ [HlslIntrinsicName("bool3x4", RequiresParametersMatching = true)]
public static Bool3x4 IntToBool(Int3x4 x) => default;
///
@@ -513,7 +513,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x1")]
+ [HlslIntrinsicName("bool4x1", RequiresParametersMatching = true)]
public static Bool4x1 IntToBool(Int4x1 x) => default;
///
@@ -522,7 +522,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x2")]
+ [HlslIntrinsicName("bool4x2", RequiresParametersMatching = true)]
public static Bool4x2 IntToBool(Int4x2 x) => default;
///
@@ -531,7 +531,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x3")]
+ [HlslIntrinsicName("bool4x3", RequiresParametersMatching = true)]
public static Bool4x3 IntToBool(Int4x3 x) => default;
///
@@ -540,7 +540,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x4")]
+ [HlslIntrinsicName("bool4x4", RequiresParametersMatching = true)]
public static Bool4x4 IntToBool(Int4x4 x) => default;
///
/// Converts the input value into a value (non-zero elements map to , zero elements map to ).
@@ -548,7 +548,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool")]
+ [HlslIntrinsicName("bool", RequiresParametersMatching = true)]
public static bool UIntToBool(uint x) => default;
///
@@ -557,7 +557,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2")]
+ [HlslIntrinsicName("bool2", RequiresParametersMatching = true)]
public static Bool2 UIntToBool(UInt2 x) => default;
///
@@ -566,7 +566,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3")]
+ [HlslIntrinsicName("bool3", RequiresParametersMatching = true)]
public static Bool3 UIntToBool(UInt3 x) => default;
///
@@ -575,7 +575,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4")]
+ [HlslIntrinsicName("bool4", RequiresParametersMatching = true)]
public static Bool4 UIntToBool(UInt4 x) => default;
///
@@ -584,7 +584,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x1")]
+ [HlslIntrinsicName("bool1x1", RequiresParametersMatching = true)]
public static Bool1x1 UIntToBool(UInt1x1 x) => default;
///
@@ -593,7 +593,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x2")]
+ [HlslIntrinsicName("bool1x2", RequiresParametersMatching = true)]
public static Bool1x2 UIntToBool(UInt1x2 x) => default;
///
@@ -602,7 +602,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x3")]
+ [HlslIntrinsicName("bool1x3", RequiresParametersMatching = true)]
public static Bool1x3 UIntToBool(UInt1x3 x) => default;
///
@@ -611,7 +611,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool1x4")]
+ [HlslIntrinsicName("bool1x4", RequiresParametersMatching = true)]
public static Bool1x4 UIntToBool(UInt1x4 x) => default;
///
@@ -620,7 +620,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x1")]
+ [HlslIntrinsicName("bool2x1", RequiresParametersMatching = true)]
public static Bool2x1 UIntToBool(UInt2x1 x) => default;
///
@@ -629,7 +629,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x2")]
+ [HlslIntrinsicName("bool2x2", RequiresParametersMatching = true)]
public static Bool2x2 UIntToBool(UInt2x2 x) => default;
///
@@ -638,7 +638,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x3")]
+ [HlslIntrinsicName("bool2x3", RequiresParametersMatching = true)]
public static Bool2x3 UIntToBool(UInt2x3 x) => default;
///
@@ -647,7 +647,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool2x4")]
+ [HlslIntrinsicName("bool2x4", RequiresParametersMatching = true)]
public static Bool2x4 UIntToBool(UInt2x4 x) => default;
///
@@ -656,7 +656,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x1")]
+ [HlslIntrinsicName("bool3x1", RequiresParametersMatching = true)]
public static Bool3x1 UIntToBool(UInt3x1 x) => default;
///
@@ -665,7 +665,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x2")]
+ [HlslIntrinsicName("bool3x2", RequiresParametersMatching = true)]
public static Bool3x2 UIntToBool(UInt3x2 x) => default;
///
@@ -674,7 +674,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x3")]
+ [HlslIntrinsicName("bool3x3", RequiresParametersMatching = true)]
public static Bool3x3 UIntToBool(UInt3x3 x) => default;
///
@@ -683,7 +683,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool3x4")]
+ [HlslIntrinsicName("bool3x4", RequiresParametersMatching = true)]
public static Bool3x4 UIntToBool(UInt3x4 x) => default;
///
@@ -692,7 +692,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x1")]
+ [HlslIntrinsicName("bool4x1", RequiresParametersMatching = true)]
public static Bool4x1 UIntToBool(UInt4x1 x) => default;
///
@@ -701,7 +701,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x2")]
+ [HlslIntrinsicName("bool4x2", RequiresParametersMatching = true)]
public static Bool4x2 UIntToBool(UInt4x2 x) => default;
///
@@ -710,7 +710,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x3")]
+ [HlslIntrinsicName("bool4x3", RequiresParametersMatching = true)]
public static Bool4x3 UIntToBool(UInt4x3 x) => default;
///
@@ -719,7 +719,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("bool4x4")]
+ [HlslIntrinsicName("bool4x4", RequiresParametersMatching = true)]
public static Bool4x4 UIntToBool(UInt4x4 x) => default;
///
@@ -728,7 +728,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float")]
+ [HlslIntrinsicName("float", RequiresParametersMatching = true)]
public static float BoolToFloat(bool x) => default;
///
@@ -737,7 +737,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float2")]
+ [HlslIntrinsicName("float2", RequiresParametersMatching = true)]
public static Float2 BoolToFloat(Bool2 x) => default;
///
@@ -746,7 +746,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float3")]
+ [HlslIntrinsicName("float3", RequiresParametersMatching = true)]
public static Float3 BoolToFloat(Bool3 x) => default;
///
@@ -755,7 +755,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float4")]
+ [HlslIntrinsicName("float4", RequiresParametersMatching = true)]
public static Float4 BoolToFloat(Bool4 x) => default;
///
@@ -764,7 +764,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float1x1")]
+ [HlslIntrinsicName("float1x1", RequiresParametersMatching = true)]
public static Float1x1 BoolToFloat(Bool1x1 x) => default;
///
@@ -773,7 +773,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float1x2")]
+ [HlslIntrinsicName("float1x2", RequiresParametersMatching = true)]
public static Float1x2 BoolToFloat(Bool1x2 x) => default;
///
@@ -782,7 +782,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float1x3")]
+ [HlslIntrinsicName("float1x3", RequiresParametersMatching = true)]
public static Float1x3 BoolToFloat(Bool1x3 x) => default;
///
@@ -791,7 +791,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float1x4")]
+ [HlslIntrinsicName("float1x4", RequiresParametersMatching = true)]
public static Float1x4 BoolToFloat(Bool1x4 x) => default;
///
@@ -800,7 +800,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float2x1")]
+ [HlslIntrinsicName("float2x1", RequiresParametersMatching = true)]
public static Float2x1 BoolToFloat(Bool2x1 x) => default;
///
@@ -809,7 +809,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float2x2")]
+ [HlslIntrinsicName("float2x2", RequiresParametersMatching = true)]
public static Float2x2 BoolToFloat(Bool2x2 x) => default;
///
@@ -818,7 +818,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float2x3")]
+ [HlslIntrinsicName("float2x3", RequiresParametersMatching = true)]
public static Float2x3 BoolToFloat(Bool2x3 x) => default;
///
@@ -827,7 +827,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float2x4")]
+ [HlslIntrinsicName("float2x4", RequiresParametersMatching = true)]
public static Float2x4 BoolToFloat(Bool2x4 x) => default;
///
@@ -836,7 +836,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float3x1")]
+ [HlslIntrinsicName("float3x1", RequiresParametersMatching = true)]
public static Float3x1 BoolToFloat(Bool3x1 x) => default;
///
@@ -845,7 +845,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float3x2")]
+ [HlslIntrinsicName("float3x2", RequiresParametersMatching = true)]
public static Float3x2 BoolToFloat(Bool3x2 x) => default;
///
@@ -854,7 +854,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float3x3")]
+ [HlslIntrinsicName("float3x3", RequiresParametersMatching = true)]
public static Float3x3 BoolToFloat(Bool3x3 x) => default;
///
@@ -863,7 +863,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float3x4")]
+ [HlslIntrinsicName("float3x4", RequiresParametersMatching = true)]
public static Float3x4 BoolToFloat(Bool3x4 x) => default;
///
@@ -872,7 +872,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float4x1")]
+ [HlslIntrinsicName("float4x1", RequiresParametersMatching = true)]
public static Float4x1 BoolToFloat(Bool4x1 x) => default;
///
@@ -881,7 +881,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float4x2")]
+ [HlslIntrinsicName("float4x2", RequiresParametersMatching = true)]
public static Float4x2 BoolToFloat(Bool4x2 x) => default;
///
@@ -890,7 +890,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float4x3")]
+ [HlslIntrinsicName("float4x3", RequiresParametersMatching = true)]
public static Float4x3 BoolToFloat(Bool4x3 x) => default;
///
@@ -899,7 +899,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("float4x4")]
+ [HlslIntrinsicName("float4x4", RequiresParametersMatching = true)]
public static Float4x4 BoolToFloat(Bool4x4 x) => default;
///
@@ -908,7 +908,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double")]
+ [HlslIntrinsicName("double", RequiresParametersMatching = true)]
public static double BoolToDouble(bool x) => default;
///
@@ -917,7 +917,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double2")]
+ [HlslIntrinsicName("double2", RequiresParametersMatching = true)]
public static Double2 BoolToDouble(Bool2 x) => default;
///
@@ -926,7 +926,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double3")]
+ [HlslIntrinsicName("double3", RequiresParametersMatching = true)]
public static Double3 BoolToDouble(Bool3 x) => default;
///
@@ -935,7 +935,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double4")]
+ [HlslIntrinsicName("double4", RequiresParametersMatching = true)]
public static Double4 BoolToDouble(Bool4 x) => default;
///
@@ -944,7 +944,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double1x1")]
+ [HlslIntrinsicName("double1x1", RequiresParametersMatching = true)]
public static Double1x1 BoolToDouble(Bool1x1 x) => default;
///
@@ -953,7 +953,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double1x2")]
+ [HlslIntrinsicName("double1x2", RequiresParametersMatching = true)]
public static Double1x2 BoolToDouble(Bool1x2 x) => default;
///
@@ -962,7 +962,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double1x3")]
+ [HlslIntrinsicName("double1x3", RequiresParametersMatching = true)]
public static Double1x3 BoolToDouble(Bool1x3 x) => default;
///
@@ -971,7 +971,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double1x4")]
+ [HlslIntrinsicName("double1x4", RequiresParametersMatching = true)]
public static Double1x4 BoolToDouble(Bool1x4 x) => default;
///
@@ -980,7 +980,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double2x1")]
+ [HlslIntrinsicName("double2x1", RequiresParametersMatching = true)]
public static Double2x1 BoolToDouble(Bool2x1 x) => default;
///
@@ -989,7 +989,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double2x2")]
+ [HlslIntrinsicName("double2x2", RequiresParametersMatching = true)]
public static Double2x2 BoolToDouble(Bool2x2 x) => default;
///
@@ -998,7 +998,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double2x3")]
+ [HlslIntrinsicName("double2x3", RequiresParametersMatching = true)]
public static Double2x3 BoolToDouble(Bool2x3 x) => default;
///
@@ -1007,7 +1007,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double2x4")]
+ [HlslIntrinsicName("double2x4", RequiresParametersMatching = true)]
public static Double2x4 BoolToDouble(Bool2x4 x) => default;
///
@@ -1016,7 +1016,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double3x1")]
+ [HlslIntrinsicName("double3x1", RequiresParametersMatching = true)]
public static Double3x1 BoolToDouble(Bool3x1 x) => default;
///
@@ -1025,7 +1025,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double3x2")]
+ [HlslIntrinsicName("double3x2", RequiresParametersMatching = true)]
public static Double3x2 BoolToDouble(Bool3x2 x) => default;
///
@@ -1034,7 +1034,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double3x3")]
+ [HlslIntrinsicName("double3x3", RequiresParametersMatching = true)]
public static Double3x3 BoolToDouble(Bool3x3 x) => default;
///
@@ -1043,7 +1043,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double3x4")]
+ [HlslIntrinsicName("double3x4", RequiresParametersMatching = true)]
public static Double3x4 BoolToDouble(Bool3x4 x) => default;
///
@@ -1052,7 +1052,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double4x1")]
+ [HlslIntrinsicName("double4x1", RequiresParametersMatching = true)]
public static Double4x1 BoolToDouble(Bool4x1 x) => default;
///
@@ -1061,7 +1061,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double4x2")]
+ [HlslIntrinsicName("double4x2", RequiresParametersMatching = true)]
public static Double4x2 BoolToDouble(Bool4x2 x) => default;
///
@@ -1070,7 +1070,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double4x3")]
+ [HlslIntrinsicName("double4x3", RequiresParametersMatching = true)]
public static Double4x3 BoolToDouble(Bool4x3 x) => default;
///
@@ -1079,7 +1079,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("double4x4")]
+ [HlslIntrinsicName("double4x4", RequiresParametersMatching = true)]
public static Double4x4 BoolToDouble(Bool4x4 x) => default;
///
@@ -1088,7 +1088,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int")]
+ [HlslIntrinsicName("int", RequiresParametersMatching = true)]
public static int BoolToInt(bool x) => default;
///
@@ -1097,7 +1097,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int2")]
+ [HlslIntrinsicName("int2", RequiresParametersMatching = true)]
public static Int2 BoolToInt(Bool2 x) => default;
///
@@ -1106,7 +1106,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int3")]
+ [HlslIntrinsicName("int3", RequiresParametersMatching = true)]
public static Int3 BoolToInt(Bool3 x) => default;
///
@@ -1115,7 +1115,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int4")]
+ [HlslIntrinsicName("int4", RequiresParametersMatching = true)]
public static Int4 BoolToInt(Bool4 x) => default;
///
@@ -1124,7 +1124,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int1x1")]
+ [HlslIntrinsicName("int1x1", RequiresParametersMatching = true)]
public static Int1x1 BoolToInt(Bool1x1 x) => default;
///
@@ -1133,7 +1133,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int1x2")]
+ [HlslIntrinsicName("int1x2", RequiresParametersMatching = true)]
public static Int1x2 BoolToInt(Bool1x2 x) => default;
///
@@ -1142,7 +1142,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int1x3")]
+ [HlslIntrinsicName("int1x3", RequiresParametersMatching = true)]
public static Int1x3 BoolToInt(Bool1x3 x) => default;
///
@@ -1151,7 +1151,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int1x4")]
+ [HlslIntrinsicName("int1x4", RequiresParametersMatching = true)]
public static Int1x4 BoolToInt(Bool1x4 x) => default;
///
@@ -1160,7 +1160,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int2x1")]
+ [HlslIntrinsicName("int2x1", RequiresParametersMatching = true)]
public static Int2x1 BoolToInt(Bool2x1 x) => default;
///
@@ -1169,7 +1169,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int2x2")]
+ [HlslIntrinsicName("int2x2", RequiresParametersMatching = true)]
public static Int2x2 BoolToInt(Bool2x2 x) => default;
///
@@ -1178,7 +1178,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int2x3")]
+ [HlslIntrinsicName("int2x3", RequiresParametersMatching = true)]
public static Int2x3 BoolToInt(Bool2x3 x) => default;
///
@@ -1187,7 +1187,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int2x4")]
+ [HlslIntrinsicName("int2x4", RequiresParametersMatching = true)]
public static Int2x4 BoolToInt(Bool2x4 x) => default;
///
@@ -1196,7 +1196,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int3x1")]
+ [HlslIntrinsicName("int3x1", RequiresParametersMatching = true)]
public static Int3x1 BoolToInt(Bool3x1 x) => default;
///
@@ -1205,7 +1205,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int3x2")]
+ [HlslIntrinsicName("int3x2", RequiresParametersMatching = true)]
public static Int3x2 BoolToInt(Bool3x2 x) => default;
///
@@ -1214,7 +1214,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int3x3")]
+ [HlslIntrinsicName("int3x3", RequiresParametersMatching = true)]
public static Int3x3 BoolToInt(Bool3x3 x) => default;
///
@@ -1223,7 +1223,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int3x4")]
+ [HlslIntrinsicName("int3x4", RequiresParametersMatching = true)]
public static Int3x4 BoolToInt(Bool3x4 x) => default;
///
@@ -1232,7 +1232,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int4x1")]
+ [HlslIntrinsicName("int4x1", RequiresParametersMatching = true)]
public static Int4x1 BoolToInt(Bool4x1 x) => default;
///
@@ -1241,7 +1241,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int4x2")]
+ [HlslIntrinsicName("int4x2", RequiresParametersMatching = true)]
public static Int4x2 BoolToInt(Bool4x2 x) => default;
///
@@ -1250,7 +1250,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int4x3")]
+ [HlslIntrinsicName("int4x3", RequiresParametersMatching = true)]
public static Int4x3 BoolToInt(Bool4x3 x) => default;
///
@@ -1259,7 +1259,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("int4x4")]
+ [HlslIntrinsicName("int4x4", RequiresParametersMatching = true)]
public static Int4x4 BoolToInt(Bool4x4 x) => default;
///
@@ -1268,7 +1268,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint")]
+ [HlslIntrinsicName("uint", RequiresParametersMatching = true)]
public static uint BoolToUInt(bool x) => default;
///
@@ -1277,7 +1277,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint2")]
+ [HlslIntrinsicName("uint2", RequiresParametersMatching = true)]
public static UInt2 BoolToUInt(Bool2 x) => default;
///
@@ -1286,7 +1286,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint3")]
+ [HlslIntrinsicName("uint3", RequiresParametersMatching = true)]
public static UInt3 BoolToUInt(Bool3 x) => default;
///
@@ -1295,7 +1295,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint4")]
+ [HlslIntrinsicName("uint4", RequiresParametersMatching = true)]
public static UInt4 BoolToUInt(Bool4 x) => default;
///
@@ -1304,7 +1304,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint1x1")]
+ [HlslIntrinsicName("uint1x1", RequiresParametersMatching = true)]
public static UInt1x1 BoolToUInt(Bool1x1 x) => default;
///
@@ -1313,7 +1313,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint1x2")]
+ [HlslIntrinsicName("uint1x2", RequiresParametersMatching = true)]
public static UInt1x2 BoolToUInt(Bool1x2 x) => default;
///
@@ -1322,7 +1322,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint1x3")]
+ [HlslIntrinsicName("uint1x3", RequiresParametersMatching = true)]
public static UInt1x3 BoolToUInt(Bool1x3 x) => default;
///
@@ -1331,7 +1331,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint1x4")]
+ [HlslIntrinsicName("uint1x4", RequiresParametersMatching = true)]
public static UInt1x4 BoolToUInt(Bool1x4 x) => default;
///
@@ -1340,7 +1340,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint2x1")]
+ [HlslIntrinsicName("uint2x1", RequiresParametersMatching = true)]
public static UInt2x1 BoolToUInt(Bool2x1 x) => default;
///
@@ -1349,7 +1349,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint2x2")]
+ [HlslIntrinsicName("uint2x2", RequiresParametersMatching = true)]
public static UInt2x2 BoolToUInt(Bool2x2 x) => default;
///
@@ -1358,7 +1358,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint2x3")]
+ [HlslIntrinsicName("uint2x3", RequiresParametersMatching = true)]
public static UInt2x3 BoolToUInt(Bool2x3 x) => default;
///
@@ -1367,7 +1367,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint2x4")]
+ [HlslIntrinsicName("uint2x4", RequiresParametersMatching = true)]
public static UInt2x4 BoolToUInt(Bool2x4 x) => default;
///
@@ -1376,7 +1376,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint3x1")]
+ [HlslIntrinsicName("uint3x1", RequiresParametersMatching = true)]
public static UInt3x1 BoolToUInt(Bool3x1 x) => default;
///
@@ -1385,7 +1385,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint3x2")]
+ [HlslIntrinsicName("uint3x2", RequiresParametersMatching = true)]
public static UInt3x2 BoolToUInt(Bool3x2 x) => default;
///
@@ -1394,7 +1394,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint3x3")]
+ [HlslIntrinsicName("uint3x3", RequiresParametersMatching = true)]
public static UInt3x3 BoolToUInt(Bool3x3 x) => default;
///
@@ -1403,7 +1403,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint3x4")]
+ [HlslIntrinsicName("uint3x4", RequiresParametersMatching = true)]
public static UInt3x4 BoolToUInt(Bool3x4 x) => default;
///
@@ -1412,7 +1412,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint4x1")]
+ [HlslIntrinsicName("uint4x1", RequiresParametersMatching = true)]
public static UInt4x1 BoolToUInt(Bool4x1 x) => default;
///
@@ -1421,7 +1421,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint4x2")]
+ [HlslIntrinsicName("uint4x2", RequiresParametersMatching = true)]
public static UInt4x2 BoolToUInt(Bool4x2 x) => default;
///
@@ -1430,7 +1430,7 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint4x3")]
+ [HlslIntrinsicName("uint4x3", RequiresParametersMatching = true)]
public static UInt4x3 BoolToUInt(Bool4x3 x) => default;
///
@@ -1439,6 +1439,6 @@ partial class Hlsl
/// The input value.
/// The converted value.
/// 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("uint4x4")]
+ [HlslIntrinsicName("uint4x4", RequiresParametersMatching = true)]
public static UInt4x4 BoolToUInt(Bool4x4 x) => default;
}
diff --git a/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.tt b/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.tt
index f49669fc..eeb80f9f 100644
--- a/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.tt
+++ b/src/ComputeSharp.Core/Intrinsics/Hlsl.Casts.tt
@@ -52,7 +52,7 @@ foreach (var intrinsic in intrinsics)
/// The input value.
/// The converted value.
/// 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("<#=pair.Target.ToLower()#>")]
+ [HlslIntrinsicName("<#=pair.Target.ToLower()#>", RequiresParametersMatching = true)]
public static <#=pair.Target#> <#=intrinsic.Type#>ToBool(<#=pair.Source#> x) => default;
<#
}
@@ -71,7 +71,7 @@ foreach (var intrinsic in intrinsics)
/// The input value.
/// The converted value.
/// 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("<#=pair.Source.ToLower()#>")]
+ [HlslIntrinsicName("<#=pair.Source.ToLower()#>", RequiresParametersMatching = true)]
public static <#=pair.Source#> BoolTo<#=intrinsic.Type#>(<#=pair.Target#> x) => default;
<#
}