From 52b55a57b78a15c4060711051b3066d124b974e6 Mon Sep 17 00:00:00 2001 From: Tim Maffett Date: Tue, 4 Apr 2023 01:24:53 -0700 Subject: [PATCH] [Impeller] Fix variable name spelling/typos in several comments. (flutter/engine#40909) [Impeller] Fix variable name spelling/typos in several comments. --- .../impeller/compiler/shader_lib/impeller/texture.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/impeller/compiler/shader_lib/impeller/texture.glsl b/engine/src/flutter/impeller/compiler/shader_lib/impeller/texture.glsl index 4b7ba3235d..041938e510 100644 --- a/engine/src/flutter/impeller/compiler/shader_lib/impeller/texture.glsl +++ b/engine/src/flutter/impeller/compiler/shader_lib/impeller/texture.glsl @@ -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,