glsl: Allow invariant qualifer in block members in desktop OpenGL.
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 11 Feb 2016 06:15:50 +0000 (07:15 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 12 Feb 2016 06:20:47 +0000 (07:20 +0100)
commit61ceb36ead2e88cce4b4bac63793e94d343a3cc4
tree4eca8eec495141d5f7c2f3ae03fa3104578479fb
parente9644cb1f96ccf7e155af09e90f6a7888f609a2d
glsl: Allow invariant qualifer in block members in desktop OpenGL.

Feedback from Khronos is that 'invariant' should be allowed on block
members for desktop OpenGL. Fix piglit regression added by fe1e89a0:
invariant-qualifier-in-out-block-01.vert

v2:
- Allow it for in/out blocks in OpenGL ES too, so when OES_shader_io_blocks
is supported we don't need to do any change (Timothy)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89330
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/glsl_parser_extras.cpp