pan/bi: Use the correct size for UBO loads
authorIcecream95 <ixn@disroot.org>
Thu, 11 Feb 2021 10:51:10 +0000 (23:51 +1300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Feb 2021 13:14:30 +0000 (13:14 +0000)
commit9bb376bbdb7ad1f49737cb9f736a1bf68da94eda
tree07e0f722cf0046665d63ae61bf458f786d208aeb
parent596fb88c01d5eec8c9d06c6f1f691650c0754505
pan/bi: Use the correct size for UBO loads

Multiply by the destination bit size to get the number of bits to
load instead of assuming 32 bits.

Fixes: 2e57684d2d3 ("pan/bi: Implement load_ubo with the builder")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9071>
src/panfrost/bifrost/bifrost_compile.c