nir: add fceil lowering
authorJonathan Marek <jonathan@marek.ca>
Mon, 12 Nov 2018 17:49:32 +0000 (12:49 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 27 Nov 2018 20:44:02 +0000 (15:44 -0500)
commit3e7186d4722d009200781c9fb3b6141b064aeabb
tree20565501336ca64eb28046f2f32b5817307d4cd2
parent11593f904168180510fe73c98d13ff7f00be4ec3
nir: add fceil lowering

lowers ceil(x) as -floor(-x)

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py