nir/lower_double_ops: lower ceil()
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 4 Jan 2016 15:10:11 +0000 (16:10 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 28 Apr 2016 10:01:36 +0000 (12:01 +0200)
commit126a1ac03f7c7d7cd01629c91725ffced06147a9
treeb5dacc0439d1f5bc3320aad993116ae0d8e5f1ad
parent29541ec53175120f916a0ab74e5d82308aa9ef47
nir/lower_double_ops: lower ceil()

At least i965 hardware does not have native support for ceil on doubles.

v2 (Sam):
   - Improve the lowering pass to remove one bcsel (Jason).

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_double_ops.c