i965/nir/vec4: Implement bit operations
authorAntia Puentes <apuentes@igalia.com>
Wed, 17 Jun 2015 07:44:25 +0000 (09:44 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:49 +0000 (09:40 -0700)
commit8e1e6facbf828258a9a8ca09da846d1baa21d984
tree69394e1bd27a884c7018faa90492baf81185a9ac
parent0e874985ce50d902535e1eb766bd252c921b5d8f
i965/nir/vec4: Implement bit operations

Same implementation than the IR case.

Adds NIR ALU operations:
   * nir_op_bitfield_reverse
   * nir_op_bit_count
   * nir_op_ufind_msb
   * nir_op_ifind_msb
   * nir_op_find_lsb
   * nir_op_ubitfield_extract
   * nir_op_ibitfield_extract
   * nir_op_bfm
   * nir_op_bfi
   * nir_op_bitfield_insert

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