glsl: Fix up GL_ARB_compute_shader for GLSL ES 3.1
authorMarta Lofstedt <marta.lofstedt@intel.com>
Mon, 10 Aug 2015 11:04:42 +0000 (13:04 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 19 Aug 2015 10:41:43 +0000 (13:41 +0300)
commit2438e2fe326d7cb9f9d003f6edf77821e41ef22c
tree54ebe5938a690bdc890a04932e762f5729208ae7
parent3df7856b4625f21ebf5465bad2556583b808c8bf
glsl: Fix up GL_ARB_compute_shader for GLSL ES 3.1

GL_ARB_compute_shader is limited for GLSL version 430.
This enables for GLSL ES version 310.

V2: Updated error string to also include GLSL 3.10

Signed-off-by: Marta Lofstedt <marta.lofstedt@linux.intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.h