r300-gallium: Add half-right COS and SIN.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 18 May 2009 04:10:07 +0000 (21:10 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 18 May 2009 04:10:07 +0000 (21:10 -0700)
commit06a7b798f2261a7faaede71946e4489979840713
tree89bc4ab45aa9a1c2b425ba30674880f1f5910364
parent572d7d1358b60c93ec4f1f28151bb0e708a9df17
r300-gallium: Add half-right COS and SIN.

HW trig does a premultiply by 2pi, where Mesa does another premultiply by pi.
This is a problem.
src/gallium/drivers/r300/r300_state_shader.c