glsl: Parse shared keyword for compute shader variables
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 15 Mar 2015 20:53:06 +0000 (13:53 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Nov 2015 01:21:12 +0000 (17:21 -0800)
commit8b28b3553139c19efed6d54d0a21315867371864
treec825b8c3e81f9f7d584d6f3a23fbf2c1b5c9ca8c
parenta4a46fe3fa566b2918f7323e7f0eede17f118f03
glsl: Parse shared keyword for compute shader variables

v2:
 * Move shared parsing under storage qualifiers (tarceri)
 * Fail to compile if shared is used in non-compute shader (tarceri)
 * Use separate shared_storage bit for shared variables (tarceri)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/ast.h
src/glsl/ast_to_hir.cpp
src/glsl/ast_type.cpp
src/glsl/glsl_lexer.ll
src/glsl/glsl_parser.yy