nir: replace lower_sincos with algebraic opt
authorJonathan Marek <jonathan@marek.ca>
Wed, 8 May 2019 14:26:49 +0000 (10:26 -0400)
committerJonathan Marek <jonathan@marek.ca>
Wed, 24 Jul 2019 21:36:21 +0000 (17:36 -0400)
commitbc3b6168bac39a16326c730a9d0ae97b45c7df23
tree58816c0efaa72880f75d457c725ff8b417ecf188
parent5a4e71c082886810504ecfa329fb57050acc623f
nir: replace lower_sincos with algebraic opt

This version has less ops for the same precision.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Matt Turner <mattst88@gmail.com>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_sincos.c [deleted file]
src/compiler/nir/nir_opt_algebraic.py
src/gallium/drivers/lima/lima_program.c