summaryrefslogtreecommitdiff
path: root/src/glsl/builtins/profiles
AgeCommit message (Collapse)Author
2010-10-14glsl: Add support for the 1.30 round() built-in.Kenneth Graunke
This implements round() via the ir_unop_round_even opcode, rather than adding a new opcode. We may wish to add one in the future, since it might enable a small performance increase on some hardware, but for now, this should suffice.
2010-10-14glsl: Add front-end support for GLSL 1.30's roundEven built-in.Kenneth Graunke
Implemented using the op-code introduced in the previous commit.
2010-10-14glsl: Add front-end support for the "trunc" built-in.Kenneth Graunke
2010-09-07glsl: Add built-in function profiles for GLSL ES 1.00.Kenneth Graunke
2010-08-18glsl/builtins: Add forgotten hyperbolic trig builtins in 1.30 profiles.Kenneth Graunke
2010-08-17glsl2: Fix cut and paste error in EXT_texture_array builtins.Kenneth Graunke
Fixes fd.o bug #29629.
2010-08-16glsl2: Add builtins profile for GLSL 1.30.Kenneth Graunke
Many functions are currently wrapped with #if 0 since we haven't implemented them yet.
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.