Fix typos pointed out by LDj3SNuD

This commit is contained in:
gdkchan 2019-12-30 14:44:22 -03:00 committed by Thog
parent c5b9088914
commit bacb278dc1
5 changed files with 8 additions and 8 deletions

View File

@ -650,7 +650,7 @@ namespace Ryujinx.Graphics.Gpu.Image
}
/// <summary>
/// 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.
/// </summary>
@ -695,7 +695,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <summary>
/// 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.
/// </summary>

View File

@ -188,7 +188,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <summary>
/// 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.
/// </summary>
/// <returns>The texture coordinates normalized flag</returns>

View File

@ -112,7 +112,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <param name="width">The width of the texture</param>
/// <param name="height">The height or the texture</param>
/// <param name="depthOrLayers">The depth or layers count of the texture</param>
/// <param name="levels">The amount if mipmap levels of the texture</param>
/// <param name="levels">The amount of mipmap levels of the texture</param>
/// <param name="samplesInX">The number of samples in the X direction for multisample textures, should be 1 otherwise</param>
/// <param name="samplesInY">The number of samples in the Y direction for multisample textures, should be 1 otherwise</param>
/// <param name="stride">The stride for linear textures</param>

View File

@ -120,7 +120,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// </summary>
/// <param name="gpuVa">The start GPU virtual address of the sampler pool</param>
/// <param name="maximumId">The maximum ID of the sampler pool</param>
/// <param name="samplerIndex">The indexing type of the sampler</param>
/// <param name="samplerIndex">The indexing type of the sampler pool</param>
public void SetComputeSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex)
{
_cpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex);
@ -131,7 +131,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// </summary>
/// <param name="gpuVa">The start GPU virtual address of the sampler pool</param>
/// <param name="maximumId">The maximum ID of the sampler pool</param>
/// <param name="samplerIndex">The indexing type of the sampler</param>
/// <param name="samplerIndex">The indexing type of the sampler pool</param>
public void SetGraphicsSamplerPool(ulong gpuVa, int maximumId, SamplerIndex samplerIndex)
{
_gpBindingsManager.SetSamplerPool(gpuVa, maximumId, samplerIndex);
@ -734,7 +734,7 @@ namespace Ryujinx.Graphics.Gpu.Image
}
/// <summary>
/// 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.
/// </summary>
/// <param name="address">The range start address</param>
/// <param name="size">The range size</param>

View File

@ -245,7 +245,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// Checks if the swizzle component is equal to the red or green channels.
/// </summary>
/// <param name="component">The swizzle component to check</param>
/// <returns>True if the swizzle component is equal to the red or blue, false otherwise</returns>
/// <returns>True if the swizzle component is equal to the red or green, false otherwise</returns>
private static bool IsRG(SwizzleComponent component)
{
return component == SwizzleComponent.Red ||