i965: Use LZD to implement nir_op_find_lsb on Gen < 7
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 22 Jun 2016 20:12:26 +0000 (13:12 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 19 Jul 2016 19:19:29 +0000 (12:19 -0700)
commit3e7cebc8da5c9f16fa1b9a25ea72b8d31c86a440
tree79342916637d30f355a0135fde4b21f8354512f2
parentc2019c6c261d5c46a4e5d3edc88836bcedf75f30
i965: Use LZD to implement nir_op_find_lsb on Gen < 7

v2: Rebase on changes to previous two patches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp