panfrost: Fix blit shader names

first should be initialized to true if we want to get rid of the leading
';' in the shader name.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10548>
This commit is contained in:
Boris Brezillon 2021-04-28 12:34:10 +02:00 committed by Marge Bot
parent e2b8f3d036
commit bf0f96f893

View file

@ -451,7 +451,7 @@ pan_blitter_get_blit_shader(struct panfrost_device *dev,
unsigned sig_offset = 0;
char sig[256];
bool first = false;
bool first = true;
for (unsigned i = 0; i < ARRAY_SIZE(key->surfaces); i++) {
const char *type_str;
if (key->surfaces[i].type == nir_type_invalid)