glsl: Correct more typos
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 15 Jun 2014 00:12:51 +0000 (12:12 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 15 Jun 2014 00:55:16 +0000 (12:55 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser_extras.h

index 140bb74..7382576 100644 (file)
@@ -5087,7 +5087,7 @@ ast_struct_specifier::hir(exec_list *instructions,
     */
    if (state->language_version != 110 && state->struct_specifier_depth != 0)
       _mesa_glsl_error(&loc, state,
-                      "embedded structure declartions are not allowed");
+                      "embedded structure declarations are not allowed");
 
    state->struct_specifier_depth++;
 
index 0416a9c..9480ec5 100644 (file)
@@ -188,7 +188,7 @@ struct _mesa_glsl_parse_state {
    /**
     * Number of nested struct_specifier levels
     *
-    * Outside a struct_specifer, this is zero.
+    * Outside a struct_specifier, this is zero.
     */
    unsigned struct_specifier_depth;