glsl: Split off memory qualifiers from storage qualifiers.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 31 Jan 2015 20:01:35 +0000 (22:01 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 4 May 2015 14:44:16 +0000 (17:44 +0300)
commit3f8558650d0db1f0f7a5a03cc781cbf2785cc2c8
tree3c81280d4b6442f2999163cb8d3ce9b7cd8ef2d5
parentf64edfdc44d955adfe3e99154559e7935a2efd45
glsl: Split off memory qualifiers from storage qualifiers.

Image memory qualifiers (coherent, volatile, restrict, readonly and writeonly)
follow slightly different rules from storage qualifiers, e.g. the uniqueness
rule doesn't apply.  Make them a separate non-terminal.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glsl_parser.yy