aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.sources
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-04-07 13:24:45 -0700
committerErico Nunes <[email protected]>2019-05-07 15:25:21 +0000
commite67e4e90b2cac998d6a6ad15735499eddb4fbe5d (patch)
tree8c5ea2257875082287c7fdc44b1e6c72e9e199dc /src/compiler/Makefile.sources
parentb15c46e6bf4cd375ae0b580bd1a0ec139e8dd3ef (diff)
nir: implement lowering for fsin and fcos
Lower sin and cos using Nick's fast sin/cos approximation from https://web.archive.org/web/20180105155939/http://forum.devmaster.net/t/fast-and-accurate-sine-cosine/9648 It's suitable for GLES2, but it throws warnings in dEQP GLES3 precision tests. Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Qiang Yu <[email protected]> Tested-by: Qiang Yu <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r--src/compiler/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources
index c223e17fa13..1b6dc25f1ed 100644
--- a/src/compiler/Makefile.sources
+++ b/src/compiler/Makefile.sources
@@ -269,6 +269,7 @@ NIR_FILES = \
nir/nir_lower_regs_to_ssa.c \
nir/nir_lower_returns.c \
nir/nir_lower_scratch.c \
+ nir/nir_lower_sincos.c \
nir/nir_lower_subgroups.c \
nir/nir_lower_system_values.c \
nir/nir_lower_tex.c \