From 611a88723d6bde789dd699c23c21e06bb06db899 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Sep 2024 17:41:17 +0200 Subject: [PATCH] Fix some typos in XML docs --- src/ComputeSharp.D2D1/Intrinsics/D2D.cs | 4 ++-- src/ComputeSharp/Graphics/Commands/CommandList.cs | 2 +- src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ComputeSharp.D2D1/Intrinsics/D2D.cs b/src/ComputeSharp.D2D1/Intrinsics/D2D.cs index a42f395c..9ffa9a7c 100644 --- a/src/ComputeSharp.D2D1/Intrinsics/D2D.cs +++ b/src/ComputeSharp.D2D1/Intrinsics/D2D.cs @@ -11,7 +11,7 @@ namespace ComputeSharp.D2D1; public static class D2D { /// - /// Returns the color of the input texture at a specific index, for the curreent coordinate. + /// Returns the color of the input texture at a specific index, for the current coordinate. /// /// The index of the input texture to get the input from. /// The color from the target input at the current coordinate, in INPUTN format. @@ -47,7 +47,7 @@ public static class D2D public static Float4 SampleInput(int index, Float2 uv) => throw new InvalidExecutionContextException($"{typeof(D2D)}.{nameof(SampleInput)}({typeof(int)}, {typeof(Float2)})"); /// - /// Samples the input texturee at a specified index and at a given offset from the input coordinate. + /// Samples the input texture at a specified index and at a given offset from the input coordinate. /// /// The index of the input texture to sample. /// The normalized offset to use to sample the texture. diff --git a/src/ComputeSharp/Graphics/Commands/CommandList.cs b/src/ComputeSharp/Graphics/Commands/CommandList.cs index 2bc48f77..57c1ad23 100644 --- a/src/ComputeSharp/Graphics/Commands/CommandList.cs +++ b/src/ComputeSharp/Graphics/Commands/CommandList.cs @@ -81,7 +81,7 @@ internal unsafe struct CommandList : IDisposable } /// - /// Gets whether or not the curreent instance is allocated. + /// Gets whether or not the current instance is allocated. /// public readonly bool IsAllocated => this.device is not null; diff --git a/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs b/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs index 095fa47b..e404162a 100644 --- a/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/BufferExtensions.cs @@ -206,7 +206,7 @@ public static class BufferExtensions } /// - /// Writes the contents of the specified instance to the curreent instance. + /// Writes the contents of the specified instance to the current instance. /// /// The type of items stored on the buffers. /// The input instance to write data data to.