glsl: Add parser/compiler support for std430 interface packing qualifier
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 31 Aug 2015 05:45:53 +0000 (07:45 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 Sep 2015 06:39:22 +0000 (08:39 +0200)
commit8f0167c65b2df73cf2ef094358ba162fe0028d14
treea250a41e13676f62bc26ff59919b0cf50aa50014
parent35476c2bae5d59adf5fcfce8c83958ed076264e5
glsl: Add parser/compiler support for std430 interface packing qualifier

v2:
- Fix a missing check in has_layout()

v3:
- Mention shader storage block in error message for layout qualifiers
  (Kristian).

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/ast.h
src/glsl/ast_to_hir.cpp
src/glsl/ast_type.cpp
src/glsl/glsl_parser.yy
src/glsl/glsl_types.h
src/glsl/link_uniform_blocks.cpp
src/mesa/main/mtypes.h