diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
commit | 8f30a88e63fe2c86aa004f302e6f3bd4c172ea39 (patch) | |
tree | e0bad5e526554dd254fa14c9474cbc83b72b7588 /source/blender/draw | |
parent | 038828f49a4f50901684a059fc990626c13e6949 (diff) |
Cleanup: Grammar: "Allow to" vs gerund
In cases where "Allow" is followed by an infinitive, a noun needs
to directly follow it. But it makes more sense to follow it with a
gerund instead.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/intern/shaders/common_smaa_lib.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/intern/shaders/common_smaa_lib.glsl b/source/blender/draw/intern/shaders/common_smaa_lib.glsl index bd6e8436022..78a62c6ae7d 100644 --- a/source/blender/draw/intern/shaders/common_smaa_lib.glsl +++ b/source/blender/draw/intern/shaders/common_smaa_lib.glsl @@ -240,7 +240,7 @@ * - SMAA::detectMSAAOrder and * - SMAA::msaaReorder * - * These functions allow to match the standard multisample patterns by + * These functions allow matching the standard multisample patterns by * detecting the subsample order for a specific GPU, and reordering * them appropriately. * @@ -1258,8 +1258,8 @@ float4 SMAABlendingWeightCalculationPS(float2 texcoord, SMAATexturePass2D(edgesTex), SMAATexturePass2D(searchTex), offset[0].zw, offset[2].y); d.y = coords.z; - // We want the distances to be in pixel units (doing this here allow to - // better interleave arithmetic and memory accesses): + // We want the distances to be in pixel units (doing this here allows + // better interleaving of arithmetic and memory accesses): d = abs(round(mad(SMAA_RT_METRICS.zz, d, -pixcoord.xx))); // SMAAArea below needs a sqrt, as the areas texture is compressed |