svga: implement TGSI_OPCODE_ROUND
authorBrian Paul <brianp@vmware.com>
Mon, 2 Jul 2012 23:03:50 +0000 (17:03 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 5 Jul 2012 14:07:03 +0000 (08:07 -0600)
commit1ab37a2284aa26d797d6ffb955a1e0bfb7aa67d3
tree19e80a82b5392a3eed8777554e3efa53cc7132b4
parentd594f72e1615cda47b838046df4590316da3d1a9
svga: implement TGSI_OPCODE_ROUND

ROUND and TRUNC are implemented with one function to reduce code duplication.
Note: ROUND isn't actually used yet, but probably will be soon.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_tgsi_insn.c