Add scalar promotion multiplication operators for Float/Int types

This avoids overload resolution conflicts with the mul() operators
このコミットが含まれているのは:
Sergio Pedri committed 2022-08-28 22:32:50 +02:00
1 親 1daf6338df
コミット 488f1912fc
10ファイル変更
+765 -30

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

+18
ファイルの表示
@@ -499,6 +499,24 @@ public unsafe partial struct Int2
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2 operator *(Int2 left, Int2 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int2"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int2"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2 operator *(Int2 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int2"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2 operator *(int left, Int2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
+18
ファイルの表示
@@ -1585,6 +1585,24 @@ public unsafe partial struct Int3
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3 operator *(Int3 left, Int3 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int3"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int3"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3 operator *(Int3 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int3"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3 operator *(int left, Int3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
+18
ファイルの表示
@@ -4231,6 +4231,24 @@ public unsafe partial struct Int4
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4 operator *(Int4 left, Int4 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int4"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int4"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4 operator *(Int4 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int4"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int4"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4 operator *(int left, Int4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
+288
ファイルの表示
@@ -126,6 +126,24 @@ public unsafe partial struct Int1x1
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x1 operator *(Int1x1 left, Int1x1 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int1x1"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int1x1"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x1 operator *(Int1x1 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int1x1"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int1x1"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x1 operator *(int left, Int1x1 right) => default;
/// <summary>
/// Subtracts two <see cref="Int1x1"/> values.
/// </summary>
@@ -417,6 +435,24 @@ public unsafe partial struct Int1x2
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x2 operator *(Int1x2 left, Int1x2 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int1x2"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int1x2"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x2 operator *(Int1x2 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int1x2"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int1x2"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x2 operator *(int left, Int1x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -809,6 +845,24 @@ public unsafe partial struct Int1x3
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x3 operator *(Int1x3 left, Int1x3 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int1x3"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int1x3"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x3 operator *(Int1x3 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int1x3"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int1x3"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x3 operator *(int left, Int1x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1212,6 +1266,24 @@ public unsafe partial struct Int1x4
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x4 operator *(Int1x4 left, Int1x4 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int1x4"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int1x4"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x4 operator *(Int1x4 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int1x4"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int1x4"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int1x4 operator *(int left, Int1x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1593,6 +1665,24 @@ public unsafe partial struct Int2x1
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x1 operator *(Int2x1 left, Int2x1 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int2x1"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int2x1"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x1 operator *(Int2x1 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int2x1"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int2x1"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x1 operator *(int left, Int2x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1995,6 +2085,24 @@ public unsafe partial struct Int2x2
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x2 operator *(Int2x2 left, Int2x2 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int2x2"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int2x2"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x2 operator *(Int2x2 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int2x2"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int2x2"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x2 operator *(int left, Int2x2 right) => default;
/// <summary>
/// Subtracts two <see cref="Int2x2"/> values.
/// </summary>
@@ -2345,6 +2453,24 @@ public unsafe partial struct Int2x3
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x3 operator *(Int2x3 left, Int2x3 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int2x3"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int2x3"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x3 operator *(Int2x3 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int2x3"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int2x3"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x3 operator *(int left, Int2x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2803,6 +2929,24 @@ public unsafe partial struct Int2x4
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x4 operator *(Int2x4 left, Int2x4 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int2x4"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int2x4"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x4 operator *(Int2x4 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int2x4"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int2x4"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int2x4 operator *(int left, Int2x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -3189,6 +3333,24 @@ public unsafe partial struct Int3x1
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x1 operator *(Int3x1 left, Int3x1 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int3x1"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int3x1"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x1 operator *(Int3x1 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int3x1"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int3x1"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x1 operator *(int left, Int3x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -3616,6 +3778,24 @@ public unsafe partial struct Int3x2
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x2 operator *(Int3x2 left, Int3x2 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int3x2"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int3x2"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x2 operator *(Int3x2 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int3x2"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int3x2"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x2 operator *(int left, Int3x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4087,6 +4267,24 @@ public unsafe partial struct Int3x3
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x3 operator *(Int3x3 left, Int3x3 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int3x3"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int3x3"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x3 operator *(Int3x3 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int3x3"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int3x3"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x3 operator *(int left, Int3x3 right) => default;
/// <summary>
/// Subtracts two <see cref="Int3x3"/> values.
/// </summary>
@@ -4510,6 +4708,24 @@ public unsafe partial struct Int3x4
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x4 operator *(Int3x4 left, Int3x4 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int3x4"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int3x4"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x4 operator *(Int3x4 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int3x4"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int3x4"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int3x4 operator *(int left, Int3x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4907,6 +5123,24 @@ public unsafe partial struct Int4x1
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x1 operator *(Int4x1 left, Int4x1 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int4x1"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int4x1"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x1 operator *(Int4x1 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int4x1"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int4x1"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x1 operator *(int left, Int4x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -5359,6 +5593,24 @@ public unsafe partial struct Int4x2
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x2 operator *(Int4x2 left, Int4x2 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int4x2"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int4x2"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x2 operator *(Int4x2 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int4x2"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int4x2"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x2 operator *(int left, Int4x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -5867,6 +6119,24 @@ public unsafe partial struct Int4x3
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x3 operator *(Int4x3 left, Int4x3 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int4x3"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int4x3"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x3 operator *(Int4x3 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int4x3"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int4x3"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x3 operator *(int left, Int4x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -6423,6 +6693,24 @@ public unsafe partial struct Int4x4
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x4 operator *(Int4x4 left, Int4x4 right) => default;
/// <summary>
/// Multiplies a pair of <see cref="Int4x4"/> and <see cref="int"/> values.
/// </summary>
/// <param name="left">The <see cref="Int4x4"/> value to multiply.</param>
/// <param name="right">The <see cref="int"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x4 operator *(Int4x4 left, int right) => default;
/// <summary>
/// Multiplies a pair of <see cref="int"/> and <see cref="Int4x4"/> values.
/// </summary>
/// <param name="left">The <see cref="int"/> value to multiply.</param>
/// <param name="right">The <see cref="Int4x4"/> value to multiply.</param>
/// <returns>The result of multiplying <paramref name="left"/> and <paramref name="right"/>.</returns>
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
public static Int4x4 operator *(int left, Int4x4 right) => default;
/// <summary>
/// Subtracts two <see cref="Int4x4"/> values.
/// </summary>