panfrost: Stop keying on rt format when using native loads
authorIcecream95 <ixn@keemail.me>
Tue, 7 Jul 2020 03:06:08 +0000 (15:06 +1200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 13:35:11 +0000 (13:35 +0000)
commitd16d1367341540074432a6561f383f4392e1523e
tree97f50ec093b8fd94dc77329a93588787a8bae8e9
parent391ad72812f582578db644ca2a9a0def5845360e
panfrost: Stop keying on rt format when using native loads

Native loads are the same for any format, so we can use the same
shader variant for all framebuffer formats with a native load.

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