Remove mul() operators overriding scalar promotion multiplications
このコミットが含まれているのは:
1 親
7a92525b71
コミット
1daf6338df
10ファイル変更
+22
-1066
検索条件に一致するファイルはありません
@@ -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>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする