i965/nir/vec4: Implement carry/borrow for addition/subtraction
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 22:22:14 +0000 (00:22 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commit0ce159ec7fbcdf00c488b77f63e565e89ef6cab5
treee7f05811e7d97acead4852b14298965e8863ced7
parent62cef7b0723ad6ca49ed06a6899a5852e41359e8
i965/nir/vec4: Implement carry/borrow for addition/subtraction

Adds NIR ALU operations:
   * nir_op_uadd_carry
   * nir_op_usub_borrow

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