[915] Fix COS function using same plan as SIN.
authorEric Anholt <eric@anholt.net>
Wed, 6 Feb 2008 23:41:04 +0000 (15:41 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 6 Feb 2008 23:43:05 +0000 (15:43 -0800)
commit700a77fb48f364f85e013cf5fb68c04eb83317e7
treef4e3f7d8aa38887da335c811d7ef8b07f83661d3
parent2551a5ee80ab523006618c79766e2409b2a62d84
[915] Fix COS function using same plan as SIN.

The previous COS function failed badly outside of [-pi/2, pi/2].
src/mesa/drivers/dri/i915/i915_fragprog.c