[Piglit] [PATCH 4/8] generated_tests: Fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sun Apr 3 18:21:28 UTC 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 generated_tests/gen_builtin_packing_tests.py      | 2 +-
 generated_tests/gen_builtin_uniform_tests.py      | 2 +-
 generated_tests/gen_builtin_uniform_tests_fp64.py | 2 +-
 generated_tests/random_ubo.py                     | 2 +-
 generated_tests/random_ubo_trim.py                | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/generated_tests/gen_builtin_packing_tests.py b/generated_tests/gen_builtin_packing_tests.py
index ae8557a..97d31f1 100644
--- a/generated_tests/gen_builtin_packing_tests.py
+++ b/generated_tests/gen_builtin_packing_tests.py
@@ -352,7 +352,7 @@ def pack_half_1x16(f32, func_opts):
     #   - Otherwise, f32 = 2^E * F where 0.5 <= F < 1.0 .
     #
     # Since we decomposed `abs(f32)`, we only need be concerned with the
-    # postive cases.
+    # positive cases.
     if isnan(F):
         # The resultant float16 is NaN.
         e = 31
diff --git a/generated_tests/gen_builtin_uniform_tests.py b/generated_tests/gen_builtin_uniform_tests.py
index 69decfe..29bd2e7 100644
--- a/generated_tests/gen_builtin_uniform_tests.py
+++ b/generated_tests/gen_builtin_uniform_tests.py
@@ -489,7 +489,7 @@ def make_test_shader(self, additional_declarations, prefix_statements,
         called.  output_var is the variable that the result of the
         built-in function should be assigned to, after conversion to a
         vec4.  suffix_statements is a string containing any additional
-        statements that need to be inside the main() funciton of the
+        statements that need to be inside the main() function of the
         shader, after the built-in function is called.
         """
         shader = ''
diff --git a/generated_tests/gen_builtin_uniform_tests_fp64.py b/generated_tests/gen_builtin_uniform_tests_fp64.py
index 78c2ace..4538c81 100644
--- a/generated_tests/gen_builtin_uniform_tests_fp64.py
+++ b/generated_tests/gen_builtin_uniform_tests_fp64.py
@@ -415,7 +415,7 @@ def make_test_shader(self, additional_declarations, prefix_statements,
         called.  output_var is the variable that the result of the
         built-in function should be assigned to, after conversion to a
         vec4.  suffix_statements is a string containing any additional
-        statements that need to be inside the main() funciton of the
+        statements that need to be inside the main() function of the
         shader, after the built-in function is called.
         """
         shader = ''
diff --git a/generated_tests/random_ubo.py b/generated_tests/random_ubo.py
index 5b4f813..1fb9b93 100644
--- a/generated_tests/random_ubo.py
+++ b/generated_tests/random_ubo.py
@@ -357,7 +357,7 @@ def generate_layouts(fields, required_layouts, allow_row_major_structure):
             layouts.append(lay)
         elif isstructure(type) and not allow_row_major_structure:
             # This would work-around a bug in NVIDIA closed source drivers.
-            # They do not propogate row-major down into structures.
+            # They do not propagate row-major down into structures.
 
             layouts.append("#column_major")
         elif ismatrix(type) or isstructure(type):
diff --git a/generated_tests/random_ubo_trim.py b/generated_tests/random_ubo_trim.py
index 2a1dc5c..438d9c7 100644
--- a/generated_tests/random_ubo_trim.py
+++ b/generated_tests/random_ubo_trim.py
@@ -41,7 +41,7 @@ def remove_empty_structure(s, do_remove = True):
         if s == x:
             continue
 
-        # A previous caller may be in the proces of deleting this structure
+        # A previous caller may be in the process of deleting this structure
         # type, so just skip it for now.
         if len(struct_types[x]) == 0:
             continue
-- 
2.8.0



More information about the Piglit mailing list