diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-01-01 20:14:18 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | a11f6f52350e2cd1ba80fb45a3e69194cdc605b5 (patch) | |
| tree | f9f90791e6e1ae446015b4184c0c19173e7510a9 /Ryujinx.Graphics.Gpu/Image | |
| parent | 23d85167635fe5e3185098aab05d1c33b919e5ac (diff) | |
Fix some spelling mistakes
Thanks to LDj3SNuD for spotting these
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/FormatTable.cs | 4 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Pool.cs | 4 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureBindingInfo.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 8 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TexturePoolCache.cs | 2 |
6 files changed, 11 insertions, 11 deletions
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 }; /// <summary> - /// 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. /// </summary> /// <param name="encoded">The encoded format integer from the texture descriptor</param> /// <param name="isSrgb">Indicates if the format is a sRGB format</param> @@ -204,7 +204,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// <summary> - /// 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. /// </summary> /// <param name="encoded">The encoded format integer from the attribute registers</param> /// <param name="format">The output vertex attribute format</param> 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 /// <summary> /// Represents a pool of GPU resources, such as samplers or textures. /// </summary> - /// <typeparam name="T">GPU resource type</typeparam> + /// <typeparam name="T">Type of the GPU resource</typeparam> abstract class Pool<T> : IDisposable { protected const int DescriptorSize = 0x20; @@ -57,7 +57,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// <summary> /// 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. /// </summary> 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. /// </summary> 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 /// <summary> /// Shader texture handle. - /// This is a index into the texture constant buffer. + /// This is an index into the texture constant buffer. /// </summary> 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 } /// <summary> - /// 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. /// </summary> /// <param name="copyTexture">Copy texture to find or create</param> /// <returns>The texture</returns> @@ -298,7 +298,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// <summary> - /// 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. /// </summary> /// <param name="colorState">Color buffer texture to find or create</param> /// <param name="samplesInX">Number of samples in the X direction, for MSAA</param> @@ -381,7 +381,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// <summary> - /// 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. /// </summary> /// <param name="dsState">Depth-stencil buffer texture to find or create</param> /// <param name="size">Size of the depth-stencil texture</param> @@ -430,7 +430,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// <summary> - /// 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. /// </summary> /// <param name="info">Texture information of the texture to be found or created</param> /// <param name="flags">The texture search flags, defines texture comparison rules</param> 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 /// <summary> /// Constructs a new instance of the texture pool. /// </summary> - /// <param name="context"></param> + /// <param name="context">GPU context that the texture pool belongs to</param> public TexturePoolCache(GpuContext context) { _context = context; |
