nir: Add lowering for nir_op_bitfield_reverse.
authorEric Anholt <eric@anholt.net>
Tue, 8 May 2018 19:47:48 +0000 (12:47 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 6 Jun 2018 20:44:28 +0000 (13:44 -0700)
commit7afa26d4e39c73502ad75b95605197eb52c8d099
tree5c51124c5365856ae40135a7d92931044aa26fb7
parent6e1597c2d9f5e14ffaf1c326985ee3203f995044
nir: Add lowering for nir_op_bitfield_reverse.

This is basically the same as the GLSL lowering path.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_alu.c