i965/nir/vec4: Implement "bool<->int,float" format conversion
authorAntia Puentes <apuentes@igalia.com>
Wed, 17 Jun 2015 07:21:30 +0000 (09:21 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:49 +0000 (09:40 -0700)
commitfa4731f4a53aa21e53a62f42f3afdc19b0ce4c8e
tree11fb0930b1cc5c6afbab743b3d4ce94cb2f6ed63
parentf14199a8fb802f6672d559fa958a5ee84e3e13f1
i965/nir/vec4: Implement "bool<->int,float" format conversion

Used the same implementation than the vec4_visitor NIR.

Adds NIR ALU operations:
   * nir_op_b2i
   * nir_op_b2f
   * nir_op_f2b
   * nir_op_i2b

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