OSDN Git Service

glsl: Add built-in functions for GLSL 1.50.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 19 Mar 2013 01:57:28 +0000 (18:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Mar 2013 17:38:40 +0000 (10:38 -0700)
commit095c3755ee4f0c3c8f71467345ae7c0e92c9ca6a
treee39ffc021eaa34ecec090775009463af19850aae
parentbcdda04349e1f2b32fb2eca32c6589858c1e38e6
glsl: Add built-in functions for GLSL 1.50.

This makes basic built-in functions work in GLSL 1.50.  It supports
everything except the new Geometry Shader functions.

The new 150.glsl file is 140.glsl plus ARB_texture_multisample.glsl;
150.frag is identical to 140.frag except for the #version bump.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/builtins/profiles/150.frag [new file with mode: 0644]
src/glsl/builtins/profiles/150.glsl [new file with mode: 0644]