pan/lcra: Allow per-variable bounds to be set
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 11 May 2020 19:03:58 +0000 (15:03 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 17:49:14 +0000 (17:49 +0000)
commit51582e54541a35b4eddd7dab98d8f676bcc46c53
treeb820e70c351cb0b283e73c21f2960421922deed8
parent0737080ba611f6703a2cec5f4aa3389fc42338a4
pan/lcra: Allow per-variable bounds to be set

Different variables need to respect different bounds. In general,
16-bytes is okay, but for 4-channel 16-bit vectors, we can't cross 8
byte boundaries (else the swizzles will not be packable after), so we
update LCRA to allow this more general form.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
src/panfrost/bifrost/bi_ra.c
src/panfrost/midgard/midgard_ra.c
src/panfrost/util/lcra.c
src/panfrost/util/lcra.h