freedreno: Improve the pi approximations in trig lowering.

When comparing our sin/cos behavior to the closed source driver, I
noticed that we were off by a bit (or, in the case of 1/2pi, 3 bits).


Reviewed-by: Kristian H. Kristensen <>
Reviewed-by: Rob Clark <>
10 jobs for !1004 with freedreno-trig in 7 minutes and 59 seconds (queued for 1 second)
merge request