pan/bi: Respect shift when printing immediates
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sat, 21 Mar 2020 22:42:58 +0000 (18:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 22 Mar 2020 03:32:35 +0000 (03:32 +0000)
commit11bccb0564d9e24e50238fb257dd6f724ec31712
treefd737417d35ffb1969e935d863cbd6e1db6726e7
parent3f786ed10b14ca054e299679af2bfbe8a2dcd5c3
pan/bi: Respect shift when printing immediates

We allow packing multiple immediates in, but we were missing this in the
print.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
src/panfrost/bifrost/bi_print.c
src/panfrost/bifrost/bir.c
src/panfrost/bifrost/compiler.h