From a11f6f52350e2cd1ba80fb45a3e69194cdc605b5 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 1 Jan 2020 20:14:18 -0300 Subject: Fix some spelling mistakes Thanks to LDj3SNuD for spotting these --- Ryujinx.Graphics.Gpu/Image/FormatTable.cs | 4 ++-- Ryujinx.Graphics.Gpu/Image/Pool.cs | 4 ++-- Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 +- Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs | 2 +- Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 8 ++++---- Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/Image') diff --git a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs index 468a1ed5..517caeca 100644 --- a/Ryujinx.Graphics.Gpu/Image/FormatTable.cs +++ b/Ryujinx.Graphics.Gpu/Image/FormatTable.cs @@ -190,7 +190,7 @@ namespace Ryujinx.Graphics.Gpu.Image }; /// - /// Try getting the texture format from a encoded format integer from the Maxwell texture descriptor. + /// Try getting the texture format from an encoded format integer from the Maxwell texture descriptor. /// /// The encoded format integer from the texture descriptor /// Indicates if the format is a sRGB format @@ -204,7 +204,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Try getting the vertex attribute format from a encoded format integer from Maxwell attribute registers. + /// Try getting the vertex attribute format from an encoded format integer from Maxwell attribute registers. /// /// The encoded format integer from the attribute registers /// The output vertex attribute format diff --git a/Ryujinx.Graphics.Gpu/Image/Pool.cs b/Ryujinx.Graphics.Gpu/Image/Pool.cs index e4cefe9c..7cf06d0b 100644 --- a/Ryujinx.Graphics.Gpu/Image/Pool.cs +++ b/Ryujinx.Graphics.Gpu/Image/Pool.cs @@ -6,7 +6,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Represents a pool of GPU resources, such as samplers or textures. /// - /// GPU resource type + /// Type of the GPU resource abstract class Pool : IDisposable { protected const int DescriptorSize = 0x20; @@ -57,7 +57,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Synchronizes host memory with guest memory. - /// This causes a invalidation of pool entries, + /// This causes invalidation of pool entries, /// if a modification of entries by the CPU is detected. /// public void SynchronizeMemory() diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index be3d622f..e33de1fa 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -365,7 +365,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// This causes the texture data to be written back to guest memory. /// If the texture was written by the GPU, this includes all modification made by the GPU /// up to this point. - /// Be aware that this is a expensive operation, avoid calling it unless strictly needed. + /// Be aware that this is an expensive operation, avoid calling it unless strictly needed. /// This may cause data corruption if the memory is already being used for something else on the CPU side. /// public void Flush() diff --git a/Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs b/Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs index 91a5fcf6..b4793f58 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs @@ -15,7 +15,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Shader texture handle. - /// This is a index into the texture constant buffer. + /// This is an index into the texture constant buffer. /// public int Handle { get; } diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index 387e908d..15727191 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -245,7 +245,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Tries to find a existing texture, or create a new one if not found. + /// Tries to find an existing texture, or create a new one if not found. /// /// Copy texture to find or create /// The texture @@ -298,7 +298,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Tries to find a existing texture, or create a new one if not found. + /// Tries to find an existing texture, or create a new one if not found. /// /// Color buffer texture to find or create /// Number of samples in the X direction, for MSAA @@ -381,7 +381,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Tries to find a existing texture, or create a new one if not found. + /// Tries to find an existing texture, or create a new one if not found. /// /// Depth-stencil buffer texture to find or create /// Size of the depth-stencil texture @@ -430,7 +430,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Tries to find a existing texture, or create a new one if not found. + /// Tries to find an existing texture, or create a new one if not found. /// /// Texture information of the texture to be found or created /// The texture search flags, defines texture comparison rules diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs b/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs index 6c249ca6..2e5c2b5d 100644 --- a/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs +++ b/Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs @@ -18,7 +18,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Constructs a new instance of the texture pool. /// - /// + /// GPU context that the texture pool belongs to public TexturePoolCache(GpuContext context) { _context = context; -- cgit v1.2.3