diff --git a/tests/ComputeSharp.Tests/ResourceDimensionsTests.g.cs b/tests/ComputeSharp.Tests/ResourceDimensionsTests.g.cs index df0cb66c..732137ef 100644 --- a/tests/ComputeSharp.Tests/ResourceDimensionsTests.g.cs +++ b/tests/ComputeSharp.Tests/ResourceDimensionsTests.g.cs @@ -8,38 +8,6 @@ namespace ComputeSharp.Tests; [TestCategory("ResourceDimensions")] public partial class ResourceDimensionsTests { - [CombinatorialTestMethod] - [AllDevices] - [Data(8)] - [Data(64)] - [Data(128)] - [Data(376)] - public void ConstantBuffer_T1_AsConstantBuffer(Device device, int axis0) - { - using ConstantBuffer resource = device.Get().AllocateConstantBuffer(axis0); - using ReadWriteBuffer result = device.Get().AllocateReadWriteBuffer(1); - - device.Get().For(1, new ConstantBuffer_T1_AsConstantBufferShader(resource, result)); - - int[] dimensions = result.ToArray(); - - CollectionAssert.AreEqual( - expected: new[] { axis0 }, - actual: dimensions); - } - - [AutoConstructor] - internal readonly partial struct ConstantBuffer_T1_AsConstantBufferShader : IComputeShader - { - public readonly ConstantBuffer source; - public readonly ReadWriteBuffer result; - - public void Execute() - { - result[0] = source.Length; - } - } - [CombinatorialTestMethod] [AllDevices] [Data(8)] diff --git a/tests/ComputeSharp.Tests/ResourceDimensionsTests.tt b/tests/ComputeSharp.Tests/ResourceDimensionsTests.tt index 4cd114a0..8e3daf32 100644 --- a/tests/ComputeSharp.Tests/ResourceDimensionsTests.tt +++ b/tests/ComputeSharp.Tests/ResourceDimensionsTests.tt @@ -18,7 +18,6 @@ public partial class ResourceDimensionsTests // Map of all resource types with dimensions accessors var typesMap = new Dictionary { - ["ConstantBuffer"] = new[] { "Length" }, ["ReadOnlyBuffer"] = new[] { "Length" }, ["ReadWriteBuffer"] = new[] { "Length" }, ["ReadOnlyTexture2D"] = new[] { "Width", "Height" },