glsl: enable binding layout qualifier usage for shader storage buffer objects
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 18 Mar 2015 08:02:51 +0000 (09:02 +0100)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commitfa0a86c057ac9bff9b208f93db75c5ce5bd7136f
tree676395573eaa6465632acdbd6f6b2ad1a9d76dfd
parentc717604dc4b5119fa9091241535c3efd1370438c
glsl: enable binding layout qualifier usage for shader storage buffer objects

See GLSL 4.30 spec, section 4.4.5 "Uniform and Shader Storage Block
Layout Qualifiers".

v2:
- Add whitespace in an error message. Delete period '.' at the end of that
error message (Jordan).

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/ast_to_hir.cpp
src/glsl/glsl_parser.yy