Mesa (master): glsl: Correct more typos

Chris Forbes chrisf at kemper.freedesktop.org
Sun Jun 15 00:56:32 UTC 2014


Module: Mesa
Branch: master
Commit: 4191cc48611783163e28fc04c3c4a3057d309c1e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4191cc48611783163e28fc04c3c4a3057d309c1e

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Sun Jun 15 12:12:51 2014 +1200

glsl: Correct more typos

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>

---

 src/glsl/ast_to_hir.cpp       |    2 +-
 src/glsl/glsl_parser_extras.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 140bb74..7382576 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -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++;
 
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index 0416a9c..9480ec5 100644
--- a/src/glsl/glsl_parser_extras.h
+++ b/src/glsl/glsl_parser_extras.h
@@ -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;
 




More information about the mesa-commit mailing list