summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/round
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add '.ir' extension to builtin IR filesPaul Berry2011-10-311-21/+0
| | | | | | | | This patch adds the extension '.ir' to all the files in src/glsl/builtins/ir/, and changes generate_builtins.py so that it no longer globs on '*' to find the files to build. This prevents spurious files (such as EMACS' infamous *~ backup files) from breaking the build.
* glsl: Add support for the 1.30 round() built-in.Kenneth Graunke2010-10-141-0/+21
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.