nir: Add lowering for nir_op_bit_count.
authorEric Anholt <eric@anholt.net>
Tue, 8 May 2018 20:04:37 +0000 (13:04 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 6 Jun 2018 20:44:28 +0000 (13:44 -0700)
commit73953b071365ca64db353023fff78a06b20503a3
treebec8d88ada08f12ae509f6ac00c6dc69a60b1f99
parent7afa26d4e39c73502ad75b95605197eb52c8d099
nir: Add lowering for nir_op_bit_count.

This is basically the same as the GLSL lowering path.

v2: Fix typo in the link

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