summaryrefslogtreecommitdiff
path: root/src/glsl/builtins/ir/round
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.