[Impeller] Fix variable name spelling/typos in several comments. (flutter/engine#40909)

[Impeller] Fix variable name spelling/typos in several comments.
This commit is contained in:
Tim Maffett
2023-04-04 01:24:53 -07:00
committed by GitHub
parent d760d36cbc
commit 52b55a57b7

View File

@@ -32,7 +32,7 @@ vec2 IPRemapCoords(vec2 coords, float y_coord_scale) {
/// If `y_coord_scale` < 0.0, the Y coordinate is flipped. This is useful
/// for Impeller graphics backends that use a flipped framebuffer coordinate
/// space.
/// The range of `coods` will be mapped from [0, 1] to [half_texel, 1 -
/// The range of `coords` will be mapped from [0, 1] to [half_texel, 1 -
/// half_texel]
vec4 IPSampleLinear(sampler2D texture_sampler,
vec2 coords,
@@ -115,7 +115,7 @@ f16vec4 IPHalfSampleWithTileMode(f16sampler2D tex,
///
/// This is useful for Impeller graphics backend that don't have native support
/// for Decal.
/// The range of `coods` will be mapped from [0, 1] to [half_texel, 1 -
/// The range of `coords` will be mapped from [0, 1] to [half_texel, 1 -
/// half_texel]
vec4 IPSampleLinearWithTileMode(sampler2D tex,
vec2 coords,
@@ -154,7 +154,7 @@ f16vec4 IPHalfSampleDecal(f16sampler2D texture_sampler, vec2 coords) {
///
/// This is useful for Impeller graphics backend that don't have native support
/// for Decal.
/// The range of `coods` will be mapped from [0, 1] to [half_texel, 1 -
/// The range of `coords` will be mapped from [0, 1] to [half_texel, 1 -
/// half_texel]
vec4 IPSampleLinearWithTileMode(sampler2D tex,
vec2 coords,