Mesa (master): glsl: fix error message for redeclaring gl_PerVertex as output

Chris Forbes chrisf at kemper.freedesktop.org
Tue Sep 16 20:36:16 UTC 2014


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

Author: Chris Forbes <chrisf at ijw.co.nz>
Date:   Tue Sep  9 19:55:29 2014 +1200

glsl: fix error message for redeclaring gl_PerVertex as output

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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 3b38dcf..5ec1614 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -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;




More information about the mesa-commit mailing list