nir/algebraic: Add more lowering
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Jan 2016 23:30:38 +0000 (15:30 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 8 Jan 2016 00:14:38 +0000 (16:14 -0800)
commitd00abcc28376116554799d403211367470dff200
treea52ab151bcb382ec46e81f9639bfba9e75a50289
parentb0d4ee520e20444172d088d11260e656fc1cf12d
nir/algebraic: Add more lowering

This commit adds lowering options for the following opcodes:

 - nir_op_fmod
 - nir_op_bitfield_insert
 - nir_op_uadd_carry
 - nir_op_usub_borrow

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/nir/nir.h
src/glsl/nir/nir_opt_algebraic.py