glsl: fix error message for redeclaring gl_PerVertex as output
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 9 Sep 2014 07:55:29 +0000 (19:55 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Tue, 16 Sep 2014 20:33:16 +0000 (08:33 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp

index 3b38dcfde697e733fdb5f6e5cddc0f57f122a00b..5ec1614be34b9703583809e357b0e8e72f57e488 100644 (file)
@@ -5462,7 +5462,7 @@ ast_interface_block::hir(exec_list *instructions,
          }
          if (this->instance_name != NULL) {
             _mesa_glsl_error(&loc, state,
-                             "gl_PerVertex input may not be redeclared with "
+                             "gl_PerVertex output may not be redeclared with "
                              "an instance name");
          }
          break;