diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index 9e5bea908..656978687 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -650,7 +650,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Check it's possible to create a view with the specified layout. + /// Check if it's possible to create a view with the specified layout. /// The layout information is composed of the Stride for linear textures, or GOB block size /// for block linear textures. /// @@ -695,7 +695,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Checks if the view format is compatible with this texture format. - /// In general, the formats are considered compatible if the bytes per pixel value is equal, + /// In general, the formats are considered compatible if the bytes per pixel values are equal, /// but there are more complex rules for some formats, like compressed or depth-stencil formats. /// This follows the host API copy compatibility rules. /// diff --git a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs index 5dbd1a082..aebf4abf7 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureDescriptor.cs @@ -188,7 +188,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// Unpacks the texture coordinates normalized flag. /// When this is true, texture coordinates are expected to be in the [0, 1] range on the shader. - /// WHen this is false, texture coordinates are expected to be in the [0, W], [0, H] and [0, D] range. + /// When this is false, texture coordinates are expected to be in the [0, W], [0, H] and [0, D] range. /// It must be set to false (by the guest driver) for rectangle textures. /// /// The texture coordinates normalized flag diff --git a/Ryujinx.Graphics.Gpu/Image/TextureInfo.cs b/Ryujinx.Graphics.Gpu/Image/TextureInfo.cs index 784ff0e97..2bcafd727 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureInfo.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureInfo.cs @@ -112,7 +112,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// The width of the texture /// The height or the texture /// The depth or layers count of the texture - /// The amount if mipmap levels of the texture + /// The amount of mipmap levels of the texture /// The number of samples in the X direction for multisample textures, should be 1 otherwise /// The number of samples in the Y direction for multisample textures, should be 1 otherwise /// The stride for linear textures diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index 4f6d5e588..ecc5dc511 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -120,7 +120,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// The start GPU virtual address of the sampler pool /// The maximum ID of the sampler pool - /// The indexing type of the sampler + /// The indexing type of the sampler pool public void SetComputeSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex) { _cpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex); @@ -131,7 +131,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// /// The start GPU virtual address of the sampler pool /// The maximum ID of the sampler pool - /// The indexing type of the sampler + /// The indexing type of the sampler pool public void SetGraphicsSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex) { _gpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex); @@ -734,7 +734,7 @@ namespace Ryujinx.Graphics.Gpu.Image } /// - /// Flushes textures in the cache inside a given range that have been modified since the last call. + /// Flushes the textures in the cache inside a given range that have been modified since the last call. /// /// The range start address /// The range size diff --git a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs index 91f6338f3..c45df96e3 100644 --- a/Ryujinx.Graphics.Gpu/Image/TexturePool.cs +++ b/Ryujinx.Graphics.Gpu/Image/TexturePool.cs @@ -245,7 +245,7 @@ namespace Ryujinx.Graphics.Gpu.Image /// Checks if the swizzle component is equal to the red or green channels. /// /// The swizzle component to check - /// True if the swizzle component is equal to the red or blue, false otherwise + /// True if the swizzle component is equal to the red or green, false otherwise private static bool IsRG(SwizzleComponent component) { return component == SwizzleComponent.Red ||