pan/bi: Ignore swizzle in unwritten component
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 27 Mar 2020 18:40:30 +0000 (14:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000 (01:12 +0000)
commit375a7d0f32ff7ea94da9c975aa1a852d848e254b
treef3e440785960783fad57456ee1219ffe0392f46e
parentaa77d8128e93e2ea637c7fcacb88f628ecdb1239
pan/bi: Ignore swizzle in unwritten component

Otherwise we can trip the assert for no good reason.

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