diff --git a/src/ComputeSharp.Core/PixelTypes/Bgra32.cs b/src/ComputeSharp.Core/PixelTypes/Bgra32.cs
index 1b3f7ea8..3a9172d2 100644
--- a/src/ComputeSharp.Core/PixelTypes/Bgra32.cs
+++ b/src/ComputeSharp.Core/PixelTypes/Bgra32.cs
@@ -18,7 +18,7 @@ namespace ComputeSharp
///
/// This struct is fully mutable.
[StructLayout(LayoutKind.Sequential)]
- public struct Bgra32 : IEquatable, IUnorm, IUnorm, IUnorm
+ public struct Bgra32 : IEquatable, IUnorm, IUnorm
{
///
/// The blue component.
diff --git a/src/ComputeSharp.Core/PixelTypes/R16.cs b/src/ComputeSharp.Core/PixelTypes/R16.cs
index a9fccb92..1cf56e8d 100644
--- a/src/ComputeSharp.Core/PixelTypes/R16.cs
+++ b/src/ComputeSharp.Core/PixelTypes/R16.cs
@@ -14,7 +14,7 @@ namespace ComputeSharp
///
///
[StructLayout(LayoutKind.Sequential)]
- public struct R16 : IEquatable, IUnorm, IUnorm
+ public struct R16 : IEquatable, IUnorm
{
///
/// The red component.
diff --git a/src/ComputeSharp.Core/PixelTypes/R8.cs b/src/ComputeSharp.Core/PixelTypes/R8.cs
index 044c34f1..a5c4fbe1 100644
--- a/src/ComputeSharp.Core/PixelTypes/R8.cs
+++ b/src/ComputeSharp.Core/PixelTypes/R8.cs
@@ -14,7 +14,7 @@ namespace ComputeSharp
///
///
[StructLayout(LayoutKind.Sequential)]
- public struct R8 : IEquatable, IUnorm, IUnorm
+ public struct R8 : IEquatable, IUnorm
{
///
/// The red component.
diff --git a/src/ComputeSharp.Core/PixelTypes/Rg16.cs b/src/ComputeSharp.Core/PixelTypes/Rg16.cs
index 5d6887f6..cf294abb 100644
--- a/src/ComputeSharp.Core/PixelTypes/Rg16.cs
+++ b/src/ComputeSharp.Core/PixelTypes/Rg16.cs
@@ -15,7 +15,7 @@ namespace ComputeSharp
///
///
[StructLayout(LayoutKind.Sequential)]
- public struct Rg16 : IEquatable, IUnorm, IUnorm, IUnorm
+ public struct Rg16 : IEquatable, IUnorm, IUnorm
{
///
/// The red component.
diff --git a/src/ComputeSharp.Core/PixelTypes/Rg32.cs b/src/ComputeSharp.Core/PixelTypes/Rg32.cs
index 36bba66f..3ad82522 100644
--- a/src/ComputeSharp.Core/PixelTypes/Rg32.cs
+++ b/src/ComputeSharp.Core/PixelTypes/Rg32.cs
@@ -15,7 +15,7 @@ namespace ComputeSharp
///
///
[StructLayout(LayoutKind.Sequential)]
- public struct Rg32 : IEquatable, IUnorm, IUnorm, IUnorm
+ public struct Rg32 : IEquatable, IUnorm, IUnorm
{
///
/// The red component.
diff --git a/src/ComputeSharp.Core/PixelTypes/Rgba32.cs b/src/ComputeSharp.Core/PixelTypes/Rgba32.cs
index e8787029..75b25d60 100644
--- a/src/ComputeSharp.Core/PixelTypes/Rgba32.cs
+++ b/src/ComputeSharp.Core/PixelTypes/Rgba32.cs
@@ -17,7 +17,7 @@ namespace ComputeSharp
///
/// This struct is fully mutable.
[StructLayout(LayoutKind.Sequential)]
- public struct Rgba32 : IEquatable, IUnorm, IUnorm, IUnorm
+ public struct Rgba32 : IEquatable, IUnorm, IUnorm
{
///
/// The red component.
diff --git a/src/ComputeSharp.Core/PixelTypes/Rgba64.cs b/src/ComputeSharp.Core/PixelTypes/Rgba64.cs
index 835e8c30..4fd444e1 100644
--- a/src/ComputeSharp.Core/PixelTypes/Rgba64.cs
+++ b/src/ComputeSharp.Core/PixelTypes/Rgba64.cs
@@ -17,7 +17,7 @@ namespace ComputeSharp
///
/// This struct is fully mutable.
[StructLayout(LayoutKind.Sequential)]
- public struct Rgba64 : IEquatable, IUnorm, IUnorm, IUnorm
+ public struct Rgba64 : IEquatable, IUnorm, IUnorm
{
///
/// The red component.
diff --git a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs
index 1b0e1fb0..78efd8c9 100644
--- a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs
+++ b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.cs
@@ -15,42 +15,28 @@ namespace ComputeSharp.Tests
[TestMethod]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Bgra32), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Bgra32), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Bgra32), typeof(Double4))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(R16), typeof(float))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(R16), typeof(double))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(R8), typeof(float))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(R8), typeof(double))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg16), typeof(Vector2))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg16), typeof(Float2))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg16), typeof(Double2))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg32), typeof(Vector2))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg32), typeof(Float2))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rg32), typeof(Double2))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba32), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba32), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba32), typeof(Double4))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba64), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba64), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture2D<,>), typeof(Rgba64), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Bgra32), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Bgra32), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(Bgra32), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(R16), typeof(float))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(R16), typeof(double))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(R8), typeof(float))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(R8), typeof(double))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg16), typeof(Vector2))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg16), typeof(Float2))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg16), typeof(Double2))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg32), typeof(Vector2))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg32), typeof(Float2))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rg32), typeof(Double2))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba32), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba32), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba32), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba64), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba64), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture2D<,>), typeof(Rgba64), typeof(Double4))]
public void Allocate_Uninitialized_Pixel_Ok(Type textureType, Type t, Type tPixel)
{
static void Test(Type textureType)
diff --git a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.g.cs b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.g.cs
index 607b2168..08039596 100644
--- a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.g.cs
+++ b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.g.cs
@@ -9,23 +9,16 @@ namespace ComputeSharp.Tests
[TestMethod]
[DataRow(typeof(Bgra32), typeof(Vector4))]
[DataRow(typeof(Bgra32), typeof(Float4))]
- [DataRow(typeof(Bgra32), typeof(Double4))]
[DataRow(typeof(R16), typeof(float))]
- [DataRow(typeof(R16), typeof(double))]
[DataRow(typeof(R8), typeof(float))]
- [DataRow(typeof(R8), typeof(double))]
[DataRow(typeof(Rg16), typeof(Vector2))]
[DataRow(typeof(Rg16), typeof(Float2))]
- [DataRow(typeof(Rg16), typeof(Double2))]
[DataRow(typeof(Rg32), typeof(Vector2))]
[DataRow(typeof(Rg32), typeof(Float2))]
- [DataRow(typeof(Rg32), typeof(Double2))]
[DataRow(typeof(Rgba32), typeof(Vector4))]
[DataRow(typeof(Rgba32), typeof(Float4))]
- [DataRow(typeof(Rgba32), typeof(Double4))]
[DataRow(typeof(Rgba64), typeof(Vector4))]
[DataRow(typeof(Rgba64), typeof(Float4))]
- [DataRow(typeof(Rgba64), typeof(Double4))]
public void Dispatch_NormalizedTexture2D(Type t, Type tPixel)
{
if (t == typeof(Bgra32) && tPixel == typeof(Vector4))
@@ -42,13 +35,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_Bgra32_Float4(source, destination));
}
- if (t == typeof(Bgra32) && tPixel == typeof(Double4))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_Bgra32_Double4(source, destination));
- }
if (t == typeof(R16) && tPixel == typeof(float))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -56,13 +42,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_R16_float(source, destination));
}
- if (t == typeof(R16) && tPixel == typeof(double))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_R16_double(source, destination));
- }
if (t == typeof(R8) && tPixel == typeof(float))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -70,13 +49,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_R8_float(source, destination));
}
- if (t == typeof(R8) && tPixel == typeof(double))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_R8_double(source, destination));
- }
if (t == typeof(Rg16) && tPixel == typeof(Vector2))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -91,13 +63,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_Rg16_Float2(source, destination));
}
- if (t == typeof(Rg16) && tPixel == typeof(Double2))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_Rg16_Double2(source, destination));
- }
if (t == typeof(Rg32) && tPixel == typeof(Vector2))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -112,13 +77,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_Rg32_Float2(source, destination));
}
- if (t == typeof(Rg32) && tPixel == typeof(Double2))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_Rg32_Double2(source, destination));
- }
if (t == typeof(Rgba32) && tPixel == typeof(Vector4))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -133,13 +91,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_Rgba32_Float4(source, destination));
}
- if (t == typeof(Rgba32) && tPixel == typeof(Double4))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_Rgba32_Double4(source, destination));
- }
if (t == typeof(Rgba64) && tPixel == typeof(Vector4))
{
using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
@@ -154,13 +105,6 @@ namespace ComputeSharp.Tests
Gpu.Default.For(128, 128, new Shader_Unorm_Rgba64_Float4(source, destination));
}
- if (t == typeof(Rgba64) && tPixel == typeof(Double4))
- {
- using ReadOnlyTexture2D source = Gpu.Default.AllocateReadOnlyTexture2D(128, 128);
- using ReadWriteTexture2D destination = Gpu.Default.AllocateReadWriteTexture2D(128, 128);
-
- Gpu.Default.For(128, 128, new Shader_Unorm_Rgba64_Double4(source, destination));
- }
}
[AutoConstructor]
@@ -187,18 +131,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_Bgra32_Double4 : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_R16_float : IComputeShader
{
@@ -211,18 +143,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_R16_double : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_R8_float : IComputeShader
{
@@ -235,18 +155,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_R8_double : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_Rg16_Vector2 : IComputeShader
{
@@ -271,18 +179,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_Rg16_Double2 : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_Rg32_Vector2 : IComputeShader
{
@@ -307,18 +203,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_Rg32_Double2 : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_Rgba32_Vector4 : IComputeShader
{
@@ -343,18 +227,6 @@ namespace ComputeSharp.Tests
}
}
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_Rgba32_Double4 : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
-
[AutoConstructor]
internal readonly partial struct Shader_Unorm_Rgba64_Vector4 : IComputeShader
{
@@ -378,17 +250,5 @@ namespace ComputeSharp.Tests
destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
}
}
-
- [AutoConstructor]
- internal readonly partial struct Shader_Unorm_Rgba64_Double4 : IComputeShader
- {
- public readonly ReadOnlyTexture2D source;
- public readonly ReadWriteTexture2D destination;
-
- public void Execute(ThreadIds ids)
- {
- destination[ids.XY] = (source[ids.XY] + destination[ids.XY]) / 2;
- }
- }
}
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.tt b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.tt
index a69d9e3b..33775291 100644
--- a/tests/ComputeSharp.Tests/Texture2DTests.Pixels.tt
+++ b/tests/ComputeSharp.Tests/Texture2DTests.Pixels.tt
@@ -7,13 +7,13 @@
<#
var typesMap = new Dictionary
{
- ["Bgra32"] = new[] { "Vector4", "Float4", "Double4" },
- ["R16"] = new[] { "float", "double" },
- ["R8"] = new[] { "float", "double" },
- ["Rg16"] = new[] { "Vector2", "Float2", "Double2" },
- ["Rg32"] = new[] { "Vector2", "Float2", "Double2" },
- ["Rgba32"] = new[] { "Vector4", "Float4", "Double4" },
- ["Rgba64"] = new[] { "Vector4", "Float4", "Double4" }
+ ["Bgra32"] = new[] { "Vector4", "Float4" },
+ ["R16"] = new[] { "float" },
+ ["R8"] = new[] { "float" },
+ ["Rg16"] = new[] { "Vector2", "Float2" },
+ ["Rg32"] = new[] { "Vector2", "Float2" },
+ ["Rgba32"] = new[] { "Vector4", "Float4" },
+ ["Rgba64"] = new[] { "Vector4", "Float4" }
};
IEnumerable<(string T, string TPixel)> EnumerateTypes()
diff --git a/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs b/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs
index 0057e024..673f6f77 100644
--- a/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs
+++ b/tests/ComputeSharp.Tests/Texture3DTests.Pixels.cs
@@ -15,42 +15,28 @@ namespace ComputeSharp.Tests
[TestMethod]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Bgra32), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Bgra32), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Bgra32), typeof(Double4))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(R16), typeof(float))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(R16), typeof(double))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(R8), typeof(float))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(R8), typeof(double))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg16), typeof(Vector2))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg16), typeof(Float2))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg16), typeof(Double2))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg32), typeof(Vector2))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg32), typeof(Float2))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rg32), typeof(Double2))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba32), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba32), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba32), typeof(Double4))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba64), typeof(Vector4))]
[DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba64), typeof(Float4))]
- [DataRow(typeof(ReadOnlyTexture3D<,>), typeof(Rgba64), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Bgra32), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Bgra32), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(Bgra32), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(R16), typeof(float))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(R16), typeof(double))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(R8), typeof(float))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(R8), typeof(double))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg16), typeof(Vector2))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg16), typeof(Float2))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg16), typeof(Double2))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg32), typeof(Vector2))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg32), typeof(Float2))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rg32), typeof(Double2))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba32), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba32), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba32), typeof(Double4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba64), typeof(Vector4))]
[DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba64), typeof(Float4))]
- [DataRow(typeof(ReadWriteTexture3D<,>), typeof(Rgba64), typeof(Double4))]
public void Allocate_Uninitialized_Pixel_Ok(Type textureType, Type t, Type tPixel)
{
static void Test(Type textureType)