Skip to content

Commit 2ed1c0a

Browse files
committed
delete unused code
1 parent 69d2cba commit 2ed1c0a

2 files changed

Lines changed: 0 additions & 41 deletions

File tree

src/ImageSharp.Drawing.WebGPU/WebGPUDrawingBackend.CompositePixels.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -119,28 +119,6 @@ internal static bool TryGetCompositeTextureFormat<TPixel>(out WebGPUTextureForma
119119
return true;
120120
}
121121

122-
/// <summary>
123-
/// Resolves the sampled texture type for a registered composite texture format.
124-
/// </summary>
125-
/// <param name="textureFormat">The WebGPU texture format.</param>
126-
/// <param name="sampleType">Receives the sampled texture type on success.</param>
127-
/// <returns>
128-
/// <see langword="true"/> when the format is one of the explicitly registered composite formats;
129-
/// otherwise <see langword="false"/>.
130-
/// </returns>
131-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
132-
internal static bool TryGetCompositeTextureSampleType(TextureFormat textureFormat, out TextureSampleType sampleType)
133-
{
134-
if (!TryFind(textureFormat, out CompositePixelRegistration r))
135-
{
136-
sampleType = default;
137-
return false;
138-
}
139-
140-
sampleType = r.SampleType;
141-
return true;
142-
}
143-
144122
/// <summary>
145123
/// Resolves the shader-side read/write traits for a registered composite texture format.
146124
/// </summary>

src/ImageSharp.Drawing.WebGPU/WebGPUTextureSampleTypeHelper.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)