diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-08-23 14:52:06 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-26 09:19:48 -0700 |
commit | a044285e25615f2d97636fe3ba47d580c3537bc4 (patch) | |
tree | 54364a47e124422994d0a47ee1bd9d569f9a491d /src/glsl/glcpp | |
parent | b6f15869b324ae64a00d0fe46fa3c8c62c1edb6c (diff) |
glsl: Move built-ins to live beyond the global scope.
Per the GLSL 1.20 specification (presumably a clarification of 1.10).
Also, when creating user functions, make a new ir_function that shadows the
built-in ir_function, rather than adding new signatures. User functions
are supposed to hide built-ins, not overload them.
Fixes piglit tests redeclaration-{04, 12, 14}.vert.
Diffstat (limited to 'src/glsl/glcpp')
0 files changed, 0 insertions, 0 deletions