glsl2: Fix builtin prototypes defined in multiple glsl/builtins/* files
authorEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 21:57:55 +0000 (14:57 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jul 2010 22:03:40 +0000 (15:03 -0700)
commit1bef4c8c4bc11e7f4150500def6e6a4291ceb587
tree6b349cdee0e23df13affdb99c52c4ea48dce8dc0
parent47c90b144729e3edf3b5cbf5b260c1c46e429879
glsl2: Fix builtin prototypes defined in multiple glsl/builtins/* files

If we put the protos in separate ir_functions, they wouldn't be found
at lookup time for linking.

Fixes:
glsl-fs-texture2d-bias
glsl-fs-texture2dproj-bias
glsl-fs-texture2dproj-bias-2
glsl-lod-bias
glsl1-texture2D(), computed coordinate
src/glsl/ir_import_prototypes.cpp