agx: Implement fsin/fcos
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 16 Apr 2021 02:51:47 +0000 (22:51 -0400)
committerAlyssa Rosenzweig <none>
Sun, 2 May 2021 21:41:14 +0000 (17:41 -0400)
commit1f77aa95ec8a349ad42dad25e2946bc514c8c21d
tree8a5afebe255d346209686ab7a1f0061f1f42cf0b
parentb5a3845f9a47db2faa5af0cf1c38153629b9efb2
agx: Implement fsin/fcos

First, we lower to fsin_agx and some ALU in NIR. Then, we implement
fsin_agx with the underlying transcental ops.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
src/asahi/compiler/agx_compile.c