glsl: handle format layout qualifiers for struct with array of images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 May 2017 14:26:42 +0000 (16:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Jun 2017 09:54:06 +0000 (11:54 +0200)
commitad717102d9db2bc0a0c9d1b1fa6d991f659da04d
tree27cc66b2ec9efe9b2619bb7f199f31f73f083480
parentd9460ad600781b1e4420b9b754a92c0b049e4453
glsl: handle format layout qualifiers for struct with array of images

This handles a situation like:

struct {
   layout (r32f) 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