glsl: Remove extra "types" from error message
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Aug 2013 20:44:49 +0000 (13:44 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Aug 2013 23:39:04 +0000 (16:39 -0700)
Send it straight to the Department of Redundancy Department.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp

index 04b16c8aa82d9b4a974f284bb72f8f463b8ca5f7..3807fdec9b3eacc62e94cfad108f755d7cb1fa5b 100644 (file)
@@ -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;
       }