pan/midgard: Fix load/store argument sizing
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 27 Feb 2020 14:36:46 +0000 (09:36 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 27 Feb 2020 21:02:35 +0000 (21:02 +0000)
commitfd888d351f60c7dcfaff475c083c9be7bc1be626
tree583ca376ab075a98745a490a5293d4753a42756b
parentee47ce6ac3c74b547c060751f82624205c24ec77
pan/midgard: Fix load/store argument sizing

The swizzles are as-if they were 32-bit regardless of the bitness of the
operation, but the source sizes can and do change depending on the
flags. Account for this in the analysis.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3978>
src/panfrost/midgard/midgard_ra.c
src/panfrost/midgard/mir.c