glsl: Add support for OES_standard_derivatives in GLSL ES.
authorTomeu Vizoso <tomeu@tomeuvizoso.net>
Mon, 16 Jul 2012 18:45:17 +0000 (20:45 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 1 Aug 2012 17:44:44 +0000 (10:44 -0700)
commitd5c918f6adb2f7f72a759607c8f76e7616656c13
tree0035cc8fbd167793da54bf22df450eaa7c804265
parent8c94f6bbd80908fd2cae8e27fe78c429e54a78b8
glsl: Add support for OES_standard_derivatives in GLSL ES.

Previously, we advertised the extension but the builtin functions
were enabled only for GLSL and not for ES.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52003

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtins/profiles/OES_standard_derivatives.frag [new file with mode: 0644]
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h