glsl: fix 'shared' layout qualifier related regressions
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 12 Nov 2015 15:14:07 +0000 (16:14 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 13 Nov 2015 07:04:49 +0000 (08:04 +0100)
commit5f004fd1970338c9a1db51b421ae0f6f687661d9
treefb0cc7e5b636fd7bb698fb7aefafe3e628a11747
parent8610cd6b8c71b92a8e68603c030961e36faa0ef4
glsl: fix 'shared' layout qualifier related regressions

Commit 8b28b35 added 'shared' as a keyword for compute shaders
but it broke the existing 'shared' layout qualifier support for
uniform and shader storage blocks.

This patch fixes 578 dEQP-GLES31.functional.ssbo.* tests.

v2:
- Move SHARED to interface_block_layout_qualifier (Timothy)
- Don't remove "shared" case insensitive check (Timothy)
- Remove the clearing of shared_storage flag (Timothy)

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/glsl_parser.yy