commit | b2c0df2b60a77b043d461f265c85d8b5b066a008 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Mar 29 23:17:31 2012 -0700 |
committer | Eric Anholt <eric@anholt.net> | Mon Apr 09 14:30:34 2012 -0700 |
tree | 6158f2c308c626139bbfd6444bf52cbb7c57a8f3 | |
parent | 68b99be409eb2d4f20198cfdb2c8fea75d754e0b [diff] |
glsl: Use (const char *) in AST nodes rather than plain (char *). Nothing actually relied on them being mutable, and there was at least one cast which discarded const qualifiers. The next patch would have introduced many more. Casting away const qualifiers should be avoided if at all possible. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>