Remove mul() operators overriding scalar promotion multiplications

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-28 22:32:49 +02:00
1 親 7a92525b71
コミット 1daf6338df
10ファイル変更
+22 -1066

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

-28
ファイルの表示
@@ -499,34 +499,6 @@ public unsafe partial struct Float2
/// <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 Float2 operator *(Float2 left, Float2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2 operator *(float x, Float2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float2 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float2, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2 operator *(Float2 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-28
ファイルの表示
@@ -1585,34 +1585,6 @@ public unsafe partial struct Float3
/// <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 Float3 operator *(Float3 left, Float3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3 operator *(float x, Float3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float3 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float3, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3 operator *(Float3 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-28
ファイルの表示
@@ -4231,34 +4231,6 @@ public unsafe partial struct Float4
/// <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 Float4 operator *(Float4 left, Float4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4 operator *(float x, Float4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float4 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float4, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4 operator *(Float4 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-448
ファイルの表示
@@ -126,34 +126,6 @@ public unsafe partial struct Float1x1
/// <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 Float1x1 operator *(Float1x1 left, Float1x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float1x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float1x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x1 operator *(float x, Float1x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float1x1 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float1x1, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x1 operator *(Float1x1 x, float y) => default;
/// <summary>
/// Subtracts two <see cref="Float1x1"/> values.
/// </summary>
@@ -345,34 +317,6 @@ public unsafe partial struct Float1x2
/// <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 Float1x2 operator *(Float1x2 left, Float1x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float1x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float1x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x2 operator *(float x, Float1x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float1x2 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float1x2, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x2 operator *(Float1x2 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -665,34 +609,6 @@ public unsafe partial struct Float1x3
/// <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 Float1x3 operator *(Float1x3 left, Float1x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float1x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float1x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x3 operator *(float x, Float1x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float1x3 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float1x3, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x3 operator *(Float1x3 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -996,34 +912,6 @@ public unsafe partial struct Float1x4
/// <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 Float1x4 operator *(Float1x4 left, Float1x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float1x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float1x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x4 operator *(float x, Float1x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float1x4 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float1x4, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float1x4 operator *(Float1x4 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1305,34 +1193,6 @@ public unsafe partial struct Float2x1
/// <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 Float2x1 operator *(Float2x1 left, Float2x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float2x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float2x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x1 operator *(float x, Float2x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float2x1 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float2x1, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x1 operator *(Float2x1 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1635,34 +1495,6 @@ public unsafe partial struct Float2x2
/// <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 Float2x2 operator *(Float2x2 left, Float2x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float2x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float2x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x2 operator *(float x, Float2x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float2x2 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float2x2, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x2 operator *(Float2x2 x, float y) => default;
/// <summary>
/// Subtracts two <see cref="Float2x2"/> values.
/// </summary>
@@ -1913,34 +1745,6 @@ public unsafe partial struct Float2x3
/// <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 Float2x3 operator *(Float2x3 left, Float2x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float2x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float2x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x3 operator *(float x, Float2x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float2x3 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float2x3, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x3 operator *(Float2x3 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2299,34 +2103,6 @@ public unsafe partial struct Float2x4
/// <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 Float2x4 operator *(Float2x4 left, Float2x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float2x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float2x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x4 operator *(float x, Float2x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float2x4 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float2x4, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float2x4 operator *(Float2x4 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2613,34 +2389,6 @@ public unsafe partial struct Float3x1
/// <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 Float3x1 operator *(Float3x1 left, Float3x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float3x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float3x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x1 operator *(float x, Float3x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float3x1 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float3x1, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x1 operator *(Float3x1 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2968,34 +2716,6 @@ public unsafe partial struct Float3x2
/// <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 Float3x2 operator *(Float3x2 left, Float3x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float3x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float3x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x2 operator *(float x, Float3x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float3x2 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float3x2, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x2 operator *(Float3x2 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -3367,34 +3087,6 @@ public unsafe partial struct Float3x3
/// <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 Float3x3 operator *(Float3x3 left, Float3x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float3x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float3x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x3 operator *(float x, Float3x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float3x3 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float3x3, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x3 operator *(Float3x3 x, float y) => default;
/// <summary>
/// Subtracts two <see cref="Float3x3"/> values.
/// </summary>
@@ -3718,34 +3410,6 @@ public unsafe partial struct Float3x4
/// <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 Float3x4 operator *(Float3x4 left, Float3x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float3x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float3x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x4 operator *(float x, Float3x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float3x4 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float3x4, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float3x4 operator *(Float3x4 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4043,34 +3707,6 @@ public unsafe partial struct Float4x1
/// <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 Float4x1 operator *(Float4x1 left, Float4x1 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float4x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float4x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x1 operator *(float x, Float4x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float4x1 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float4x1, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x1 operator *(Float4x1 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4423,34 +4059,6 @@ public unsafe partial struct Float4x2
/// <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 Float4x2 operator *(Float4x2 left, Float4x2 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float4x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float4x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x2 operator *(float x, Float4x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float4x2 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float4x2, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x2 operator *(Float4x2 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4859,34 +4467,6 @@ public unsafe partial struct Float4x3
/// <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 Float4x3 operator *(Float4x3 left, Float4x3 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float4x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float4x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x3 operator *(float x, Float4x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float4x3 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float4x3, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x3 operator *(Float4x3 x, float y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -5343,34 +4923,6 @@ public unsafe partial struct Float4x4
/// <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 Float4x4 operator *(Float4x4 left, Float4x4 right) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first float input value.</param>
/// <param name="y">The second Float4x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(float, Float4x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x4 operator *(float x, Float4x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Float4x4 input value.</param>
/// <param name="y">The second float input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Float4x4, float)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Float4x4 operator *(Float4x4 x, float y) => default;
/// <summary>
/// Subtracts two <see cref="Float4x4"/> values.
/// </summary>
-28
ファイルの表示
@@ -499,34 +499,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2 operator *(int x, Int2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int2 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int2, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2 operator *(Int2 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-28
ファイルの表示
@@ -1585,34 +1585,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3 operator *(int x, Int3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int3 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int3, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3 operator *(Int3 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-28
ファイルの表示
@@ -4231,34 +4231,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4 operator *(int x, Int4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int4 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int4, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4 operator *(Int4 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
-448
ファイルの表示
@@ -126,34 +126,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int1x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int1x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x1 operator *(int x, Int1x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int1x1 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int1x1, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x1 operator *(Int1x1 x, int y) => default;
/// <summary>
/// Subtracts two <see cref="Int1x1"/> values.
/// </summary>
@@ -445,34 +417,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int1x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int1x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x2 operator *(int x, Int1x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int1x2 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int1x2, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x2 operator *(Int1x2 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -865,34 +809,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int1x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int1x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x3 operator *(int x, Int1x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int1x3 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int1x3, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x3 operator *(Int1x3 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1296,34 +1212,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int1x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int1x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x4 operator *(int x, Int1x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int1x4 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int1x4, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int1x4 operator *(Int1x4 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -1705,34 +1593,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int2x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int2x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x1 operator *(int x, Int2x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int2x1 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int2x1, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x1 operator *(Int2x1 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2135,34 +1995,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int2x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int2x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x2 operator *(int x, Int2x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int2x2 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int2x2, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x2 operator *(Int2x2 x, int y) => default;
/// <summary>
/// Subtracts two <see cref="Int2x2"/> values.
/// </summary>
@@ -2513,34 +2345,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int2x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int2x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x3 operator *(int x, Int2x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int2x3 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int2x3, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x3 operator *(Int2x3 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -2999,34 +2803,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int2x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int2x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x4 operator *(int x, Int2x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int2x4 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int2x4, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int2x4 operator *(Int2x4 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -3413,34 +3189,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int3x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int3x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x1 operator *(int x, Int3x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int3x1 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int3x1, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x1 operator *(Int3x1 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -3868,34 +3616,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int3x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int3x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x2 operator *(int x, Int3x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int3x2 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int3x2, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x2 operator *(Int3x2 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -4367,34 +4087,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int3x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int3x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x3 operator *(int x, Int3x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int3x3 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int3x3, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x3 operator *(Int3x3 x, int y) => default;
/// <summary>
/// Subtracts two <see cref="Int3x3"/> values.
/// </summary>
@@ -4818,34 +4510,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int3x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int3x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x4 operator *(int x, Int3x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int3x4 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int3x4, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int3x4 operator *(Int3x4 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -5243,34 +4907,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int4x1 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int4x1)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x1 operator *(int x, Int4x1 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int4x1 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int4x1, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x1 operator *(Int4x1 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -5723,34 +5359,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int4x2 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int4x2)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x2 operator *(int x, Int4x2 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int4x2 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int4x2, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x2 operator *(Int4x2 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -6259,34 +5867,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int4x3 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int4x3)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x3 operator *(int x, Int4x3 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int4x3 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int4x3, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x3 operator *(Int4x3 x, int y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
@@ -6843,34 +6423,6 @@ 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 two values using matrix math.
/// </summary>
/// <param name="x">The first int input value.</param>
/// <param name="y">The second Int4x4 input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(int, Int4x4)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x4 operator *(int x, Int4x4 y) => default;
/// <summary>
/// Multiplies two values using matrix math.
/// </summary>
/// <param name="x">The first Int4x4 input value.</param>
/// <param name="y">The second int input value.</param>
/// <returns>The result of <paramref name="x"/> times <paramref name="y"/>. The result has the dimension <paramref name="x"/>-rows by <paramref name="y"/>-columns.</returns>
/// <remarks>
/// <para>This operator is equivalent to using <see cref="Hlsl.Mul(Int4x4, int)"/> with the same input arguments.</para>
/// <para>For more info, see <see href="https://docs.microsoft.com/windows/win32/direct3dhlsl/dx-graphics-hlsl-mul"/>.</para>
/// <para>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</para>
/// </remarks>
[HlslIntrinsicName("mul", RequiresParametersMatching = true)]
public static Int4x4 operator *(Int4x4 x, int y) => default;
/// <summary>
/// Subtracts two <see cref="Int4x4"/> values.
/// </summary>
+3 -1
ファイルの表示
@@ -297,9 +297,11 @@ public unsafe partial struct <#=fullTypeName#>
/// <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 <#=fullTypeName#> operator *(<#=fullTypeName#> left, <#=fullTypeName#> right) => default;
<#
// Process all operators for the mul() intrinsic
// Process all operators for the mul() intrinsic (see comments in VectorType.ttinclude for info on the filters below)
foreach (var mulOverload in MulOverloads.Where(overload =>
!(overload.Params[0] == fullTypeName && overload.Params[1] == fullTypeName) &&
Regex.IsMatch(overload.Params[0], @"\d") &&
Regex.IsMatch(overload.Params[1], @"\d") &&
(overload.Return == fullTypeName && overload.Params.Contains(fullTypeName) ||
!overload.Params.Contains(overload.Return) && overload.Params[0] == fullTypeName)))
{
+19 -1
ファイルの表示
@@ -360,9 +360,27 @@ public unsafe partial struct <#=typeName#>
/// <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 <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => default;
<#
// Process all operators for the mul() intrinsic
// Process all operators for the mul() intrinsic. We apply the following filtering:
// 1) Operators where both arguments are of the containing type are skipped. This is because
// this operation is already defined as an elementwise product for all vector/matrix types.
// Defining the operator would cause a conflict, plus it would alter the semantics anyway.
// 2) Operators where either parameter is a primitive type (ie. not a vector) are skipped. This
// is because such operation is already implicitly defined (it's an elementwise product where
// the scalar is auto-promoted to the same vector/matrix type of the other argument). Again,
// defining the operator would cause the semantics of such expressions to change to a cross
// product, so these operators are intentionally skipped to keep code consistent with HLSL.
// 3) Among all available overloads, only either of these two cases are selected:
// - The containing type matches the return type and the first parameter type of the operator.
// This ensures that all overloads where the return type matches the containing type and the
// first parameter are generated inside the containing type, as one would do manually as well.
// - The return type is unlike both parameter types, but the containing type matches the type of
// the first parameter. This is the case when the operator (ie. the cross product) produces a
// result that's of a completely different type. In this case, the overload maps to a generated
// operator declared in the type that matches the type of the first parameter, as a convention.
foreach (var mulOverload in MulOverloads.Where(overload =>
!(overload.Params[0] == typeName && overload.Params[1] == typeName) &&
Regex.IsMatch(overload.Params[0], @"\d") &&
Regex.IsMatch(overload.Params[1], @"\d") &&
(overload.Return == typeName && overload.Params.Contains(typeName) ||
!overload.Params.Contains(overload.Return) && overload.Params[0] == typeName)))
{