glsl: Constify the as_foo functions
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 24 Mar 2015 16:14:35 +0000 (09:14 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Mar 2015 17:40:52 +0000 (10:40 -0700)
commitdec9664e35a35b447f21ea15631ae5a5404e9624
treeb376e3a0a2b356343b942d235483a99f30072148
parent0c4ee62045ed184a5b9662f940b8a9e9bd454734
glsl: Constify the as_foo functions

Now that they're all implemented using macros, this is trivial.

v2: Remove redundant parenthesis.  Suggested by Curro.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/ir.h