panfrost: Extend fetched framebuffer results
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 10 Jul 2020 17:54:06 +0000 (13:54 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 13:35:11 +0000 (13:35 +0000)
commit317be5a16dff5e3f39ba7426f53f0a9d35aa4442
tree3115d0661cd73669443f3c7ae6e95da5f758abec
parentd94584c5a6647b15872244cbd1babb3077318c21
panfrost: Extend fetched framebuffer results

So NIR doesn't complain about invalid swizzles when reading a format
with less than 4 channels.

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