glsl: Create builtin function profiles for GLSL 3.00 ES.
authorPaul Berry <stereotype441@gmail.com>
Sat, 4 Aug 2012 22:42:33 +0000 (15:42 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:22 +0000 (12:13 -0800)
commit486f9556548292e776781e85052ec4122180891d
tree991c5312c9aa49888f9b6642fb61a39a1c3d5c82
parent9a69f66353010d3fe8c666bd4adee26139f32efa
glsl: Create builtin function profiles for GLSL 3.00 ES.

Nearly all of the builtin functions in GLSL 3.00 ES are already
implemented in Mesa; this patch enables them.

A few functions are not implemented yet; those have been commented
out, with a FIXME comment to act as a reminder of what still needs to
be implemented.  Here is the complete list: packSnorm2x16,
unpackSnorm2x16, packUnorm2x16, unpackUnorm2x16, packHalf2x16,
unpackHalf2x16.

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/builtins/profiles/300es.frag [new file with mode: 0644]
src/glsl/builtins/profiles/300es.glsl [new file with mode: 0644]
src/glsl/main.cpp