mesa: Add ARB_ES3_compatibility flag.
authorPaul Berry <stereotype441@gmail.com>
Mon, 6 Aug 2012 17:22:44 +0000 (10:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:21 +0000 (12:13 -0800)
commit9a93ba306878693d9157d204743a82becbd5d53e
treebdc03477bcb42f651a97d2ef456a13445eab64a1
parente0f2ffc3d9dfa1c0492370d4d86a310c56a99e90
mesa: Add ARB_ES3_compatibility flag.

Adding this now makes it easier to develop and test GLES3 features, since we
can do initial development and testing using desktop GL.  Later GLSL compiler
patches check for either ctx->Extensions.ARB_ES3_compatibility or
_mesa_is_gles3 to allow certain features (i.e., "#version 300 es").

[v2, idr]: Just edits to the commit message.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Carl Worth <cworth@cworth.org>
src/glsl/builtins/tools/generate_builtins.py
src/glsl/standalone_scaffolding.cpp
src/mesa/main/extensions.c
src/mesa/main/mtypes.h