glsl: Don't allow const on out or inout function parameters
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 8 Aug 2013 23:42:37 +0000 (16:42 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Aug 2013 20:51:18 +0000 (13:51 -0700)
commit58948981480c1fe93a171373c7676761e4d0b41e
treee817805739624734e2eff05eaff0c1180e3fe2cb
parent894d4903e7325620fa2344ce1640658346b3e75f
glsl: Don't allow const on out or inout function parameters

Fixes piglit tests const-inout-parameter.frag and
const-out-parameter.frag.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/glsl/ast_to_hir.cpp