vc4: Add support for nir_iabs.
authorEric Anholt <eric@anholt.net>
Wed, 1 Apr 2015 22:19:38 +0000 (15:19 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 2 Apr 2015 17:32:35 +0000 (10:32 -0700)
commita9152376b49d8c56debb8023cc6e93d9c071d293
tree9d750cef5480d7ed4a5e9b05392ba904e6233b75
parente50cf5faa5709eaeea1da8759f13b140b4b3cea1
vc4: Add support for nir_iabs.

Tested using the GLSL 1.30 tests for integer abs().  Not currently used,
but it was one of the new opcodes used by robclark's idiv lowering.
src/gallium/drivers/vc4/vc4_program.c