diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
index 3fb52e8d..c75907a1 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs
@@ -33,7 +33,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the first color component
///
- public float R
+ public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
@@ -42,7 +42,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the second color component
///
- public float G
+ public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
@@ -52,7 +52,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current instance
///
/// The index of the component to access
- public float this[int i]
+ public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
@@ -64,7 +64,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
public Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
///
- /// Gets or sets an value with the and values
+ /// Gets or sets an value with the and values
///
public Int2 XY
{
@@ -73,7 +73,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
}
///
- /// Gets an value with the and values
+ /// Gets an value with the and values
///
public Int2 YX
{
@@ -92,7 +92,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
///
- /// Gets or sets an value with the and values
+ /// Gets or sets an value with the and values
///
public Int2 RG
{
@@ -101,7 +101,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
}
///
- /// Gets an value with the and values
+ /// Gets an value with the and values
///
public Int2 GR
{
diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
index f4407028..b261d055 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs
@@ -40,7 +40,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the first color component
///
- public float R
+ public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
@@ -49,7 +49,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the second color component
///
- public float G
+ public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
@@ -58,7 +58,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the third color component
///
- public float B
+ public int B
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
@@ -68,7 +68,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current instance
///
/// The index of the component to access
- public float this[int i]
+ public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
index 1a5a1888..a12d8fec 100644
--- a/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
+++ b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs
@@ -47,7 +47,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the first color component
///
- public float R
+ public int R
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}");
@@ -56,7 +56,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the second color component
///
- public float G
+ public int G
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}");
@@ -65,7 +65,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the third color component
///
- public float B
+ public int B
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}");
@@ -74,7 +74,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
///
/// Gets or sets the value of the fourth color component
///
- public float A
+ public int A
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}");
@@ -84,7 +84,7 @@ namespace ComputeSharp.Shaders.Primitives.Int
/// Gets or sets a specific component in the current instance
///
/// The index of the component to access
- public float this[int i]
+ public int this[int i]
{
get => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]");
set => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]");