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 140bb7405799fb30e6a937851141493438ccf081..73825760ed8821a83c93b72aea3ba9e12c67ec00 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 0416a9c7252c1fef40798147b33522004385127e..9480ec5b80090c0911bef0d3953640571b1844c4 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;