pan/bi: Don't read alpha out of bounds
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 17 Feb 2021 04:38:52 +0000 (23:38 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Feb 2021 21:48:22 +0000 (21:48 +0000)
commit111255512afc8e7e31d6f0f1adcef1308cdfec04
tree27866a33386d71680225e6ecd0e69850f3eec4b1
parent68539ba5eb27db7b7b63819a7b0bdc7624e63927
pan/bi: Don't read alpha out of bounds

RT#0 may not have alpha, do something safe instead of risking issues
with RA later.

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