panfrost: Don't compile empty blend shaders
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 1 Aug 2022 22:57:49 +0000 (18:57 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 21 Aug 2022 19:37:10 +0000 (19:37 +0000)
commit39bf3ea7d3c172ea1b4f9afb3131844bdc144d24
treed0da9bcbdb39acc4f3cada978f8a8f9ba2647142
parentd849d9779a77f05d7acd418516e154a4e9018f40
panfrost: Don't compile empty blend shaders

This is silly. They'll be masked out later, but it's still pointless, and adds
noise when grepping BIFROST_MESA_DEBUG=shaders,internal for "pan_blend" when
debugging why an app is using blend shaders.

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/17841>
src/gallium/drivers/panfrost/pan_context.c