summaryrefslogtreecommitdiff
path: root/src/glsl/builtins/tools
AgeCommit message (Collapse)Author
2010-08-24glsl: Include main/core.h.Chia-I Wu
Make glsl include only main/core.h from core mesa.
2010-08-23generate_builtins.py: Generate output in sorted order.Kenneth Graunke
2010-08-21generate_builtins.py: Remove unused import sys.Vinson Lee
2010-08-18generate_builtins.py: Clean up generated output a bit.Kenneth Graunke
This should make it easier to diff the output, clean up some of the insane whitespace, and make the strings a bit smaller. We'll probably need to split up the prototype strings eventually, but for now, this gets it under the 65K mark.
2010-08-13glsl2: Rework builtin function generation.Kenneth Graunke
Each language version/extension and target now has a "profile" containing all of the available builtin function prototypes. These are written in GLSL, and come directly out of the GLSL spec (except for expanding genType). A new builtins/ir/ folder contains the hand-written IR for each builtin, regardless of what version includes it. Only those definitions that have prototypes in the profile will be included. The autogenerated IR for texture builtins is no longer written to disk, so there's no longer any confusion as to what's hand-written or generated. All scripts are now in python instead of perl.
2010-08-12glsl2: Use Elements from main/compiler.h instead of open-codingIan Romanick
2010-08-10texture_builtins.py: Remove useless comments.Kenneth Graunke
2010-08-09texture_builtins.py: Fix cut and paste errors in function names.Kenneth Graunke
Some signatures were being generated with the wrong function name.
2010-07-28glsl2: Fix outerProduct builtin.Kenneth Graunke
The type signatures were completely backwards.
2010-07-21linker: Link built-in functions instead of including them in every shaderIan Romanick
This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader.
2010-07-19glsl2: Use Elements macroIan Romanick
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt