glsl: Make {Min,Max}ProgramTexelOffset available to compiler.
authorPaul Berry <stereotype441@gmail.com>
Sat, 4 Aug 2012 17:00:20 +0000 (10:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:22 +0000 (12:13 -0800)
commit5e10a5c5e46e8fe91d206dee360ba12b7dc916b3
tree4cd73e94f126321643c03d99defdb3d094d5f18e
parent15ba2a582539a3a2bd624fb2ae7bac6a4cc8589a
glsl: Make {Min,Max}ProgramTexelOffset available to compiler.

These constants need to be made available to shaders in GLSL 3.00 ES.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Carl Worth <cworth@cworth.org>
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h