From 8f30a88e63fe2c86aa004f302e6f3bd4c172ea39 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 18 Nov 2020 16:14:48 -0500 Subject: 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. --- source/blender/draw/intern/shaders/common_smaa_lib.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/draw/intern/shaders/common_smaa_lib.glsl') 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 -- cgit v1.2.3