diff --git a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs
index 6074658f..0720e4f4 100644
--- a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs
@@ -695,6 +695,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -713,6 +731,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -731,6 +767,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator &(Int2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator &(Int2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -749,6 +803,24 @@ 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 left, UInt2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator |(Int2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator |(Int2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -767,6 +839,24 @@ 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 left, UInt2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator ^(Int2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2 operator ^(Int2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs
index cd7af4ec..d3cb66be 100644
--- a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs
@@ -2035,6 +2035,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -2053,6 +2071,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2071,6 +2107,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator &(Int3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator &(Int3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2089,6 +2143,24 @@ 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 left, UInt3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator |(Int3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator |(Int3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2107,6 +2179,24 @@ 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 left, UInt3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator ^(Int3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3 operator ^(Int3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs
index 9ce5baf6..ce557c50 100644
--- a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs
@@ -5372,6 +5372,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5390,6 +5408,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5408,6 +5444,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator &(Int4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator &(Int4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5426,6 +5480,24 @@ 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 left, UInt4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator |(Int4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator |(Int4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5444,6 +5516,24 @@ 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 left, UInt4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator ^(Int4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4 operator ^(Int4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
index b2bfe7ef..b76c3c3b 100644
--- a/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
+++ b/src/ComputeSharp.Core/Primitives/Int/IntMxN.g.cs
@@ -226,6 +226,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -244,6 +262,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -262,6 +298,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator &(Int1x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator &(Int1x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -280,6 +334,24 @@ public unsafe partial struct Int1x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x1 operator &(Int1x1 left, UInt1x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator |(Int1x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator |(Int1x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -298,6 +370,24 @@ public unsafe partial struct Int1x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x1 operator |(Int1x1 left, UInt1x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator ^(Int1x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x1 operator ^(Int1x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -651,6 +741,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -669,6 +777,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -687,6 +813,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator &(Int1x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator &(Int1x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -705,6 +849,24 @@ public unsafe partial struct Int1x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x2 operator &(Int1x2 left, UInt1x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator |(Int1x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator |(Int1x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -723,6 +885,24 @@ public unsafe partial struct Int1x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x2 operator |(Int1x2 left, UInt1x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator ^(Int1x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x2 operator ^(Int1x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1094,6 +1274,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1112,6 +1310,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1130,6 +1346,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator &(Int1x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator &(Int1x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1148,6 +1382,24 @@ public unsafe partial struct Int1x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x3 operator &(Int1x3 left, UInt1x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator |(Int1x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator |(Int1x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -1166,6 +1418,24 @@ public unsafe partial struct Int1x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x3 operator |(Int1x3 left, UInt1x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator ^(Int1x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x3 operator ^(Int1x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1549,6 +1819,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1567,6 +1855,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1585,6 +1891,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator &(Int1x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator &(Int1x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1603,6 +1927,24 @@ public unsafe partial struct Int1x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x4 operator &(Int1x4 left, UInt1x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator |(Int1x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator |(Int1x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -1621,6 +1963,24 @@ public unsafe partial struct Int1x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int1x4 operator |(Int1x4 left, UInt1x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator ^(Int1x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int1x4 operator ^(Int1x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1966,6 +2326,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1984,6 +2362,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2002,6 +2398,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator &(Int2x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator &(Int2x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2020,6 +2434,24 @@ public unsafe partial struct Int2x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x1 operator &(Int2x1 left, UInt2x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator |(Int2x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator |(Int2x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2038,6 +2470,24 @@ public unsafe partial struct Int2x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x1 operator |(Int2x1 left, UInt2x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator ^(Int2x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x1 operator ^(Int2x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -2350,6 +2800,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -2368,6 +2836,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2386,6 +2872,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator &(Int2x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator &(Int2x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2404,6 +2908,24 @@ public unsafe partial struct Int2x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x2 operator &(Int2x2 left, UInt2x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator |(Int2x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator |(Int2x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2422,6 +2944,24 @@ public unsafe partial struct Int2x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x2 operator |(Int2x2 left, UInt2x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator ^(Int2x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x2 operator ^(Int2x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -2838,6 +3378,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -2856,6 +3414,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2874,6 +3450,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator &(Int2x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator &(Int2x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2892,6 +3486,24 @@ public unsafe partial struct Int2x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x3 operator &(Int2x3 left, UInt2x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator |(Int2x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator |(Int2x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2910,6 +3522,24 @@ public unsafe partial struct Int2x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x3 operator |(Int2x3 left, UInt2x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator ^(Int2x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x3 operator ^(Int2x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -3352,6 +3982,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -3370,6 +4018,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -3388,6 +4054,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator &(Int2x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator &(Int2x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -3406,6 +4090,24 @@ public unsafe partial struct Int2x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x4 operator &(Int2x4 left, UInt2x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator |(Int2x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator |(Int2x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -3424,6 +4126,24 @@ public unsafe partial struct Int2x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int2x4 operator |(Int2x4 left, UInt2x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator ^(Int2x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int2x4 operator ^(Int2x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -3775,6 +4495,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -3793,6 +4531,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -3811,6 +4567,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator &(Int3x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator &(Int3x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -3829,6 +4603,24 @@ public unsafe partial struct Int3x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x1 operator &(Int3x1 left, UInt3x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator |(Int3x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator |(Int3x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -3847,6 +4639,24 @@ public unsafe partial struct Int3x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x1 operator |(Int3x1 left, UInt3x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator ^(Int3x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x1 operator ^(Int3x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -4270,6 +5080,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -4288,6 +5116,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -4306,6 +5152,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator &(Int3x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator &(Int3x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -4324,6 +5188,24 @@ public unsafe partial struct Int3x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x2 operator &(Int3x2 left, UInt3x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator |(Int3x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator |(Int3x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -4342,6 +5224,24 @@ public unsafe partial struct Int3x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x2 operator |(Int3x2 left, UInt3x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator ^(Int3x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x2 operator ^(Int3x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -4714,6 +5614,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -4732,6 +5650,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -4750,6 +5686,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator &(Int3x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator &(Int3x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -4768,6 +5722,24 @@ public unsafe partial struct Int3x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x3 operator &(Int3x3 left, UInt3x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator |(Int3x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator |(Int3x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -4786,6 +5758,24 @@ public unsafe partial struct Int3x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x3 operator |(Int3x3 left, UInt3x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator ^(Int3x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x3 operator ^(Int3x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -5281,6 +6271,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5299,6 +6307,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5317,6 +6343,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator &(Int3x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator &(Int3x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5335,6 +6379,24 @@ public unsafe partial struct Int3x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x4 operator &(Int3x4 left, UInt3x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator |(Int3x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator |(Int3x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5353,6 +6415,24 @@ public unsafe partial struct Int3x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int3x4 operator |(Int3x4 left, UInt3x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator ^(Int3x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int3x4 operator ^(Int3x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -5716,6 +6796,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5734,6 +6832,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5752,6 +6868,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator &(Int4x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator &(Int4x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5770,6 +6904,24 @@ public unsafe partial struct Int4x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x1 operator &(Int4x1 left, UInt4x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator |(Int4x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator |(Int4x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5788,6 +6940,24 @@ public unsafe partial struct Int4x1
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x1 operator |(Int4x1 left, UInt4x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator ^(Int4x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x1 operator ^(Int4x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -6238,6 +7408,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -6256,6 +7444,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -6274,6 +7480,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator &(Int4x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator &(Int4x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -6292,6 +7516,24 @@ public unsafe partial struct Int4x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x2 operator &(Int4x2 left, UInt4x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator |(Int4x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator |(Int4x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -6310,6 +7552,24 @@ public unsafe partial struct Int4x2
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x2 operator |(Int4x2 left, UInt4x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator ^(Int4x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x2 operator ^(Int4x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -6806,6 +8066,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -6824,6 +8102,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -6842,6 +8138,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator &(Int4x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator &(Int4x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -6860,6 +8174,24 @@ public unsafe partial struct Int4x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x3 operator &(Int4x3 left, UInt4x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator |(Int4x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator |(Int4x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -6878,6 +8210,24 @@ public unsafe partial struct Int4x3
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x3 operator |(Int4x3 left, UInt4x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator ^(Int4x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x3 operator ^(Int4x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -7342,6 +8692,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -7360,6 +8728,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -7378,6 +8764,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator &(Int4x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator &(Int4x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -7396,6 +8800,24 @@ public unsafe partial struct Int4x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x4 operator &(Int4x4 left, UInt4x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator |(Int4x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator |(Int4x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -7414,6 +8836,24 @@ public unsafe partial struct Int4x4
/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
public static Int4x4 operator |(Int4x4 left, UInt4x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator ^(Int4x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static Int4x4 operator ^(Int4x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
index 089843f6..fe7e0060 100644
--- a/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
+++ b/src/ComputeSharp.Core/Primitives/MatrixType.ttinclude
@@ -449,6 +449,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -467,6 +485,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -485,6 +521,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator &(<#=fullTypeName#> left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator &(<#=fullTypeName#> left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -503,6 +557,24 @@ 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#> left, UInt<#=rows#>x<#=columns#> right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator |(<#=fullTypeName#> left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator |(<#=fullTypeName#> left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -521,6 +593,24 @@ 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#> left, UInt<#=rows#>x<#=columns#> right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator ^(<#=fullTypeName#> left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=fullTypeName#> operator ^(<#=fullTypeName#> left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs
index 6551999b..292e49db 100644
--- a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs
+++ b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs
@@ -598,6 +598,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -616,6 +634,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -634,6 +670,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator &(UInt2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator &(UInt2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -652,6 +706,24 @@ 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 left, UInt2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator |(UInt2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator |(UInt2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -670,6 +742,24 @@ 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 left, UInt2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator ^(UInt2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2 operator ^(UInt2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs
index 476c29af..356b166c 100644
--- a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs
+++ b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs
@@ -1938,6 +1938,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1956,6 +1974,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1974,6 +2010,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator &(UInt3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator &(UInt3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1992,6 +2046,24 @@ 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 left, UInt3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator |(UInt3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator |(UInt3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2010,6 +2082,24 @@ 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 left, UInt3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator ^(UInt3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3 operator ^(UInt3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs
index ab95b605..eaf516f7 100644
--- a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs
+++ b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs
@@ -5275,6 +5275,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5293,6 +5311,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5311,6 +5347,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator &(UInt4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator &(UInt4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5329,6 +5383,24 @@ 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 left, UInt4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator |(UInt4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator |(UInt4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5347,6 +5419,24 @@ 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 left, UInt4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator ^(UInt4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4 operator ^(UInt4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs
index 2411e3fc..a1c9a1e8 100644
--- a/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs
+++ b/src/ComputeSharp.Core/Primitives/UInt/UIntMxN.g.cs
@@ -200,6 +200,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -218,6 +236,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -236,6 +272,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator &(UInt1x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator &(UInt1x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -254,6 +308,24 @@ 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 left, UInt1x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator |(UInt1x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator |(UInt1x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -272,6 +344,24 @@ 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 left, UInt1x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator ^(UInt1x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x1 operator ^(UInt1x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -516,6 +606,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -534,6 +642,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -552,6 +678,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator &(UInt1x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator &(UInt1x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -570,6 +714,24 @@ 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 left, UInt1x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator |(UInt1x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator |(UInt1x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -588,6 +750,24 @@ 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 left, UInt1x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator ^(UInt1x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x2 operator ^(UInt1x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -850,6 +1030,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -868,6 +1066,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -886,6 +1102,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator &(UInt1x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator &(UInt1x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -904,6 +1138,24 @@ 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 left, UInt1x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator |(UInt1x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator |(UInt1x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -922,6 +1174,24 @@ 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 left, UInt1x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator ^(UInt1x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x3 operator ^(UInt1x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1196,6 +1466,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1214,6 +1502,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1232,6 +1538,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator &(UInt1x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator &(UInt1x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1250,6 +1574,24 @@ 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 left, UInt1x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator |(UInt1x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator |(UInt1x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -1268,6 +1610,24 @@ 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 left, UInt1x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator ^(UInt1x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt1x4 operator ^(UInt1x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1518,6 +1878,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1536,6 +1914,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1554,6 +1950,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator &(UInt2x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator &(UInt2x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1572,6 +1986,24 @@ 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 left, UInt2x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator |(UInt2x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator |(UInt2x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -1590,6 +2022,24 @@ 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 left, UInt2x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator ^(UInt2x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x1 operator ^(UInt2x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -1877,6 +2327,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -1895,6 +2363,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -1913,6 +2399,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator &(UInt2x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator &(UInt2x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -1931,6 +2435,24 @@ 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 left, UInt2x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator |(UInt2x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator |(UInt2x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -1949,6 +2471,24 @@ 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 left, UInt2x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator ^(UInt2x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x2 operator ^(UInt2x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -2256,6 +2796,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -2274,6 +2832,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2292,6 +2868,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator &(UInt2x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator &(UInt2x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2310,6 +2904,24 @@ 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 left, UInt2x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator |(UInt2x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator |(UInt2x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2328,6 +2940,24 @@ 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 left, UInt2x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator ^(UInt2x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x3 operator ^(UInt2x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -2661,6 +3291,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -2679,6 +3327,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -2697,6 +3363,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator &(UInt2x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator &(UInt2x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -2715,6 +3399,24 @@ 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 left, UInt2x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator |(UInt2x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator |(UInt2x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -2733,6 +3435,24 @@ 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 left, UInt2x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator ^(UInt2x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt2x4 operator ^(UInt2x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -2989,6 +3709,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -3007,6 +3745,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -3025,6 +3781,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator &(UInt3x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator &(UInt3x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -3043,6 +3817,24 @@ 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 left, UInt3x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator |(UInt3x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator |(UInt3x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -3061,6 +3853,24 @@ 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 left, UInt3x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator ^(UInt3x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x1 operator ^(UInt3x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -3375,6 +4185,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -3393,6 +4221,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -3411,6 +4257,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator &(UInt3x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator &(UInt3x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -3429,6 +4293,24 @@ 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 left, UInt3x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator |(UInt3x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator |(UInt3x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -3447,6 +4329,24 @@ 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 left, UInt3x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator ^(UInt3x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x2 operator ^(UInt3x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -3794,6 +4694,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -3812,6 +4730,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -3830,6 +4766,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator &(UInt3x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator &(UInt3x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -3848,6 +4802,24 @@ 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 left, UInt3x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator |(UInt3x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator |(UInt3x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -3866,6 +4838,24 @@ 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 left, UInt3x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator ^(UInt3x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x3 operator ^(UInt3x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -4252,6 +5242,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -4270,6 +5278,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -4288,6 +5314,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator &(UInt3x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator &(UInt3x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -4306,6 +5350,24 @@ 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 left, UInt3x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator |(UInt3x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator |(UInt3x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -4324,6 +5386,24 @@ 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 left, UInt3x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator ^(UInt3x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt3x4 operator ^(UInt3x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -4592,6 +5672,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -4610,6 +5708,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -4628,6 +5744,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator &(UInt4x1 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator &(UInt4x1 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -4646,6 +5780,24 @@ 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 left, UInt4x1 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator |(UInt4x1 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator |(UInt4x1 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -4664,6 +5816,24 @@ 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 left, UInt4x1 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator ^(UInt4x1 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x1 operator ^(UInt4x1 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -5005,6 +6175,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5023,6 +6211,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5041,6 +6247,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator &(UInt4x2 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator &(UInt4x2 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5059,6 +6283,24 @@ 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 left, UInt4x2 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator |(UInt4x2 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator |(UInt4x2 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5077,6 +6319,24 @@ 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 left, UInt4x2 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator ^(UInt4x2 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x2 operator ^(UInt4x2 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -5464,6 +6724,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5482,6 +6760,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -5500,6 +6796,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator &(UInt4x3 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator &(UInt4x3 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -5518,6 +6832,24 @@ 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 left, UInt4x3 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator |(UInt4x3 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator |(UInt4x3 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -5536,6 +6868,24 @@ 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 left, UInt4x3 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator ^(UInt4x3 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x3 operator ^(UInt4x3 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
@@ -5975,6 +7325,24 @@ 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) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -5993,6 +7361,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -6011,6 +7397,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator &(UInt4x4 left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator &(UInt4x4 left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -6029,6 +7433,24 @@ 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 left, UInt4x4 right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator |(UInt4x4 left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator |(UInt4x4 left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -6047,6 +7469,24 @@ 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 left, UInt4x4 right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator ^(UInt4x4 left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static UInt4x4 operator ^(UInt4x4 left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude
index 7d964bf7..88f9ac0b 100644
--- a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude
+++ b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude
@@ -480,6 +480,24 @@ 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#>) => default;
+ ///
+ /// Shifts right a value.
+ ///
+ /// 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.
+ ///
+ /// 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.
///
@@ -498,6 +516,24 @@ 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
+ ///
+ /// The value to shift left.
+ /// The amount to shift each element left by.
+ /// The result of shifting left 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 left a value.
///
@@ -516,6 +552,24 @@ 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;
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator &(<#=typeName#> left, int right) => default;
+
+ ///
+ /// Bitwise ands a value.
+ ///
+ /// The value to bitwise and.
+ /// The value to combine.
+ /// The result of performing the bitwise and between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator &(<#=typeName#> left, uint right) => default;
+
///
/// Bitwise ands a value.
///
@@ -534,6 +588,24 @@ 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#> left, UInt<#=i#> right) => default;
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator |(<#=typeName#> left, int right) => default;
+
+ ///
+ /// Bitwise ors a value.
+ ///
+ /// The value to bitwise or.
+ /// The value to combine.
+ /// The result of performing the bitwise or between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator |(<#=typeName#> left, uint right) => default;
+
///
/// Bitwise ors a value.
///
@@ -552,6 +624,24 @@ 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#> left, UInt<#=i#> right) => default;
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator ^(<#=typeName#> left, int right) => default;
+
+ ///
+ /// Bitwise xors a value.
+ ///
+ /// The value to bitwise xor.
+ /// The value to combine.
+ /// The result of performing the bitwise xor between and .
+ /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.
+ public static <#=typeName#> operator ^(<#=typeName#> left, uint right) => default;
+
///
/// Bitwise xors a value.
///
diff --git a/tests/ComputeSharp.Tests/ShaderRewriterTests.cs b/tests/ComputeSharp.Tests/ShaderRewriterTests.cs
index 73cad052..7f19cc08 100644
--- a/tests/ComputeSharp.Tests/ShaderRewriterTests.cs
+++ b/tests/ComputeSharp.Tests/ShaderRewriterTests.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using CommunityToolkit.HighPerformance;
using ComputeSharp.Interop;
using ComputeSharp.Tests.Attributes;
using ComputeSharp.Tests.Extensions;
@@ -262,6 +263,140 @@ public partial class ShaderRewriterTests
}
}
+ // See https://github.com/Sergio0694/ComputeSharp/issues/817
+ [CombinatorialTestMethod]
+ [AllDevices]
+ public void AmbiguousHlslOperators(Device device)
+ {
+ int[] data = new int[30];
+
+ new Random(42).NextBytes(data.AsSpan(0, 14).Cast());
+
+ using ReadWriteBuffer buffer = device.Get().AllocateReadWriteBuffer(data);
+
+ device.Get().For(1, new AmbiguousHlslOperatorsShader(buffer));
+
+ int[] results = buffer.ToArray();
+
+ int2 a = new(data[0], data[1]);
+ uint2 b = new((uint)data[2], (uint)data[3]);
+ int2x3 c = new(data[4], data[5], data[6], data[7], data[8], data[9]);
+ uint2x2 d = new((uint)data[10], (uint)data[11], (uint)data[12], (uint)data[13]);
+
+ int2 a_shift_int = new(a.X << 2, a.Y << 2);
+ int2 a_shift_uint = new(a.X >> 2, a.Y >> 2);
+ int2 a_and_int = new(a.X & 1, a.Y & 1);
+ int2 a_and_uint = new(a.X & 4, a.Y & 4);
+ int2 a_or_int = new(a.X | 1, a.Y | 1);
+ int2 a_or_uint = new(a.X | 4, a.Y | 4);
+ int2 a_xor_int = new(a.X ^ 2, a.Y ^ 2);
+ int2 a_xor_uint = new(a.X ^ 5, a.Y ^ 5);
+
+ uint2 b_shift_int = new(b.X << 2, b.Y << 2);
+ uint2 b_shift_uint = new(b.X >> 2, b.Y >> 2);
+
+ int2x3 c_shift_int = new(c.M11 << 2, c.M12 << 2, c.M13 << 2, c.M21 << 2, c.M22 << 2, c.M23 << 2);
+ uint2x2 d_shift_int = new(d.M11 >> 2, d.M12 >> 2, d.M21 >> 2, d.M22 >> 2);
+
+ Assert.AreEqual(results[0], a_shift_int.X);
+ Assert.AreEqual(results[1], a_shift_int.Y);
+ Assert.AreEqual(results[2], a_shift_uint.X);
+ Assert.AreEqual(results[3], a_shift_uint.Y);
+ Assert.AreEqual(results[4], a_and_int.X);
+ Assert.AreEqual(results[5], a_and_int.Y);
+ Assert.AreEqual(results[6], a_and_uint.X);
+ Assert.AreEqual(results[7], a_and_uint.Y);
+ Assert.AreEqual(results[8], a_or_int.X);
+ Assert.AreEqual(results[9], a_or_int.Y);
+ Assert.AreEqual(results[10], a_or_uint.X);
+ Assert.AreEqual(results[11], a_or_uint.Y);
+ Assert.AreEqual(results[12], a_xor_int.X);
+ Assert.AreEqual(results[13], a_xor_int.Y);
+ Assert.AreEqual(results[14], a_xor_uint.X);
+ Assert.AreEqual(results[15], a_xor_uint.Y);
+
+ Assert.AreEqual(results[16], (int)b_shift_int.X);
+ Assert.AreEqual(results[17], (int)b_shift_int.Y);
+ Assert.AreEqual(results[18], (int)b_shift_uint.X);
+ Assert.AreEqual(results[19], (int)b_shift_uint.Y);
+
+ Assert.AreEqual(results[20], c_shift_int.M11);
+ Assert.AreEqual(results[21], c_shift_int.M12);
+ Assert.AreEqual(results[22], c_shift_int.M13);
+ Assert.AreEqual(results[23], c_shift_int.M21);
+ Assert.AreEqual(results[24], c_shift_int.M22);
+ Assert.AreEqual(results[25], c_shift_int.M23);
+
+ Assert.AreEqual(results[26], (int)d_shift_int.M11);
+ Assert.AreEqual(results[27], (int)d_shift_int.M12);
+ Assert.AreEqual(results[28], (int)d_shift_int.M21);
+ Assert.AreEqual(results[29], (int)d_shift_int.M22);
+ }
+
+ [AutoConstructor]
+ [ThreadGroupSize(DefaultThreadGroupSizes.X)]
+ [GeneratedComputeShaderDescriptor]
+ internal readonly partial struct AmbiguousHlslOperatorsShader : IComputeShader
+ {
+ public readonly ReadWriteBuffer buffer;
+
+ public void Execute()
+ {
+ int2 a = new(buffer[0], buffer[1]);
+ uint2 b = new((uint)buffer[2], (uint)buffer[3]);
+ int2x3 c = new(buffer[4], buffer[5], buffer[6], buffer[7], buffer[8], buffer[9]);
+ uint2x2 d = new((uint)buffer[10], (uint)buffer[11], (uint)buffer[12], (uint)buffer[13]);
+
+ int2 a_shift_int = a << 2;
+ int2 a_shift_uint = a >> 2u;
+ int2 a_and_int = a & 1;
+ int2 a_and_uint = a & 4u;
+ int2 a_or_int = a | 1;
+ int2 a_or_uint = a | 4u;
+ int2 a_xor_int = a ^ 2;
+ int2 a_xor_uint = a ^ 5;
+
+ uint2 b_shift_int = b << 2;
+ uint2 b_shift_uint = b >> 2u;
+
+ int2x3 c_shift_int = c << 2;
+ uint2x2 d_shift_int = d >> 2;
+
+ buffer[0] = a_shift_int.X;
+ buffer[1] = a_shift_int.Y;
+ buffer[2] = a_shift_uint.X;
+ buffer[3] = a_shift_uint.Y;
+ buffer[4] = a_and_int.X;
+ buffer[5] = a_and_int.Y;
+ buffer[6] = a_and_uint.X;
+ buffer[7] = a_and_uint.Y;
+ buffer[8] = a_or_int.X;
+ buffer[9] = a_or_int.Y;
+ buffer[10] = a_or_uint.X;
+ buffer[11] = a_or_uint.Y;
+ buffer[12] = a_xor_int.X;
+ buffer[13] = a_xor_int.Y;
+ buffer[14] = a_xor_uint.X;
+ buffer[15] = a_xor_uint.Y;
+ buffer[16] = (int)b_shift_int.X;
+ buffer[17] = (int)b_shift_int.Y;
+ buffer[18] = (int)b_shift_uint.X;
+ buffer[19] = (int)b_shift_uint.Y;
+
+ buffer[20] = c_shift_int.M11;
+ buffer[21] = c_shift_int.M12;
+ buffer[22] = c_shift_int.M13;
+ buffer[23] = c_shift_int.M21;
+ buffer[24] = c_shift_int.M22;
+ buffer[25] = c_shift_int.M23;
+
+ buffer[26] = (int)d_shift_int.M11;
+ buffer[27] = (int)d_shift_int.M12;
+ buffer[28] = (int)d_shift_int.M21;
+ buffer[29] = (int)d_shift_int.M22;
+ }
+ }
+
[CombinatorialTestMethod]
[AllDevices]
public void ToBooleanConversionHlslIntrinsics(Device device)