glsl: warning: pragma `invariant(all)' not supported in GLSL ES 1.00
authorOliver McFadden <oliver.mcfadden@linux.intel.com>
Thu, 5 Jul 2012 08:22:06 +0000 (11:22 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Thu, 26 Jul 2012 10:09:15 +0000 (13:09 +0300)
commite72f20641a6ea7875b6021aac13e778ada3b3d50
treec99592786d343b3fe5cc289be1eadee576f2b999
parent16cba717c21f9f6a23d4934c5df898a4b9ce7fd1
glsl: warning: pragma `invariant(all)' not supported in GLSL ES 1.00

The OpenGL(R) ES Shading Language
Version 1.00 Revision 17 (12 May, 2009)

> 4.6.1 The Invariant Qualifier
> ... To force all output variables to be invariant, use the pragma
> #pragma STDGL invariant(all)

Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/glsl_parser.yy