glsl: Move error message inside validation check reducing duplicate message handling
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 17 Oct 2013 11:42:18 +0000 (22:42 +1100)
committerPaul Berry <stereotype441@gmail.com>
Sun, 27 Oct 2013 17:23:52 +0000 (10:23 -0700)
commitd1d3b1e3617f84523cd581e3c12d7715d496e19b
treeea4b329d5294f13444a6baa63e39d277c5a1c9fa
parente79e6c591186fe96c8097209d4f95f70cf691de6
glsl: Move error message inside validation check reducing duplicate message handling

v2 (Paul Berry <stereotype441@gmail.com): Fix precedence error in call
to _mesa_glsl_error().

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ast_to_hir.cpp