[Mesa-dev] [PATCH] Typo: ammount -> amount

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Sun Apr 23 13:13:55 UTC 2017


---
 src/compiler/nir/nir_array.h              | 2 +-
 src/compiler/spirv/spirv_to_nir.c         | 2 +-
 src/gallium/winsys/svga/drm/vmw_context.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/compiler/nir/nir_array.h b/src/compiler/nir/nir_array.h
index 4d7a532a7f..049ffedb39 100644
--- a/src/compiler/nir/nir_array.h
+++ b/src/compiler/nir/nir_array.h
@@ -59,7 +59,7 @@ nir_array_fini(nir_array *arr)
 
 #define NIR_ARRAY_INITIAL_SIZE 64
 
-/* Increments the size of the array by the given ammount and returns a
+/* Increments the size of the array by the given amount and returns a
  * pointer to the beginning of the newly added space.
  */
 static inline void *
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c
index d3ad2d13ed..30addc5533 100644
--- a/src/compiler/spirv/spirv_to_nir.c
+++ b/src/compiler/spirv/spirv_to_nir.c
@@ -200,7 +200,7 @@ vtn_string_literal(struct vtn_builder *b, const uint32_t *words,
 {
    char *dup = ralloc_strndup(b, (char *)words, word_count * sizeof(*words));
    if (words_used) {
-      /* Ammount of space taken by the string (including the null) */
+      /* Amount of space taken by the string (including the null) */
       unsigned len = strlen(dup) + 1;
       *words_used = DIV_ROUND_UP(len, sizeof(*words));
    }
diff --git a/src/gallium/winsys/svga/drm/vmw_context.c b/src/gallium/winsys/svga/drm/vmw_context.c
index c306d988e0..72efe4d2a2 100644
--- a/src/gallium/winsys/svga/drm/vmw_context.c
+++ b/src/gallium/winsys/svga/drm/vmw_context.c
@@ -146,7 +146,7 @@ struct vmw_svga_winsys_context
 
    /**
     * Whether this context should fail to reserve more commands, not because it
-    * ran out of command space, but because a substantial ammount of GMR was
+    * ran out of command space, but because a substantial amount of GMR was
     * referred.
     */
    boolean preemptive_flush;
-- 
2.13.0.rc0.207.gb442654931



More information about the mesa-dev mailing list