nir: add lower_ftrunc
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 12 Apr 2019 08:12:27 +0000 (10:12 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Sat, 13 Apr 2019 17:54:48 +0000 (17:54 +0000)
commitb6bed115a5efb281b450c749418646b4ea2e7db7
tree815a54146740b288f7c93db9d5f1c2b73c092e8c
parente538dd67dee1ae00d7d7dcc232508058e68f4ce0
nir: add lower_ftrunc

Port TGSI TRUNC lowering to nir

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_algebraic.py