glsl: reject format qualifiers with non-image types everywhere
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 1 May 2017 10:34:42 +0000 (12:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 May 2017 12:01:56 +0000 (14:01 +0200)
commitf8003d2516b33fff9a749e62fd994c6cb57b27d4
tree9ecec8a3f3425571556d47bea3657e7f15320564
parent9efea874b9958a54e51c7fc25bd7564623b6126b
glsl: reject format qualifiers with non-image types everywhere

Including structures, interfaces and uniform blocks.

Fixes the following ARB_shader_image_load_store test:

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

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/ast_to_hir.cpp