nir: implement sin/cos lowering
Mali4x0 GP doesn't have instructions for sin and cos, so we need to lower it to polynomial.
This MR implements lowering and enables it for lima.
Edited by Vasily Khoruzhick
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Mali4x0 GP doesn't have instructions for sin and cos, so we need to lower it to polynomial.
This MR implements lowering and enables it for lima.