i965/nir/vec4: Implement int<->float format conversion ops
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 21:04:32 +0000 (23:04 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commit4f39b547da4f9949d1b1f9f0df07d08951f0358d
treef3f89b53d994f7a381dcaf254bb31edee4e618b5
parente4f02f47e70d384531ac68e6d33a62fdcdbd1f28
i965/nir/vec4: Implement int<->float format conversion ops

Adds NIR ALU operations:
   * nir_op_f2i
   * nir_op_f2u
   * nir_op_i2f
   * nir_op_u2f

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