diff --git a/src/ComputeSharp.Core/Primitives/Float/FloatMxN.g.cs b/src/ComputeSharp.Core/Primitives/Float/FloatMxN.g.cs
index aa40978f..43cc83dd 100644
--- a/src/ComputeSharp.Core/Primitives/Float/FloatMxN.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Float/FloatMxN.g.cs
@@ -125,6 +125,32 @@ public unsafe partial struct Float1x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float1x1 operator *(Float1x1 left, Float1x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x1 operator *(float x, Float1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x1 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x1 operator *(Float1x1 x, float y) => default;
+
///
/// Subtracts two values.
///
@@ -316,6 +342,110 @@ public unsafe partial struct Float1x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float1x2 operator *(Float1x2 left, Float1x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(float x, Float1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(Float1x2 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second Float2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static float operator *(Float1x2 x, Float2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x1 input value.
+ /// The second Float1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(Float1x1 x, Float1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second Float2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x1 operator *(Float1x2 x, Float2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second Float2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(Float1x2 x, Float2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second Float2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(Float1x2 x, Float2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x2 input value.
+ /// The second Float2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(Float1x2 x, Float2x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -524,6 +654,110 @@ public unsafe partial struct Float1x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float1x3 operator *(Float1x3 left, Float1x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(float x, Float1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(Float1x3 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second Float3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static float operator *(Float1x3 x, Float3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x1 input value.
+ /// The second Float1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(Float1x1 x, Float1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second Float3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x1 operator *(Float1x3 x, Float3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second Float3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(Float1x3 x, Float3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second Float3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(Float1x3 x, Float3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x3 input value.
+ /// The second Float3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(Float1x3 x, Float3x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -743,6 +977,110 @@ public unsafe partial struct Float1x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float1x4 operator *(Float1x4 left, Float1x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(float x, Float1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(Float1x4 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second Float4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static float operator *(Float1x4 x, Float4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x1 input value.
+ /// The second Float1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(Float1x1 x, Float1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second Float4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x1 operator *(Float1x4 x, Float4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second Float4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x2 operator *(Float1x4 x, Float4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second Float4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x3 operator *(Float1x4 x, Float4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float1x4 input value.
+ /// The second Float4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float1x4 operator *(Float1x4 x, Float4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -940,6 +1278,97 @@ public unsafe partial struct Float2x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float2x1 operator *(Float2x1 left, Float2x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(float x, Float2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x1 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(Float2x1 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x1 input value.
+ /// The second Float1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(Float2x1 x, Float1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x1 input value.
+ /// The second Float1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x2 operator *(Float2x1 x, Float1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x1 input value.
+ /// The second Float1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(Float2x1 x, Float1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x1 input value.
+ /// The second Float1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(Float2x1 x, Float1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x2 input value.
+ /// The second Float2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(Float2x2 x, Float2x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -1172,6 +1601,32 @@ public unsafe partial struct Float2x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float2x2 operator *(Float2x2 left, Float2x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x2 operator *(float x, Float2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x2 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x2 operator *(Float2x2 x, float y) => default;
+
///
/// Subtracts two values.
///
@@ -1422,6 +1877,110 @@ public unsafe partial struct Float2x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float2x3 operator *(Float2x3 left, Float2x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(float x, Float2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(Float2x3 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second Float3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2 operator *(Float2x3 x, Float3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x2 input value.
+ /// The second Float2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(Float2x2 x, Float2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second Float3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(Float2x3 x, Float3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second Float3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x2 operator *(Float2x3 x, Float3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second Float3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(Float2x3 x, Float3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x3 input value.
+ /// The second Float3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(Float2x3 x, Float3x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -1696,6 +2255,110 @@ public unsafe partial struct Float2x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float2x4 operator *(Float2x4 left, Float2x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(float x, Float2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(Float2x4 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second Float4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2 operator *(Float2x4 x, Float4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x2 input value.
+ /// The second Float2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(Float2x2 x, Float2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second Float4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x1 operator *(Float2x4 x, Float4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second Float4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x2 operator *(Float2x4 x, Float4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second Float4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x3 operator *(Float2x4 x, Float4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float2x4 input value.
+ /// The second Float4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float2x4 operator *(Float2x4 x, Float4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -1898,6 +2561,97 @@ public unsafe partial struct Float3x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float3x1 operator *(Float3x1 left, Float3x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(float x, Float3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x1 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(Float3x1 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x1 input value.
+ /// The second Float1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(Float3x1 x, Float1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x1 input value.
+ /// The second Float1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(Float3x1 x, Float1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x1 input value.
+ /// The second Float1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x3 operator *(Float3x1 x, Float1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x1 input value.
+ /// The second Float1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(Float3x1 x, Float1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x3 input value.
+ /// The second Float3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(Float3x3 x, Float3x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -2155,6 +2909,110 @@ public unsafe partial struct Float3x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float3x2 operator *(Float3x2 left, Float3x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(float x, Float3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(Float3x2 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second Float2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3 operator *(Float3x2 x, Float2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second Float2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(Float3x2 x, Float2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second Float2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(Float3x2 x, Float2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second Float2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x3 operator *(Float3x2 x, Float2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x2 input value.
+ /// The second Float2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(Float3x2 x, Float2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x3 input value.
+ /// The second Float3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(Float3x3 x, Float3x2 y) => default;
+
///
/// Subtracts two values.
///
@@ -2442,6 +3300,32 @@ public unsafe partial struct Float3x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float3x3 operator *(Float3x3 left, Float3x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x3 operator *(float x, Float3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x3 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x3 operator *(Float3x3 x, float y) => default;
+
///
/// Subtracts two values.
///
@@ -2765,6 +3649,110 @@ public unsafe partial struct Float3x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float3x4 operator *(Float3x4 left, Float3x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(float x, Float3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(Float3x4 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second Float4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3 operator *(Float3x4 x, Float4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x3 input value.
+ /// The second Float3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(Float3x3 x, Float3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second Float4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x1 operator *(Float3x4 x, Float4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second Float4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x2 operator *(Float3x4 x, Float4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second Float4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x3 operator *(Float3x4 x, Float4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float3x4 input value.
+ /// The second Float4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float3x4 operator *(Float3x4 x, Float4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -2978,6 +3966,97 @@ public unsafe partial struct Float4x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float4x1 operator *(Float4x1 left, Float4x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(float x, Float4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x1 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(Float4x1 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x1 input value.
+ /// The second Float1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(Float4x1 x, Float1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x1 input value.
+ /// The second Float1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(Float4x1 x, Float1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x1 input value.
+ /// The second Float1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(Float4x1 x, Float1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x1 input value.
+ /// The second Float1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x4 operator *(Float4x1 x, Float1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x4 input value.
+ /// The second Float4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(Float4x4 x, Float4x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -3260,6 +4339,110 @@ public unsafe partial struct Float4x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float4x2 operator *(Float4x2 left, Float4x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(float x, Float4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(Float4x2 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second Float2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4 operator *(Float4x2 x, Float2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second Float2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(Float4x2 x, Float2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second Float2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(Float4x2 x, Float2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second Float2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(Float4x2 x, Float2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x2 input value.
+ /// The second Float2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x4 operator *(Float4x2 x, Float2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x4 input value.
+ /// The second Float4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(Float4x4 x, Float4x2 y) => default;
+
///
/// Subtracts two values.
///
@@ -3584,6 +4767,110 @@ public unsafe partial struct Float4x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float4x3 operator *(Float4x3 left, Float4x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(float x, Float4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(Float4x3 x, float y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second Float3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4 operator *(Float4x3 x, Float3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second Float3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x1 operator *(Float4x3 x, Float3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second Float3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x2 operator *(Float4x3 x, Float3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second Float3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(Float4x3 x, Float3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x3 input value.
+ /// The second Float3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x4 operator *(Float4x3 x, Float3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x4 input value.
+ /// The second Float4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x3 operator *(Float4x4 x, Float4x3 y) => default;
+
///
/// Subtracts two values.
///
@@ -3956,6 +5243,32 @@ public unsafe partial struct Float4x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Float4x4 operator *(Float4x4 left, Float4x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first float input value.
+ /// The second Float4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x4 operator *(float x, Float4x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Float4x4 input value.
+ /// The second float input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Float4x4 operator *(Float4x4 x, float y) => default;
+
///
/// Subtracts two values.
///
diff --git a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
index d6bde9d3..1fa028e2 100644
--- a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
@@ -125,6 +125,32 @@ public unsafe partial struct Int1x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x1 operator *(Int1x1 left, Int1x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x1 operator *(int x, Int1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x1 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x1 operator *(Int1x1 x, int y) => default;
+
///
/// Subtracts two values.
///
@@ -416,6 +442,110 @@ public unsafe partial struct Int1x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x2 operator *(Int1x2 left, Int1x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(int x, Int1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(Int1x2 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second Int2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static int operator *(Int1x2 x, Int2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x1 input value.
+ /// The second Int1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(Int1x1 x, Int1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second Int2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x1 operator *(Int1x2 x, Int2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second Int2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(Int1x2 x, Int2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second Int2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(Int1x2 x, Int2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x2 input value.
+ /// The second Int2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(Int1x2 x, Int2x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -724,6 +854,110 @@ public unsafe partial struct Int1x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x3 operator *(Int1x3 left, Int1x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(int x, Int1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(Int1x3 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second Int3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static int operator *(Int1x3 x, Int3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x1 input value.
+ /// The second Int1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(Int1x1 x, Int1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second Int3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x1 operator *(Int1x3 x, Int3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second Int3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(Int1x3 x, Int3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second Int3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(Int1x3 x, Int3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x3 input value.
+ /// The second Int3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(Int1x3 x, Int3x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -1043,6 +1277,110 @@ public unsafe partial struct Int1x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x4 operator *(Int1x4 left, Int1x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(int x, Int1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(Int1x4 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second Int4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static int operator *(Int1x4 x, Int4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x1 input value.
+ /// The second Int1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(Int1x1 x, Int1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second Int4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x1 operator *(Int1x4 x, Int4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second Int4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x2 operator *(Int1x4 x, Int4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second Int4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x3 operator *(Int1x4 x, Int4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int1x4 input value.
+ /// The second Int4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int1x4 operator *(Int1x4 x, Int4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -1340,6 +1678,97 @@ public unsafe partial struct Int2x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x1 operator *(Int2x1 left, Int2x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(int x, Int2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x1 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(Int2x1 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x1 input value.
+ /// The second Int1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(Int2x1 x, Int1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x1 input value.
+ /// The second Int1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x2 operator *(Int2x1 x, Int1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x1 input value.
+ /// The second Int1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(Int2x1 x, Int1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x1 input value.
+ /// The second Int1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(Int2x1 x, Int1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x2 input value.
+ /// The second Int2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(Int2x2 x, Int2x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -1672,6 +2101,32 @@ public unsafe partial struct Int2x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x2 operator *(Int2x2 left, Int2x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x2 operator *(int x, Int2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x2 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x2 operator *(Int2x2 x, int y) => default;
+
///
/// Subtracts two values.
///
@@ -2022,6 +2477,110 @@ public unsafe partial struct Int2x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x3 operator *(Int2x3 left, Int2x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(int x, Int2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(Int2x3 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second Int3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2 operator *(Int2x3 x, Int3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x2 input value.
+ /// The second Int2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(Int2x2 x, Int2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second Int3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(Int2x3 x, Int3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second Int3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x2 operator *(Int2x3 x, Int3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second Int3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(Int2x3 x, Int3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x3 input value.
+ /// The second Int3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(Int2x3 x, Int3x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -2396,6 +2955,110 @@ public unsafe partial struct Int2x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x4 operator *(Int2x4 left, Int2x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(int x, Int2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(Int2x4 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second Int4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2 operator *(Int2x4 x, Int4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x2 input value.
+ /// The second Int2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(Int2x2 x, Int2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second Int4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x1 operator *(Int2x4 x, Int4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second Int4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x2 operator *(Int2x4 x, Int4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second Int4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x3 operator *(Int2x4 x, Int4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int2x4 input value.
+ /// The second Int4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int2x4 operator *(Int2x4 x, Int4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -2698,6 +3361,97 @@ public unsafe partial struct Int3x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x1 operator *(Int3x1 left, Int3x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(int x, Int3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x1 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(Int3x1 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x1 input value.
+ /// The second Int1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(Int3x1 x, Int1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x1 input value.
+ /// The second Int1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(Int3x1 x, Int1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x1 input value.
+ /// The second Int1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x3 operator *(Int3x1 x, Int1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x1 input value.
+ /// The second Int1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(Int3x1 x, Int1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x3 input value.
+ /// The second Int3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(Int3x3 x, Int3x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -3055,6 +3809,110 @@ public unsafe partial struct Int3x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x2 operator *(Int3x2 left, Int3x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(int x, Int3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(Int3x2 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second Int2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3 operator *(Int3x2 x, Int2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second Int2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(Int3x2 x, Int2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second Int2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(Int3x2 x, Int2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second Int2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x3 operator *(Int3x2 x, Int2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x2 input value.
+ /// The second Int2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(Int3x2 x, Int2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x3 input value.
+ /// The second Int3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(Int3x3 x, Int3x2 y) => default;
+
///
/// Subtracts two values.
///
@@ -3442,6 +4300,32 @@ public unsafe partial struct Int3x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x3 operator *(Int3x3 left, Int3x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x3 operator *(int x, Int3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x3 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x3 operator *(Int3x3 x, int y) => default;
+
///
/// Subtracts two values.
///
@@ -3865,6 +4749,110 @@ public unsafe partial struct Int3x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x4 operator *(Int3x4 left, Int3x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(int x, Int3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(Int3x4 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second Int4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3 operator *(Int3x4 x, Int4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x3 input value.
+ /// The second Int3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(Int3x3 x, Int3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second Int4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x1 operator *(Int3x4 x, Int4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second Int4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x2 operator *(Int3x4 x, Int4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second Int4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x3 operator *(Int3x4 x, Int4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int3x4 input value.
+ /// The second Int4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int3x4 operator *(Int3x4 x, Int4x4 y) => default;
+
///
/// Subtracts two values.
///
@@ -4178,6 +5166,97 @@ public unsafe partial struct Int4x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x1 operator *(Int4x1 left, Int4x1 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(int x, Int4x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x1 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(Int4x1 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x1 input value.
+ /// The second Int1x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(Int4x1 x, Int1x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x1 input value.
+ /// The second Int1x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(Int4x1 x, Int1x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x1 input value.
+ /// The second Int1x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(Int4x1 x, Int1x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x1 input value.
+ /// The second Int1x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x4 operator *(Int4x1 x, Int1x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x4 input value.
+ /// The second Int4x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(Int4x4 x, Int4x1 y) => default;
+
///
/// Subtracts two values.
///
@@ -4560,6 +5639,110 @@ public unsafe partial struct Int4x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x2 operator *(Int4x2 left, Int4x2 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(int x, Int4x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(Int4x2 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second Int2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4 operator *(Int4x2 x, Int2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second Int2x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(Int4x2 x, Int2x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second Int2x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(Int4x2 x, Int2x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second Int2x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(Int4x2 x, Int2x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x2 input value.
+ /// The second Int2x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x4 operator *(Int4x2 x, Int2x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x4 input value.
+ /// The second Int4x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(Int4x4 x, Int4x2 y) => default;
+
///
/// Subtracts two values.
///
@@ -4984,6 +6167,110 @@ public unsafe partial struct Int4x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x3 operator *(Int4x3 left, Int4x3 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(int x, Int4x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(Int4x3 x, int y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second Int3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4 operator *(Int4x3 x, Int3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second Int3x1 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x1 operator *(Int4x3 x, Int3x1 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second Int3x2 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x2 operator *(Int4x3 x, Int3x2 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second Int3x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(Int4x3 x, Int3x3 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x3 input value.
+ /// The second Int3x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x4 operator *(Int4x3 x, Int3x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x4 input value.
+ /// The second Int4x3 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x3 operator *(Int4x4 x, Int4x3 y) => default;
+
///
/// Subtracts two values.
///
@@ -5456,6 +6743,32 @@ public unsafe partial struct Int4x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x4 operator *(Int4x4 left, Int4x4 right) => default;
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first int input value.
+ /// The second Int4x4 input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x4 operator *(int x, Int4x4 y) => default;
+
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first Int4x4 input value.
+ /// The second int input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static Int4x4 operator *(Int4x4 x, int y) => default;
+
///
/// Subtracts two values.
///
diff --git a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
index 981a7ba7..40b85cfe 100644
--- a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
+++ b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
@@ -1,5 +1,4 @@
-<#@ template debug="false" hostspecific="false" language="C#" #>
-<#@ assembly name="System.Core" #>
+<#@include file="..\Intrinsics\Hlsl.MulOverloads.ttinclude" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Text.RegularExpressions" #>
@@ -291,7 +290,32 @@ public unsafe partial struct <#=fullTypeName#>
/// The result of multiplying and .
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static <#=fullTypeName#> operator *(<#=fullTypeName#> left, <#=fullTypeName#> right) => default;
+<#
+ // Process all operators for the mul() intrinsic
+ foreach (var mulOverload in MulOverloads.Where(overload =>
+ !(overload.Params[0] == fullTypeName && overload.Params[1] == fullTypeName) &&
+ (overload.Return == fullTypeName && overload.Params.Contains(fullTypeName) ||
+ !overload.Params.Contains(overload.Return) && overload.Params[0] == fullTypeName)))
+ {
+ WriteLine("");
+#>
+ ///
+ /// Multiplies two values using matrix math.
+ ///
+ /// The first <#=mulOverload.Params[0]#> input value.
+ /// The second <#=mulOverload.Params[1]#> input value.
+ /// The result of times . The result has the dimension -rows by -columns.
+ ///
+ /// This operator is equivalent to using with the same input arguments.
+ /// For more info, see .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ ///
+ public static <#=mulOverload.Return#> operator *(<#=mulOverload.Params[0]#> x, <#=mulOverload.Params[1]#> y) => default;
+<#
+ }
+ WriteLine("");
+#>
///
/// Subtracts two values.
///