pan/lower_framebuffer: Only call for FS
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 6 Feb 2023 16:34:02 +0000 (11:34 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:46 +0000 (23:53 +0000)
commit8059eb15775d44e995956678b7e38884be03b353
treeca5fa579829a430816a803b708dfd1e630eb47d3
parentee2a5d6bc64b6cdbcac31692bfdf3ee9a878301f
pan/lower_framebuffer: Only call for FS

It doesn't make sense for shader stages other than fragment (and blend which is
fragment-like), assert this.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>
src/panfrost/midgard/midgard_compile.c
src/panfrost/util/pan_lower_framebuffer.c