pan/mdg: Remove writeout case from bytemask_of_read_components
authorIcecream95 <ixn@keemail.me>
Sat, 6 Jun 2020 02:42:18 +0000 (14:42 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 13:54:03 +0000 (13:54 +0000)
commit2a5504fb925ab15afac5f84ada58a1e62c085765
treee5d5a893b41f4fc67b425a6ca7871516ddd17b7c
parent8f36904bae59429e022c4585b30d552a6a886ac5
pan/mdg: Remove writeout case from bytemask_of_read_components

By setting the swizzle for the fragment color, and setting qmask to ~0
for branches, the special case for writeout branches can be removed
from mir_bytemask_of_read_components_index.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/mir.c