freedreno/ir3: fix bit_count
authorRob Clark <robdclark@gmail.com>
Wed, 20 Mar 2019 12:53:44 +0000 (08:53 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commit2e01c534f4c7909dd2ca766bc0086b3355ccf321
tree579dc0f5d92f263d42997f0de93580d730c892c2
parent3d8349048bfb01f1e4240403c38c608d26aeb997
freedreno/ir3: fix bit_count

Seems like it can only work 16b at a time.  Fixes
dEQP-GLES31.functional.shaders.builtin_functions.integer.bitcount.*

TODO need to check if this limitation applies to a3xx as well.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c