glsl: reject image qualifiers with non-image types inside uniform blocks
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Apr 2017 16:50:16 +0000 (18:50 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Apr 2017 08:43:53 +0000 (10:43 +0200)
commit24011ead71ea9980e6b34e40d9dbd64e6560f5a4
tree461172d8673bd922ece5661018ec4da0c3447a27
parentedb4a1ab2d3fbbbe0ec88f3fbb0654620b4b094c
glsl: reject image qualifiers with non-image types inside uniform blocks

Fixes the following ARB_shader_image_load_store tests:

format-layout-with-non-image-type.frag
memory-qualifier-with-non-image-type.frag

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/ast_to_hir.cpp