llvmpipe: Fix typos.
authorVinson Lee <vlee@freedesktop.org>
Sun, 17 Jan 2021 06:04:44 +0000 (22:04 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Feb 2021 04:04:28 +0000 (04:04 +0000)
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8542>

src/gallium/drivers/llvmpipe/lp_bld_blend.c
src/gallium/drivers/llvmpipe/lp_setup_point.c
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_state_rasterizer.c
src/gallium/drivers/llvmpipe/lp_state_setup.c
src/gallium/drivers/llvmpipe/lp_test_conv.c

index 02ec55e..e68e6d4 100644 (file)
@@ -168,7 +168,7 @@ lp_build_blend_func(struct lp_build_context *bld,
 
 
 /**
- * Performs optimisations and blending independent of SoA/AoS
+ * Performs optimizations and blending independent of SoA/AoS
  *
  * @param func                   the blend function
  * @param factor_src             PIPE_BLENDFACTOR_xxx
index a18ecf7..4a7fda5 100644 (file)
@@ -81,7 +81,7 @@ point_persp_coeff(struct lp_setup_context *setup,
 {
    /*
     * Fragment shader expects pre-multiplied w for LP_INTERP_PERSPECTIVE. A
-    * better stratergy would be to take the primitive in consideration when
+    * better strategy would be to take the primitive in consideration when
     * generating the fragment shader key, and therefore avoid the per-fragment
     * perspective divide.
     */
@@ -404,7 +404,7 @@ try_setup_point( struct lp_setup_context *setup,
        * Per OpenGL 2.1 spec, section 3.3.1, "Basic Point Rasterization".
        *
        * This type of point rasterization is only available in pre 3.0 contexts
-       * (or compatibilility contexts which we don't support) anyway.
+       * (or compatibility contexts which we don't support) anyway.
        */
 
       const int x0 = subpixel_snap(v0[0][0]);
index 2f6ecfa..392dd4b 100644 (file)
@@ -829,7 +829,7 @@ llvmpipe_update_cs(struct llvmpipe_context *lp)
          }
 
          /*
-          * We need to re-check lp->nr_cs_variants because an arbitrarliy large
+          * We need to re-check lp->nr_cs_variants because an arbitrarily large
           * number of shader variants (potentially all of them) could be
           * pending for destruction on flush.
           */
index ec77d3c..b30f5b6 100644 (file)
@@ -2355,7 +2355,7 @@ generate_unswizzled_blend(struct gallivm_state *gallivm,
          continue;
       }
 
-      /* Ensure we havn't already found all channels */
+      /* Ensure we haven't already found all channels */
       if (dst_channels >= out_format_desc->nr_channels) {
          continue;
       }
index a4ffd68..cd907cf 100644 (file)
@@ -70,7 +70,7 @@ llvmpipe_create_rasterizer_state(struct pipe_context *pipe,
    memcpy(&state->draw_state, rast, sizeof *rast);
    memcpy(&state->lp_state, rast, sizeof *rast);
 
-   /* We rely on draw module to do unfilled polyons, AA lines and
+   /* We rely on draw module to do unfilled polygons, AA lines and
     * points and stipple.
     * 
     * Over time, reduce this list of conditions, and expand the list
index a2f7068..2bc94d5 100644 (file)
@@ -481,7 +481,7 @@ apply_perspective_corr( struct gallivm_state *gallivm,
 
 
 /**
- * Applys cylindrical wrapping to vertex attributes if enabled.
+ * Apply cylindrical wrapping to vertex attributes if enabled.
  * Input coordinates must be in [0, 1] range, otherwise results are undefined.
  *
  * @param cyl_wrap  TGSI_CYLINDRICAL_WRAP_x flags
index 9f92897..43e051f 100644 (file)
@@ -175,7 +175,7 @@ test_one(unsigned verbose,
 
    /* Known failures
     * - fixed point 32 -> float 32
-    * - float 32 -> signed normalised integer 32
+    * - float 32 -> signed normalized integer 32
     */
    if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
        (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {
@@ -184,7 +184,7 @@ test_one(unsigned verbose,
 
    /* Known failures
     * - fixed point 32 -> float 32
-    * - float 32 -> signed normalised integer 32
+    * - float 32 -> signed normalized integer 32
     */
    if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
        (!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {