glsl: allow image qualifiers inside structures
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 7 Apr 2017 12:34:55 +0000 (14:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000 (16:40 +0200)
commit242964ca5c3e6763beca1dbe06feeee129771723
tree34033124d86b96b07b8ab63836e64faca7c7bf97
parent48b7882200c58d90b844162cac5a791f8d35e23b
glsl: allow image qualifiers inside structures

ARB_bindless_texture allows to declare images inside structures
which means that qualifiers like writeonly should be allowed.

I have a got a confirmation from Jeff Bolz (one author of the spec),
because the spec doesn't clearly explain this.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/glsl_parser.yy