i965/nir/vec4: Implement various rounding functions
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 22:25:02 +0000 (00:25 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commit7553a51a68c0b2030265fe741f9c511b65047914
tree724e6aea831ce5056be0f50e4af0da96c151052c
parent0ce159ec7fbcdf00c488b77f63e565e89ef6cab5
i965/nir/vec4: Implement various rounding functions

Adds NIR ALU operations:
   * nir_op_ftrunc
   * nir_op_fceil
   * nir_op_ffloor
   * nir_op_ffrac
   * nir_op_fround_even

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp