Mesa (master): glsl: Remove extra "types" from error message

Ian Romanick idr at kemper.freedesktop.org
Mon Aug 19 23:39:27 UTC 2013


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

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Aug  9 13:44:49 2013 -0700

glsl: Remove extra "types" from error message

Send it straight to the Department of Redundancy Department.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

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

diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 04b16c8..3807fde 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -4282,7 +4282,7 @@ ast_type_specifier::hir(exec_list *instructions,
       }
       if (!is_valid_default_precision_type(state, this->type_name)) {
          _mesa_glsl_error(&loc, state,
-                          "default precision statements apply only to types "
+                          "default precision statements apply only to "
                           "float, int, and sampler types");
          return NULL;
       }




More information about the mesa-commit mailing list