[Mesa-dev] [PATCH 4/9] glsl: Remove extra "types" from error message

Ian Romanick idr at freedesktop.org
Fri Aug 9 16:38:36 PDT 2013


From: Ian Romanick <ian.d.romanick at intel.com>

Send it straight to the Department of Redundancy Department.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/glsl/ast_to_hir.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 9d2ffff..9d69e49 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -4257,7 +4257,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;
       }
-- 
1.8.1.4



More information about the mesa-dev mailing list