glsl: handle memory qualifiers for struct with array of images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 May 2017 14:19:58 +0000 (16:19 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Jun 2017 09:54:06 +0000 (11:54 +0200)
commitd9460ad600781b1e4420b9b754a92c0b049e4453
treeca5e741a92e4d4d0dcf37b862c8448804547498c
parente3054004433fa91d4ab195604f5fa28487d34096
glsl: handle memory qualifiers for struct with array of images

This handles a situation like:

struct {
   image2D imgs[6];
} s;

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