diff --git a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs index 0720e4f4..82e8bddc 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs @@ -731,6 +731,42 @@ public unsafe partial struct Int2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int2 operator >>(Int2 xy, UInt2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator >>>(Int2 xy, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator >>>(Int2 xy, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator >>>(Int2 xy, Int2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator >>>(Int2 xy, UInt2 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs index d3cb66be..54c96875 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs @@ -2071,6 +2071,42 @@ public unsafe partial struct Int3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int3 operator >>(Int3 xyz, UInt3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator >>>(Int3 xyz, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator >>>(Int3 xyz, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator >>>(Int3 xyz, Int3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator >>>(Int3 xyz, UInt3 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs index ce557c50..49588ee4 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs @@ -5408,6 +5408,42 @@ public unsafe partial struct Int4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int4 operator >>(Int4 xyzw, UInt4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator >>>(Int4 xyzw, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator >>>(Int4 xyzw, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator >>>(Int4 xyzw, Int4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator >>>(Int4 xyzw, UInt4 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs index b76c3c3b..d5742dff 100644 --- a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs @@ -262,6 +262,42 @@ public unsafe partial struct Int1x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int1x1 operator >>(Int1x1 matrix, UInt1x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x1 operator >>>(Int1x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x1 operator >>>(Int1x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x1 operator >>>(Int1x1 matrix, Int1x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x1 operator >>>(Int1x1 matrix, UInt1x1 amount) => default; + /// /// Shifts left a value. /// @@ -777,6 +813,42 @@ public unsafe partial struct Int1x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int1x2 operator >>(Int1x2 matrix, UInt1x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x2 operator >>>(Int1x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x2 operator >>>(Int1x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x2 operator >>>(Int1x2 matrix, Int1x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x2 operator >>>(Int1x2 matrix, UInt1x2 amount) => default; + /// /// Shifts left a value. /// @@ -1310,6 +1382,42 @@ public unsafe partial struct Int1x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int1x3 operator >>(Int1x3 matrix, UInt1x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x3 operator >>>(Int1x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x3 operator >>>(Int1x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x3 operator >>>(Int1x3 matrix, Int1x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x3 operator >>>(Int1x3 matrix, UInt1x3 amount) => default; + /// /// Shifts left a value. /// @@ -1855,6 +1963,42 @@ public unsafe partial struct Int1x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int1x4 operator >>(Int1x4 matrix, UInt1x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x4 operator >>>(Int1x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x4 operator >>>(Int1x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x4 operator >>>(Int1x4 matrix, Int1x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int1x4 operator >>>(Int1x4 matrix, UInt1x4 amount) => default; + /// /// Shifts left a value. /// @@ -2362,6 +2506,42 @@ public unsafe partial struct Int2x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int2x1 operator >>(Int2x1 matrix, UInt2x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x1 operator >>>(Int2x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x1 operator >>>(Int2x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x1 operator >>>(Int2x1 matrix, Int2x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x1 operator >>>(Int2x1 matrix, UInt2x1 amount) => default; + /// /// Shifts left a value. /// @@ -2836,6 +3016,42 @@ public unsafe partial struct Int2x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int2x2 operator >>(Int2x2 matrix, UInt2x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x2 operator >>>(Int2x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x2 operator >>>(Int2x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x2 operator >>>(Int2x2 matrix, Int2x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x2 operator >>>(Int2x2 matrix, UInt2x2 amount) => default; + /// /// Shifts left a value. /// @@ -3414,6 +3630,42 @@ public unsafe partial struct Int2x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int2x3 operator >>(Int2x3 matrix, UInt2x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x3 operator >>>(Int2x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x3 operator >>>(Int2x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x3 operator >>>(Int2x3 matrix, Int2x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x3 operator >>>(Int2x3 matrix, UInt2x3 amount) => default; + /// /// Shifts left a value. /// @@ -4018,6 +4270,42 @@ public unsafe partial struct Int2x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int2x4 operator >>(Int2x4 matrix, UInt2x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x4 operator >>>(Int2x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x4 operator >>>(Int2x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x4 operator >>>(Int2x4 matrix, Int2x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2x4 operator >>>(Int2x4 matrix, UInt2x4 amount) => default; + /// /// Shifts left a value. /// @@ -4531,6 +4819,42 @@ public unsafe partial struct Int3x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int3x1 operator >>(Int3x1 matrix, UInt3x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x1 operator >>>(Int3x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x1 operator >>>(Int3x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x1 operator >>>(Int3x1 matrix, Int3x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x1 operator >>>(Int3x1 matrix, UInt3x1 amount) => default; + /// /// Shifts left a value. /// @@ -5116,6 +5440,42 @@ public unsafe partial struct Int3x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int3x2 operator >>(Int3x2 matrix, UInt3x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x2 operator >>>(Int3x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x2 operator >>>(Int3x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x2 operator >>>(Int3x2 matrix, Int3x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x2 operator >>>(Int3x2 matrix, UInt3x2 amount) => default; + /// /// Shifts left a value. /// @@ -5650,6 +6010,42 @@ public unsafe partial struct Int3x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int3x3 operator >>(Int3x3 matrix, UInt3x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x3 operator >>>(Int3x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x3 operator >>>(Int3x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x3 operator >>>(Int3x3 matrix, Int3x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x3 operator >>>(Int3x3 matrix, UInt3x3 amount) => default; + /// /// Shifts left a value. /// @@ -6307,6 +6703,42 @@ public unsafe partial struct Int3x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int3x4 operator >>(Int3x4 matrix, UInt3x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x4 operator >>>(Int3x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x4 operator >>>(Int3x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x4 operator >>>(Int3x4 matrix, Int3x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3x4 operator >>>(Int3x4 matrix, UInt3x4 amount) => default; + /// /// Shifts left a value. /// @@ -6832,6 +7264,42 @@ public unsafe partial struct Int4x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int4x1 operator >>(Int4x1 matrix, UInt4x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x1 operator >>>(Int4x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x1 operator >>>(Int4x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x1 operator >>>(Int4x1 matrix, Int4x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x1 operator >>>(Int4x1 matrix, UInt4x1 amount) => default; + /// /// Shifts left a value. /// @@ -7444,6 +7912,42 @@ public unsafe partial struct Int4x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int4x2 operator >>(Int4x2 matrix, UInt4x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x2 operator >>>(Int4x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x2 operator >>>(Int4x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x2 operator >>>(Int4x2 matrix, Int4x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x2 operator >>>(Int4x2 matrix, UInt4x2 amount) => default; + /// /// Shifts left a value. /// @@ -8102,6 +8606,42 @@ public unsafe partial struct Int4x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int4x3 operator >>(Int4x3 matrix, UInt4x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x3 operator >>>(Int4x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x3 operator >>>(Int4x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x3 operator >>>(Int4x3 matrix, Int4x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x3 operator >>>(Int4x3 matrix, UInt4x3 amount) => default; + /// /// Shifts left a value. /// @@ -8728,6 +9268,42 @@ public unsafe partial struct Int4x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static Int4x4 operator >>(Int4x4 matrix, UInt4x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x4 operator >>>(Int4x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x4 operator >>>(Int4x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x4 operator >>>(Int4x4 matrix, Int4x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4x4 operator >>>(Int4x4 matrix, UInt4x4 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude index fe7e0060..18182ecc 100644 --- a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude +++ b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude @@ -485,6 +485,42 @@ public unsafe partial struct <#=fullTypeName#> /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static <#=fullTypeName#> operator >>(<#=fullTypeName#> matrix, UInt<#=rows#>x<#=columns#> amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=fullTypeName#> operator >>>(<#=fullTypeName#> matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=fullTypeName#> operator >>>(<#=fullTypeName#> matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=fullTypeName#> operator >>>(<#=fullTypeName#> matrix, Int<#=rows#>x<#=columns#> amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=fullTypeName#> operator >>>(<#=fullTypeName#> matrix, UInt<#=rows#>x<#=columns#> amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs index 292e49db..9c4f7b62 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs @@ -634,6 +634,42 @@ public unsafe partial struct UInt2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt2 operator >>(UInt2 xy, UInt2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator >>>(UInt2 xy, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator >>>(UInt2 xy, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator >>>(UInt2 xy, Int2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator >>>(UInt2 xy, UInt2 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs index 356b166c..c3454cfa 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs @@ -1974,6 +1974,42 @@ public unsafe partial struct UInt3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt3 operator >>(UInt3 xyz, UInt3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator >>>(UInt3 xyz, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator >>>(UInt3 xyz, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator >>>(UInt3 xyz, Int3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator >>>(UInt3 xyz, UInt3 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs index eaf516f7..dfd5d023 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs @@ -5311,6 +5311,42 @@ public unsafe partial struct UInt4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt4 operator >>(UInt4 xyzw, UInt4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator >>>(UInt4 xyzw, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator >>>(UInt4 xyzw, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator >>>(UInt4 xyzw, Int4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator >>>(UInt4 xyzw, UInt4 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs index a1c9a1e8..d9398edf 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs @@ -236,6 +236,42 @@ public unsafe partial struct UInt1x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt1x1 operator >>(UInt1x1 matrix, UInt1x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x1 operator >>>(UInt1x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x1 operator >>>(UInt1x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x1 operator >>>(UInt1x1 matrix, Int1x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x1 operator >>>(UInt1x1 matrix, UInt1x1 amount) => default; + /// /// Shifts left a value. /// @@ -642,6 +678,42 @@ public unsafe partial struct UInt1x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt1x2 operator >>(UInt1x2 matrix, UInt1x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x2 operator >>>(UInt1x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x2 operator >>>(UInt1x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x2 operator >>>(UInt1x2 matrix, Int1x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x2 operator >>>(UInt1x2 matrix, UInt1x2 amount) => default; + /// /// Shifts left a value. /// @@ -1066,6 +1138,42 @@ public unsafe partial struct UInt1x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt1x3 operator >>(UInt1x3 matrix, UInt1x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x3 operator >>>(UInt1x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x3 operator >>>(UInt1x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x3 operator >>>(UInt1x3 matrix, Int1x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x3 operator >>>(UInt1x3 matrix, UInt1x3 amount) => default; + /// /// Shifts left a value. /// @@ -1502,6 +1610,42 @@ public unsafe partial struct UInt1x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt1x4 operator >>(UInt1x4 matrix, UInt1x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x4 operator >>>(UInt1x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x4 operator >>>(UInt1x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x4 operator >>>(UInt1x4 matrix, Int1x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt1x4 operator >>>(UInt1x4 matrix, UInt1x4 amount) => default; + /// /// Shifts left a value. /// @@ -1914,6 +2058,42 @@ public unsafe partial struct UInt2x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt2x1 operator >>(UInt2x1 matrix, UInt2x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x1 operator >>>(UInt2x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x1 operator >>>(UInt2x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x1 operator >>>(UInt2x1 matrix, Int2x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x1 operator >>>(UInt2x1 matrix, UInt2x1 amount) => default; + /// /// Shifts left a value. /// @@ -2363,6 +2543,42 @@ public unsafe partial struct UInt2x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt2x2 operator >>(UInt2x2 matrix, UInt2x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x2 operator >>>(UInt2x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x2 operator >>>(UInt2x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x2 operator >>>(UInt2x2 matrix, Int2x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x2 operator >>>(UInt2x2 matrix, UInt2x2 amount) => default; + /// /// Shifts left a value. /// @@ -2832,6 +3048,42 @@ public unsafe partial struct UInt2x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt2x3 operator >>(UInt2x3 matrix, UInt2x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x3 operator >>>(UInt2x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x3 operator >>>(UInt2x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x3 operator >>>(UInt2x3 matrix, Int2x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x3 operator >>>(UInt2x3 matrix, UInt2x3 amount) => default; + /// /// Shifts left a value. /// @@ -3327,6 +3579,42 @@ public unsafe partial struct UInt2x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt2x4 operator >>(UInt2x4 matrix, UInt2x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x4 operator >>>(UInt2x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x4 operator >>>(UInt2x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x4 operator >>>(UInt2x4 matrix, Int2x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2x4 operator >>>(UInt2x4 matrix, UInt2x4 amount) => default; + /// /// Shifts left a value. /// @@ -3745,6 +4033,42 @@ public unsafe partial struct UInt3x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt3x1 operator >>(UInt3x1 matrix, UInt3x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x1 operator >>>(UInt3x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x1 operator >>>(UInt3x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x1 operator >>>(UInt3x1 matrix, Int3x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x1 operator >>>(UInt3x1 matrix, UInt3x1 amount) => default; + /// /// Shifts left a value. /// @@ -4221,6 +4545,42 @@ public unsafe partial struct UInt3x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt3x2 operator >>(UInt3x2 matrix, UInt3x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x2 operator >>>(UInt3x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x2 operator >>>(UInt3x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x2 operator >>>(UInt3x2 matrix, Int3x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x2 operator >>>(UInt3x2 matrix, UInt3x2 amount) => default; + /// /// Shifts left a value. /// @@ -4730,6 +5090,42 @@ public unsafe partial struct UInt3x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt3x3 operator >>(UInt3x3 matrix, UInt3x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x3 operator >>>(UInt3x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x3 operator >>>(UInt3x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x3 operator >>>(UInt3x3 matrix, Int3x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x3 operator >>>(UInt3x3 matrix, UInt3x3 amount) => default; + /// /// Shifts left a value. /// @@ -5278,6 +5674,42 @@ public unsafe partial struct UInt3x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt3x4 operator >>(UInt3x4 matrix, UInt3x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x4 operator >>>(UInt3x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x4 operator >>>(UInt3x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x4 operator >>>(UInt3x4 matrix, Int3x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3x4 operator >>>(UInt3x4 matrix, UInt3x4 amount) => default; + /// /// Shifts left a value. /// @@ -5708,6 +6140,42 @@ public unsafe partial struct UInt4x1 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt4x1 operator >>(UInt4x1 matrix, UInt4x1 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x1 operator >>>(UInt4x1 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x1 operator >>>(UInt4x1 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x1 operator >>>(UInt4x1 matrix, Int4x1 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x1 operator >>>(UInt4x1 matrix, UInt4x1 amount) => default; + /// /// Shifts left a value. /// @@ -6211,6 +6679,42 @@ public unsafe partial struct UInt4x2 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt4x2 operator >>(UInt4x2 matrix, UInt4x2 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x2 operator >>>(UInt4x2 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x2 operator >>>(UInt4x2 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x2 operator >>>(UInt4x2 matrix, Int4x2 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x2 operator >>>(UInt4x2 matrix, UInt4x2 amount) => default; + /// /// Shifts left a value. /// @@ -6760,6 +7264,42 @@ public unsafe partial struct UInt4x3 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt4x3 operator >>(UInt4x3 matrix, UInt4x3 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x3 operator >>>(UInt4x3 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x3 operator >>>(UInt4x3 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x3 operator >>>(UInt4x3 matrix, Int4x3 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x3 operator >>>(UInt4x3 matrix, UInt4x3 amount) => default; + /// /// Shifts left a value. /// @@ -7361,6 +7901,42 @@ public unsafe partial struct UInt4x4 /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static UInt4x4 operator >>(UInt4x4 matrix, UInt4x4 amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x4 operator >>>(UInt4x4 matrix, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x4 operator >>>(UInt4x4 matrix, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x4 operator >>>(UInt4x4 matrix, Int4x4 amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4x4 operator >>>(UInt4x4 matrix, UInt4x4 amount) => default; + /// /// Shifts left a value. /// diff --git a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude index 88f9ac0b..a0bcea0e 100644 --- a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude +++ b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude @@ -516,6 +516,42 @@ public unsafe partial struct <#=typeName#> /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. public static <#=typeName#> operator >>(<#=typeName#> <#=argumentName#>, UInt<#=i#> amount) => default; + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator >>>(<#=typeName#> <#=argumentName#>, int amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator >>>(<#=typeName#> <#=argumentName#>, uint amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator >>>(<#=typeName#> <#=argumentName#>, Int<#=i#> amount) => default; + + /// + /// Shifts right a value without considering sign. + /// + /// The value to shift right. + /// The amount to shift each element right by. + /// The result of shifting right by . + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator >>>(<#=typeName#> <#=argumentName#>, UInt<#=i#> amount) => default; + /// /// Shifts left a value. ///