glsl: throw error when using invariant(all) in a fragment shader
authorTapani Pälli <tapani.palli@intel.com>
Tue, 4 Nov 2014 12:20:15 +0000 (14:20 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 3 Dec 2014 06:56:19 +0000 (08:56 +0200)
commit636db35c35d4420a308629cead3287c57458644d
treef0fbc308532f53ed702db3578d50161917558153
parentc914247dcb7c44c25efc335413da2d9d83fe550f
glsl: throw error when using invariant(all) in a fragment shader

Note that some of the GLSL specifications explicitly state this as
compile error, some simply state that 'it is an error'.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/glsl_parser.yy